[OS X TeX] TeX and Illustrator Fonts -- CMR Works and Lucida doesn't

Maarten Sneep maarten.sneep at xs4all.nl
Thu May 5 08:09:35 EDT 2005


On May 5, 2005, at 3:42 AM, Gordon Sick wrote:

> Further to my earlier post, I've been pursuing the issue of being  
> able to edit pdfs created by PDFLatex on Mac OS X with Illustrator  
> CS1. I had earlier thought that this wouldn't work at all, because  
> Illustrator won't recognize the fonts, but I now find that I  
> Illustrator WILL correctly handle the default CMR fonts with no  
> problem but NOT the Lucida Y&Y fonts.
>

I noticed that LaTeXiT includes the fonts in ansi encoding. I thought  
you reported that LaTeXiT produced output that could be read by  
Illustrator. Since LaTeXiT has a bug that prevents a change of the  
preamble (at least I couldn't get it to work), I have no idea if  
there is something LaTeXiT does to enable this type of use.

> I've checked my system, and I don't have the Tex-Illustrator  
> version of CMR on the system. When I open the CMR text (created  
> with TeXShop 2 defaults) in Illustrator CS, I can see the CMR fonts  
> and even select the text line and add text. I know it is the Tex  
> version of CMR, because when I type a space, it gives me a ? mark  
> rather than a space.
>

[snip]

> Does anybody have any suggestions as to where I should look to  
> figure out how to get the Y&Y Lucida fonts being treated the same  
> as the CMR fonts in Illustrator?

I have no idea to get them treated the same. I _think_ it has to do  
with the encoding, which is tricky, no matter how you look at it. Do  
you need to _edit_ the text in Illustrator, or do you merely need to  
_use_ the resulting image? If it is the latter, you can remove the  
fonts (and replace them by their outlines) and include the result in  
Illustrator. The following call to GhostScript should do the trick:

gs -dNOPAUSE -dNOCACHE -dBATCH -sDEVICE=pdfwrite \
         -sOutputFile=your-output-file.pdf \
         your-source-file.pdf

The -dNOCACHE should remove all fonts, and simply draw the outlines  
instead. There is no (easy) way to edit the resulting text, but at  
the very least you can include the result in Illustrator.

HTMH,

Maarten
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list