[OS X TeX] Font problem

Jens Nöckel noeckel at uoregon.edu
Sun Dec 18 11:39:26 EST 2005


On Dec 18, 2005, at 1:40 AM, Axel E. Retif wrote:

> On Dec 17, 2005, at 8:53 PM, George Gratzer wrote:
>
>> P.S. If I do this with Textures, everything is perfect.
>>
>> GG
>>
>> On Dec 17, 2005, at 6:55 PM, Peter Dyballa wrote:
>>
>>> Am 18.12.2005 um 01:39 schrieb George Gratzer:
>>>
>>>> I opened the pdf file with Illustrator and it complained that the 
>>>> Nimbus fonts are used so it makes a substitution, messing up the 
>>>> formulas....
>>>
>>> The LOG file does not mention any Nimbus fonts (you can see that too 
>>> at its end). Can programmes lie? Anyway, I'm going to bed now!
>>>
>>> --
>>> Greetings
>>>
>>>   Pete
>
>
> Anayway, I have typeset your amsart file, opened it with Acrobat (6) 
> and Illustrator (11), and there are no Times or Nimbus fonts, just 
> Computer Modern and AMS fonts. They will get substituted, though, 
> unless you have CM fonts were Illustrator can find them 
> (~/Library/fonts/, for example*). I think the best are the 
> TeX-Illustrator fonts, which you can find in
>
> http://www.esm.psu.edu/mac-tex/editorsX.shtml
>
> Nevertheless, even with these, \mid and \ldots come out wrong in 
> Illustrator.
>
> Best regards,
>
> Axel
>
> *After installing the fonts, you have to log out and log back in or 
> restart.
>

Yes, those CM fonts don't work too well if you want to read a complete 
document into Illustrator. Since Textures seemed to work for George, 
I'm guessing that it uses the steps latex -> dvipdf instead of 
pdflatex. For use with Illustrator, I found latex and dvipdf or dvips 
give better results. I usually only care about reading short LaTeX 
output into Illustrator, not whole articles.

With a large document, there are so many different fonts mixed together 
that it is perhaps best to do something entirely different before 
reading it into Illustrator: here is what I do with Mathematica 
graphics, and it also works with pdflatex output: assume you have 
generated a file Myfile.pdf, then run the command

gs -sDEVICE=pswrite -dNOCACHE -sOutputFile=nofont-Myfile.ps -q -dbatch 
-dNOPAUSE Myfile.pdf -c quit

It strips away the included fonts and puts the result in a file 
nofont-Myfile.ps which you can then open in Illustrator. Illustrator 
then converts all your exotic (and not-so-exotic) text into vector 
outlines which makes everything look just as nice as the original.
Just as with CM fonts, you cannot really edit the text in Illustratotor 
using the type tool, but everything is there as graphics objects. 
Depending on what you plan to do, this may be an acceptable tradeoff 
that avoids all those font headaches.

Regards,

Jens

------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list