https://issues.apache.org/bugzilla/show_bug.cgi?id=51984

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME
         OS/Version|                            |All

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2011-10-09 03:00:22 UTC ---
The supplied input FO file WORKSFORME without any loop behavior, execution time
3 secs (mostly startup). I'm attaching the output PDF file.

I did not use the XCONF file. For the most part, you do not need to use XCONF
to configure fonts in FOP 1.0 and later,  unless you wish to subset your system
installed fonts. My XCONF file has the following PDF renderer configuration:

    <renderer mime="application/pdf">
      <filterList>
        <value>flate</value>
      </filterList>
      <fonts>
        <auto-detect/>
      </fonts>
    </renderer>

I'm using my current dev work branch at [1]. I can't say whether the build you
tried works or not, as that is not one of my builds.

Also, please note the following:

(1) in general, you should use fonts designed for Arabic and indicated to be
supported at [2], e.g., Simplified Arabic, Traditional Arabic, etc.; other
OpenType fonts that contain Arabic glyphs and OpenType AAT (GSUB/GPOS) tables
may work, but haven't been verified; [apparently Arial on my Mac does happen to
have Arabic glyphs and OTF AAT tables, so it happens to work]

(2) you should use the writing-mode attribute on fo:page-sequence (or on
fo:block-container) to specify the writing mode of the generated reference
areas; for example, specifying writing-mode="rl" on fo:page-sequence will
automatically make the first column in a multi-column page the right-most
column, and make the first column in a table the right-most column, and will
align the start edge with the right edge, so you don't need to explicitly
specify right alignment; note that text-align="start|end" is now resolved
according to writing mode;

[1] http://github.com/skynavga/fop
[2] http://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to