John Gentilin wrote:
Found it, for some reason if I am not embedding fonts I need
to encode the xml file with option "-enc ansi" once I did that it
worked fine.
For this next version of FOP, can we make the change to FontInfo.java ??
Its on the list.
J.Pietschmann
--
Yes, I use that option on TTFReader when I am building
the XML font files. If I don't and I try to reference (i.e.
not embed) fonts Acrobat Reader will not open the file
and claim error 110. Also, if you are trying this, you need
a patched fop.jar file so that non embedded fonts can be
read by FOP.
Found it, for some reason if I am not embedding fonts I need
to encode the xml file with option "-enc ansi" once I did that it
worked fine.
Hi John,
Just to clarify for my own info. Do you mean specify -enc ansi when you run
TTFReader?
___
Found it, for some reason if I am not embedding fonts I need
to encode the xml file with option "-enc ansi" once I did that it
worked fine.
For this next version of FOP, can we make the change to FontInfo.java ??
Regards
John G
John Gentilin wrote:
> Oleg,
>
> In short yes but... when you pull
Oleg,
In short yes but... when you pull out that tag it causes the variable embedFile
to become null. This is fine since FontReader.java code states that you need
to supply a null if you don't want to embed the font info. Presumably since the
BasrDir feature was implemented, the FontInfo.java co
John Gentilin wrote:
I want to include windows fonts in my PDF, but not embed them.
Ahem, what is the difference? Have you tried this way?
"If you do not want the font embedded in the PDF then remove the "embed-file"
attribute. The PDF will then contain text using the font with the font metric
I want to include windows fonts in my PDF, but not embed them.
I converted the ttf font to XML, added it to my config file then I
made the change below to FontInfo.java to prevent the exception
that occurred where the embedFile is cast to a File object.
FOP seemed to run just fine and produced the