Hi,
AFAIK you have to generate different XML font metrics files for different
font styles / weigths, so your userconfig.xml should look like this:
<font metrics-file="D:\fop\fop-0.20.4\conf\MingLiU.xml"
embed-file="C:\winnt\fonts\mingliu.ttc" kerning="yes">
<font-triplet name="MingLiU" style="normal" weight="normal"/>
</font>
<font metrics-file="D:\fop\fop-0.20.4\conf\MingLiUBold.xml"
embed-file="[dont know]" kerning="yes">
<font-triplet name="MingLiU" style="normal" weight="bold"/>
</font>
and so on.
Markus
$> -----Urspr�ngliche Nachricht-----
$> Von: Lee Fergus [mailto:[EMAIL PROTECTED]
$> Gesendet: Montag, 14. April 2003 11:32
$> An: '[EMAIL PROTECTED]'
$> Betreff: Chinese character in bold
$>
$>
$> Hi all,
$>
$> I have problem showing chinese characters in bold. I have
$> generated the
$> MingLiU.xml file with the TTFReader utility from the
$> mingliu.ttc file and
$> here's what I put inside my userconfig.xml
$>
$> <font metrics-file="D:\fop\fop-0.20.4\conf\MingLiU.xml"
$> embed-file="C:\winnt\fonts\mingliu.ttc" kerning="yes">
$> <font-triplet name="MingLiU" style="normal" weight="normal"/>
$> <font-triplet name="MingLiU" style="normal" weight="bold"/>
$> <font-triplet name="MingLiU" style="italic" weight="normal"/>
$> <font-triplet name="MingLiU" style="italic" weight="bold"/>
$> </font>
$>
$> The resulting PDF file can shows Chinese character when the
$> font-family is
$> set to MingLiU. However, when I set the weight="bold", the
$> character is
$> still show as normal.
$>
$> Is there anything that I'm doing wrong or missing out?
$>
$> Regards,
$> Fergus Lee
$>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]