Salut Jörg, On 18.03.08, Joerg Lehmann wrote: > On 17.03.08, Michael SCHINDLER wrote: > > I have found yet another problem in the new font system. It appears > > with the combination > > > > Utopia fonts (fourier package) -- several pages in a document > > I didn't have time to have a closer look but I checked whether > it works with the PS writer - and it does so.
It appears to work with PS -- but it does not. The python run does not fail with an error message such as in PDF, but the resulting file does not display properly. A look into the file shows that also the wrong symbols are printed: a --> "\000" t, h --> "\000", "\001" This clearly shows that the problem is similar. The failure is, I think a design problem in the handling of the characters which are collected in the font. The font knows precisely about its characters, but when the encoding is generated, this is done in the "context" of the processPDF methods. The context, however, is not inter-pagial and therefore does not know about the glyphs which came on other pages. I therefore think, that the context is wrong place to put the encodings. It might be more apt in the TeXfont. > So my first guess would be that there is a problem with the resource > merging in the PDF writer. Maybe you can locate the bug by comparing the > PS and PDF logic in pyx/font/encoding.py and/or pyx/font/font.py. > > Otherwise, I'll have a look during the Easter holidays. holidays?? how nice :-( Michael ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ PyX-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-devel
