![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Bugs item #729, was opened at 2007-02-02 14:33 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=729&group_id=106 Category: Fonts Group: v1.40.1
Status: Closed Resolution: Fixed Priority: 5 Submitted By: Taco Hoekwater (taco) Assigned to: Hartmut Henkel (hhenkel) Summary: problem with pdftex-1.40.1 and Gentium ligatures
Initial Comment: Hi, Johan Sandblom ran into a problem with Gentium that seems to be related to pdftex's handling of cff fonts. Have a look the attached example. When you view the generated pdf document in Acrobat, there is no problem, but when you print it (at least in ar7), the Gentium c haracters are not visible at all in the output. Included is the output of acroread 7.0.8's print-to-file on linux . The really weird part is that removing the chancery font fixes the problem with the Gentium. /me doesn't get it, I hope someone else understand what happens. Taco ----------------------------------------------------------------------
Comment By: Martin Schröder (oneiros) Date: 2007-02-04 20:44
Message: Logged In: YES user_id=421 A patch for this will be included in the next version (1.40.3). ---------------------------------------------------------------------- Comment By: Taco Hoekwater (taco) Date: 2007-02-04 15:36 Message: Logged In: YES user_id=1608 Hi Reinhart, That AR was confused was the point, not a side-effect. ;-) Thanh discovered and fixed a bug, and that fix will no doubt be included in 1.40.3 eventually. Thanhs comment was:
bug 729 seems to be caused by an error in the new font writting stuff. Actually a TrueType font should not have an Enoding entry in its font dictionary at all. Indeed commenting out the Encoding entry for Gentinum made the problem gone. Fixing the problem should be easy.
The fix is to start the if statement on line 507 of writefont.c with an extra test: if (!is_truetype(fo->fd->fm) && .... Best wishes, Taco ---------------------------------------------------------------------- Comment By: Reinhard Kotucha (reinhard) Date: 2007-02-04 15:23 Message: Logged In: YES user_id=4195 It seems that Gentium is empty:
From example-ptf-7.0.8.ps:
[...] %ADOBeginSubsetFont: QCTAAA+Gentium Initial %ADOt1write: (1.0.24) %%Copyright: Copyright 2007 Adobe System Incorporated. All rights reserved. [...] /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for def [...] dup /CharStrings 1 dict dup begin /.notdef <1C60D8A8C9B88EAF6D> |- end put [...] Please try with pdftops, it seems that AR is a bit confused. Regards, Reinhard ---------------------------------------------------------------------- Comment By: Reinhard Kotucha (reinhard) Date: 2007-02-02 20:20 Message: Logged In: YES user_id=4195 It seems that Gentium is empty:
From example-ptf-7.0.8.ps:
[...] %ADOBeginSubsetFont: QCTAAA+Gentium Initial %ADOt1write: (1.0.24) %%Copyright: Copyright 2007 Adobe System Incorporated. All rights reserved. [...] /Encoding 256 array 0 1 255 {1 index exch /.notdef put} for def [...] dup /CharStrings 1 dict dup begin /.notdef <1C60D8A8C9B88EAF6D> |- end put [...] Please try with pdftops, it seems that AR is a bit confused. Regards, Reinhard ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2007-02-02 15:30 Message: Logged In: YES user_id=421 Further observations: kpdf and xpdf show the Gentium characters, gs 8.54 doesn't. A print to file of kpdf doesn't have the "fi", only "ll 1". ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=729&group_id=106