Salut André and Jörg,

there seems to be a problem with latin-modern font inclusion in the
current SVN trunk of PyX (Rev 3016). The following minimal script
produces a pdf which is refused by our printer (Lexmark E450dn) with
the error message

  PDF Error 8: PostScript Error: INVALIDFONT

I tried to create a similar file using pdflatex, and found a
difference within the font "LMRoman10-Regular". PyX changed the lines

  \UniqueID 0 def
  %/FontBBox{-430 -290 1417 1127}readonly def

into

  %/FontBBox{-430 -290 1417 1127}readonly def


the pb can be cured by changing the definition of uniqueidpattern in
the file pyx/font/t1file.py to include the percent symbol, but I do
not know whether this is the right thing to do. Please have a look at
it...

uniqueidpattern = re.compile("%?/UniqueID\s+\d+\s+def\s+")

Best greetings from Paris, and a happy new year!
  Michael


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to