xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <dev.jerem...@greenmail.ch>
Subject Re: creating a PDF document containing UTF-8 characters
Date Thu, 01 Sep 2005 07:48:27 GMT

On 01.09.2005 09:33:06 Daniel Noll wrote:
> Jeremias Maerki wrote:
> >It's more an issue with FOP in my opinion. So let's hope for you two
> >that someone will eventually add this missing feature. Did I say that
> >the source code of FOP is available? :-)
> >
> >  
> >
> So there is a feature in PDF to store the actual content as UTF-8
> without the font embedded, and to tell the PDF viewer to use whatever
> fonts it can find to render the document?  Because that's what we
> really need to solve the problem.

I know that Acrobat can replace non-embedded Type1 fonts so I believe it
should be possible for TrueType, too. FOP is probably not even far from
supporting that. It's probably only about a few details, but then I'm
not the specialist on TrueType fonts in PDF. I'd have to dive in a lot
further to make a really usable statement in this regard.

But! I don't know how far this font substitution goes. Using "whatever
fonts it can find" is probably stretching the reality considerably. I
think there are some standard to do font substitution but I have never
worked with them.

> Particularly in our system, we can't guarantee that the person
> generating the PDF has the same fonts as the person reading it.  And
> worse, we can't even guarantee that the person generating it has
> ARIALUNI.TTF (as it's not freely redistributable.)  So embedding fonts
> in any fashion doesn't solve the problem, and neither does font
> substitution at the time of generation.

In such an environment it is normally by far the best solution to embed
the font. You just need to find fonts that you can redistribute in
embedded form. But you may need to buy licenses.

> I was thinking that the lack of font substitution at the time of
> rendering was more of an issue with PDF, but if you say it's an issue
> with FOP then I'll take your word for it because I don't know PDF well
> at all, just its damage to society. :-)

Damage to society when not using font embedding, yes. :-) If you can't
control the target environment you're bound to run into problems if you
don't embed fonts. Sad reality. I believe that font substitution will
only 95% of your problems.

Jeremias Maerki

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message