You have to create a separate XML font metric file for every variant of
the font. See http://xml.apache.org/fop/fonts.html#truetype-collections

I hope that helps.

On 20.06.2003 21:11:39 Neil Guinto wrote:
> FOP v0.20.5rc2
> 
> I created my report using a Japanese font (MSMincho True type
> collection).  It looks good so far.  I have a requirement to use the
> attribute <fo:inline font-weight="bold" >[EMAIL PROTECTED]
> </fo:inline> but it don't seem to have no effect, meaning the characters
> are not bold.
> 
> Here is a portion of the font element on my userconfig.xml:
> 
> <font metrics-file="msminch.xml"
> embed-file="C:\Jenasys2\solpac\properties\msmincho.ttc" kerning="yes">
>     <font-triplet name="MSMincho" style="normal" weight="normal"/>
>     <font-triplet name="MSMincho" style="normal" weight="bold"/>
>     <font-triplet name="MSMincho" style="italic" weight="normal"/>
>     <font-triplet name="MSMincho" style="italic" weight="bold"/>
> </font>
> 
> I'm thinking there must be some configuration step that I missed.  I
> tested it under Win2K/jdk1.4.1


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to