Please tell me what I did wrong.  I created another font metrics for the other 
variant it looks like I have two from the ttc.  Here is the added font:

<font metrics-file="mspminch.xml" 
embed-file="C:\Jenasys2\solpac\properties\msmincho.ttc" kerning="yes">
    <font-triplet name="MSPMincho" style="normal" weight="normal"/>
    <font-triplet name="MSPMincho" style="normal" weight="bold"/>
    <font-triplet name="MSPMincho" style="italic" weight="normal"/>
    <font-triplet name="MSPMincho" style="italic" weight="bold"/>
 </font>

This time added the 'font-family' attribute...

<fo:inline font-family="MSMincho" font-weight="bold" >some jap char</fo:inline>

Characters don't appear to be bold still.

-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 20, 2003 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: problem with inline using japanese font msmincho ttc

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]




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

Reply via email to