Article View: adobe.scripting.indesign
Article #18726Re: script converting characters
From: Olav Kvern
Date: Thu, 27 Feb 2003 09:59
Date: Thu, 27 Feb 2003 09:59
17 lines
1541 bytes
1541 bytes
knottulf-- Are you sure that the characters don't exist in the fonts you need to use? If they don't, is it possible that you could switch to an OpenType font that does have them? If not, you'd use a combination of find/change scripting and text scripting to do what you want. Your script would: 1. Use search to get a list of the occurrences of the character 2. Replace the character with the two characters (you'd iterate backwards through the list to avoid invalidating the text references in the list). 3. Apply kerning to the first character in the replacement pair. This would work, but using an OpenType font to switch to the real Unicode character would be better. Thanks, Ole
Technical Details
Message-ID:
<1de80cf1.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de80cf1.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,d1f95967e7668f42 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-02-27 02:08:03 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: script converting characters Message-ID: <1de80cf1.0@WebX.la2eafNXanI> Date: Thu, 27 Feb 2003 01:59:20 -0800 References: <1de80cf1.-1@WebX.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit