[xep-support] Bold or italic Korean font does not work

From: <uwe.goersch@lhsystems.com>
Date: Wed Jul 13 2005 - 21:43:27 PDT

Hi,

we use XEP 3.84 server license.

For Korean characters in FO document content we use the font "AdobeMyungjoStd-Medium-Acro" taken from Acrobat Reader 6, Korean version.

According to the XEP documentation we have made the binary font file available by copying into XEPs font directory and registered it by adding a new font descriptor to ".../etc/fonts.xml". We have added the font family name (alias) to the attribute "font-family" of the element "fo-root" in our FO documents. This works well.

Unfortunately we are not able to make this font show an italic font style or bold font weight. For a standard font like "Helvetica" this works.

We have used the following entries in "fonts.xml"

   <font name="AdobeMyungjoStd-Medium-Acro"
         ttf="CIDFont/AdobeMyungjoStd-Medium-Acro.otf"
         adobe-encoding="UniKS-UCS2-H"
         adobe-ordering="Korea1"
         adobe-supplement="1"
         embed="false">
     <alias name="AdobeMyungjoStd"/>
   </font>

   <font name="AdobeMyungjoStd-Medium-Acro,Bold"
         ttf="CIDFont/AdobeMyungjoStd-Medium-Acro.otf"
         adobe-encoding="UniKS-UCS2-H"
         adobe-ordering="Korea1"
         adobe-supplement="1"
         embed="false">
     <alias name="AdobeMyungjoStd-Bold"/>
     <alias name="AdobeMyungjoStd-Medium-Acro-Bold"/>
   </font>

The first entry works whereas the second does not. To activate the second, bold faced, font we added the alias "AdobeMyungjoStd-Bold" to the list of font-families and used font-weight="bold" to format.

We have following questions:
1. Did we use the correct syntax for including the second font "variant"? (We created this comparing to the fonts which were already included in fonts.xml.)
2. Does anyone know if the font we use is capable of font weight bold or font style italic at all?
3. Can anyone provide an alternative solution?

Using the scenario above, if we have a mixture of Latin an Korean characters in sequence the XEP output will apply (e.g.) font weight bold to the first sequence of Latin characters until it comes across the first Korean characters and does not switch back to font weight bold for the rest of the Latin characters. Is this a known problem? If so is there any fix for it?

Best regards

Uwe Goersch

Uwe Görsch
Consultant

Lufthansa Systems Group GmbH
HAM AM/D
Sportallee 54a
D-22335 Hamburg

Tel: +49 (0)40 5070 1938
Fax: +49 (0)40 5070 4611

E-Mail: uwe.goersch@LHsystems.com
Internet: www.LHsystems.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Jul 13 22:15:48 2005

This archive was generated by hypermail 2.1.8 : Wed Jul 13 2005 - 22:15:49 PDT