Excellent - thanks a lot
Just a quick query - when you say that the glyph outlines I need will be emebedded in the PDF, will that be all the outlines from the font, or just the ones that actually get used?
Doesn't make a lot of difference to me (other than the file size as you say) - I'm just curious
Thanks
Kieran
| bruno <[EMAIL PROTECTED]>
17/01/2006 11:45 |
|
[EMAIL PROTECTED] wrote:
>
> Ah - thanks for the feedback
>
> I'd read the part about the encodings and I read it as saying you just
> need to tell it to use the right ecoding (which did help - it got me
> from ???'s to the characters)
Yes, on your system, but not necessarily on another machine.
All depends on the font that is used to replace the so called built-in font.
It might not have the cyrillic characters.
> Having now gone through the next bit, I changed the font line to
> Font norm =
> FontFactory.getFont("C:\\Windows\\Fonts\\Times.ttf","ISO-8859-5", 9,
> Font.NORMAL); which now works prefectly - or at least
> seems to - is that the best way to do it?
You are using an OpenType font with TrueType outlines that
is distributed with Windows. The outlines of the glyphs you need
in your text will be embedded in your document.
This will have an impact on the file size, but it's the best solution
to ensure that every end-user will be able to read the document.
best regards,
Bruno
