xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Fop 0.94, png renderer and font
Date Wed, 07 Nov 2007 17:42:06 GMT
The problem all comes from the font-autodetection that we now have.
Before we had it, everyone could simply configure the fonts like he need
it. But now, the font names have to be exactly right in order to have a
match between what AWT offers and what our font library determines.

The work-around at the moment: Configure each font manually and provide
the desired name in the font triplet.

I'm looking into this issue and I've already figured out what has to be
changed. The problem: In the short term, I can only properly fix it for
TrueType but not for Type 1 since the so-called "full name" of the font
is not in the PFM file, only in the PFA or PFB. And we don't have a
parser for it. That is, Victor has one in his FOray font. :-)

Jeremias Maerki

On 07.11.2007 17:06:32 Peter Coppens wrote:
> So I started debugging....and it looks like in 0.94 and beyond the font is
> registered as Futura and not Futura Book.
> This is all very confusing.
> Actually, what I am looking for is a strategy where I can use the same fo
> file to render either using the pdf renderer (and autodetected fonts from a
> directory) or the png renderer (with system fonts...of course)
> It is all very confusing and I can't really seem to get hold of a clear
> explanation how font names are constructed from the font file and what the
> differences are in this respect between the pdf and png renderer. I have
> read the XMLGraphics font's page but unless I overlooked, that info is not
> there.
> Is there some information on font naming somewhere available?
> Does anyone have any guidance on how to use the same fo input for both pdf
> and png renderer without bumping ones head against the font hell?
> Thanks!
> Peter
> -- 
> View this message in context: http://www.nabble.com/Fop-0.94%2C-png-renderer-and-font-tf4765491.html#a13630139
> Sent from the FOP - Users mailing list archive at Nabble.com.

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

View raw message