Hi Markus,

Thanks for your timely response.
Unlike other fonts which have different files for different weight/style
(like arialb.ttf, ariali.ttf for Arial), I can only find one file
mingliu.ttc for the MingLiU font.  Furthermore, MS Word is able to show
MingLiU in bold.

Is there any special parameters that I should use in generating the metrics
file for bold?  The following is what I've done:

java -cp build/fop.jar org.apache.fop.fonts.apps.TTFReader -ttcname
"MingLiU" C:\winnt\fonts\mingliu.ttc MingLiU.xml

Fergus

-----Original Message-----
From: "Muller, Markus" [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2003 5:38 PM
To: [EMAIL PROTECTED]
Subject: AW: Chinese character in bold


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?gliche 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]
**************************************************************************************
This  e-mail  is from Bank Consortium Trust Company Limited  and  any  files  
enclosed 
are confidential and intended solely for  the  addressee.  If you are not the 
intended 
recipient,  you  are hereby notified that  any  use,  disclosure,  copying,  
printing, 
forwarding or dissemination of this e-mail is strictly prohibited and may be 
unlawful.  
If you have received this e-mail in error, please notify the sender and delete 
it from 
your system immediately.  

WARNING:  E-mail  transmission cannot be guaranteed to  be  secure  or  
error-free  as 
information  could  be  intercepted,  corrupted,  lost,  destroyed,  arrived  
late  or 
incomplete,  or  contain viruses.  The sender therefore does not accept 
liability  for 
any  errors or omissions in the contents of this message which arise as  a  
result  of 
e-mail transmission.
**************************************************************************************

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

Reply via email to