xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Adams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOP-2249) Explicit bidi controls (RLM, LRM, ZWJ) retained in formatting.
Date Tue, 18 Jun 2013 07:29:23 GMT

    [ https://issues.apache.org/jira/browse/FOP-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686470#comment-13686470

Glenn Adams commented on FOP-2249:

As the author of the XSLT file template.xml, you are responsible for creating an XSLT that
meets your needs. The input to FOP is an FO file. The XSLT function is there merely for convenience.
Use a different tool to create the FO file if this simple convenience function doesn't meet
your needs.
> Explicit bidi controls (RLM, LRM, ZWJ) retained in formatting.
> --------------------------------------------------------------
>                 Key: FOP-2249
>                 URL: https://issues.apache.org/jira/browse/FOP-2249
>             Project: Fop
>          Issue Type: Bug
>          Components: ps
>    Affects Versions: 1.1
>         Environment: Windows 7 x64
>            Reporter: Konrad Gajewski
>            Assignee: Glenn Adams
>         Attachments: arabic.fo, fop.xconf, test.pdf
> Hi, 
> I'm testing Arabic sentences mixed with English one.
> I found the following issue:
> When I'm trying to revert direction by U+200E, I'm getting the glyphs which one is incorrect
because should be nothing.
> For some Fonts I'm getting warning and I see "#" inside, for some of them "incorrect
> .fo file:
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="simpfxo">
>   <fo:layout-master-set>
>     <fo:simple-page-master page-height="297mm" page-width="210mm" master-name="a4">
>       <fo:region-body margin-top="11mm" margin-bottom="12mm" margin-right="10mm" margin-left="10mm"/>
>     </fo:simple-page-master>
>   </fo:layout-master-set>
>   <fo:page-sequence master-reference="a4">
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block>&#x200D; وكلما زادت معرفتك بها؛ زادت
السلامة والمتعة التي تحصل some text عليها خلال قيادتها.
> 	  <fo:block>&#x200F; البريد الإلكتروني &#x200E; Test</fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
> .fontconfig file
>         <font embed-url="file:///C:/Windows/Fonts/ARIALUNI.TTF" embedding-mode="full">
>           <font-triplet name="Arial" style="normal" weight="normal"/>
>         </font>
>         <font embed-url="file:///C:/Windows/Fonts/cour.ttf" embedding-mode="full">
>           <font-triplet name="Courier" style="normal" weight="normal"/>
>         </font>   
>         <font embed-url="file:///C:/Windows/Fonts/DejaVuSansMono.ttf" embedding-mode="full">
>           <font-triplet name="DejaVuSansMono" style="normal" weight="normal"/>
>         </font>         
> 		<font embed-url="file:///C:/Windows/Fonts/ScheherazadeRegOT.ttf" embedding-mode="full">
>           <font-triplet name="ScheherazadeRegOT" style="normal" weight="normal"/>
>         </font>
> 		<font embed-url="file:///C:/Windows/Fonts/simpfxo.ttf" embedding-mode="full">
>           <font-triplet name="simpfxo" style="normal" weight="normal"/>
>         </font> 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message