[xep-support] Problem displaying italic arabic characters

From: Pierre Dittgen (pierre.dittgen@pass-tech.fr)
Date: Wed Aug 11 2004 - 01:49:25 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] wrap fo:leader"

    Hello,

    I'm evaluating XEP at this time to use it in a Cocoon web application. I
    face a problem displaying arabic characters with italic style. I joined
    a minimal fo sample and the associated screenshot.
    As you can see on the screenshot, arabic characters are not displayed
    properly when using italic or bold-italic style.

    As I open the generated PDF file with Acrobat reader, I got an error
    message saying: "Can't extract embedded font: GFEDCB+Arial+ItalicMT.
    Some characters won't be properly printed or displayed", and another one
    "A substitute font can't be found" (messages translated from french by me).

    To embed fonts, I uncomment the section relative to Arial font in
    $XEP_HOME/etc/fonts.xml :
        <font name="ArialMT"
              ttf="C:\WINDOWS\Fonts\arial.ttf"
              embed="true">
          <alias name="Arial"/>
        </font>
        <font name="Arial-BoldMT"
              ttf="C:\WINDOWS\Fonts\arialbd.ttf"
              embed="true">
          <alias name="Arial-Bold"/>
          <alias name="ArialMT-Bold"/>
        </font>
        <font name="Arial-ItalicMT"
              ttf="C:\WINDOWS\Fonts\ariali.ttf"
              embed="true">
          <alias name="Arial-Italic"/>
          <alias name="ArialMT-Italic"/>
        </font>
        <font name="Arial-BoldItalicMT"
              ttf="C:\WINDOWS\Fonts\arialbi.ttf"
              embed="true">
          <alias name="Arial-BoldItalic"/>
          <alias name="ArialMT-BoldItalic"/>
        </font>

    Any help appreciated.

    Pierre
    N.B.: I use XEP v3.8.1 Developer Stamped Edition on WinXP Pro with SUN
    JRE 1.4.2_01.

    -- 
    Pierre Dittgen
    PASS Technologie http://www.pass-tech.fr
    
    
    

    -------------------
    (*) 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/tos.html


    xep_shot.png


    This archive was generated by hypermail 2.1.5 : Wed Aug 11 2004 - 02:05:37 PDT