[OS X TeX] missing ligatures from included pdf

Ross Moore ross.moore at mq.edu.au
Thu Oct 7 23:12:19 CEST 2010


Hi Alan,

On 08/10/2010, at 4:42 AM, Alan Munn wrote:

> I don't have OG on my machine, so I can't test this directly.  But LM Sans simply doesn't have ligatures (at least not ff, fi, fl etc.).  

Maybe you have a very old version of LM, or something.
The attached images of a FontBook page clearly show that
these ligatures exist as characters in the font:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-10-08 at 7.54.26 AM.png
Type: image/png
Size: 90420 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20101008/33ace535/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-10-08 at 7.53.17 AM.png
Type: image/png
Size: 91044 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20101008/33ace535/attachment-0001.png>
-------------- next part --------------



> On the other hand, LM Roman definitely has the ligatures.  If I create a document using TextEdit with LM Roman as the font, and then clip it with Preview and insert as PDF with \includegraphics, the ligatures show up correctly.  So I suspect that OG is faking the ligatures, and therefore it never really uses the actual ligature glyphs.  This would explain why it show ligatures with the sans version of the font, even though there are no ligature glyphs in the font.

Note that the position of the ligatures is not standard,
and not the same as with CMR.

LM Roman has the ligatures in a *different* position,
as in the 3rd attached image.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-10-08 at 8.06.11 AM.png
Type: image/png
Size: 135270 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20101008/33ace535/attachment-0002.png>
-------------- next part --------------



So to work with these in LaTeX requires loading a package, 
or encoding file, which needs to handle the roman and sans
faces differently. Maybe something is wrong at that level, 
if you can create documents with missing ligatures via LaTeX. 


Since Jan Hegewald made his PDF without using LaTeX,
he would have just inserted the appropriate characters
by selecting from a palette or list. The issue of
encodings would not have arisen that way.

> 
> Can you try creating a snippet of text in the two fonts in TextEdit to see if you get the same result?
> 
> Alan

Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





More information about the macostex-archives mailing list