Hallo!

I have a program that converts a bulk of documents from ODT to PDF, using 
DocumentConverter.py

When I use Export as PDF from the GUI (default settings), this is what I get:

$ pdffonts exported.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
BAAAAA+ApexNew-Book                  TrueType          yes yes yes     20  0
CAAAAA+ApexNew-BookItalic            TrueType          yes yes yes     25  0
DAAAAA+DejaVuSans                    TrueType          yes yes yes     15  0

and the file is perfect.


And this is the output from DocumentConverter.py, under Ubuntu 10.04 (Build: 
9483, ooo-build 3.2.0.10, Debian 1:3.2.0-7ubuntu4, Fri Apr 23):

$ pdffonts converted.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
BAAAAA+DejaVuSans                    TrueType          yes yes yes     20  0
CAAAAA+ApexNew-Book                  TrueType          yes yes yes     30  0
URWChanceryL-MediItal                Type 1            yes no  yes     45  0
EAAAAA+ApexNew-BookItalic            TrueType          yes yes yes     35  0
FAAAAA+ApexNew-BoldItalic            TrueType          yes yes yes     40  0
GAAAAA+LiberationMono                TrueType          yes yes yes     25  0
HAAAAA+ArialMT                       TrueType          yes yes yes     15  0
URWChanceryL-MediItal                Type 1            yes no  yes     48  0


The document has several paragraphs and tables changed from ApexNew to.. 
everything else, it seems.

The fonts are True Type, by the way -- but the same happens with OTF.
  
Then I tried to convert the font to Type 1 -- and the bug goes away, but going 
from ODF to Type1 is quite hairy and between kerning, encoding and all the 
"magic" there, I couldn't get a font that looks exactly the same.

What's the difference between the two conversion methods?

The documents come from a in-house templating system that only touches   
content.xml, but I have no previous experience in PDF or ODT, or font handling.
  
Can I do something to inspect the problem?

Thanks

Reply via email to