RE: Vietnamese complex-script support?
Thanks Glenn! Will do. From: Glenn Adams [mailto:gl...@skynav.com] Sent: Thursday, August 01, 2013 11:12 AM To: FOP Users Subject: Re: Vietnamese complex-script support? No special script processing should be required other than what is already provided by the DefaultScriptProcessor, which enables 'ccmp', 'liga', and 'locl' features for GSUB and 'kern', 'mark', and 'mkmk' features for GPOS for the Latin script. Make sure you are using a font that contains appropriate GPOS tables in order to get good mark placement. Have you tried using some font and find it doesn't work as expected with VN text? If so, then please send a minimal FO input file and the resulting PDF. G. On Thu, Aug 1, 2013 at 7:23 AM, Jonathan Levinson jonathan.levin...@intersystems.commailto:jonathan.levin...@intersystems.com wrote: Hi, Are there plans to add complex script support for Vietnamese to FOP? Thanks, Jonathan Levinson Senior Software Developer InterSystems
Vietnamese complex-script support?
Hi, Are there plans to add complex script support for Vietnamese to FOP? Thanks, Jonathan Levinson Senior Software Developer InterSystems
Re: Vietnamese complex-script support?
Hi, I'm not sure there is a specific script for Vietnamese. IIUC, this can be written either with latin script, or with a chinese subset script. Both Latin ans Chinese scripts are handled correctly with Fop, without complex script feature. You should just feed FOP with an appropriate font. Maybe I'm wrong; Glenn can confirm | infirm? -- Pascal 2013/8/1 Jonathan Levinson jonathan.levin...@intersystems.com Hi, ** ** Are there plans to add complex script support for Vietnamese to FOP? ** ** Thanks, Jonathan Levinson Senior Software Developer InterSystems ** ** -- pascal
Re: Vietnamese complex-script support?
On 08/01/2013 09:49 AM, Pascal Sancho wrote: I'm not sure there is a specific script for Vietnamese. IIUC, this can be written either with latin script, or with a chinese subset script. Both Latin ans Chinese scripts are handled correctly with Fop, without complex script feature. You should just feed FOP with an appropriate font. Maybe I'm wrong; Glenn can confirm | infirm? I’ll let Jonathan clarify exactly what he meant, but Vietnamese is typically written in the Latin script with a *lot* of combining diacritics. A naïve implementation can result in very ugly characters; some sophistication is needed to stack multiple combining characters correctly. ~Chris -- Chris Maden, text nerd URL: http://crism.maden.org/ “Peace has other governments that don’t go through the will of politicians.” — Mia Couto, “Rain, the Dreamsend” (tr. Austen Hyde) GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9 A210 4A51 DBAC 5C5C 3D5E - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Vietnamese complex-script support?
No special script processing should be required other than what is already provided by the DefaultScriptProcessor, which enables 'ccmp', 'liga', and 'locl' features for GSUB and 'kern', 'mark', and 'mkmk' features for GPOS for the Latin script. Make sure you are using a font that contains appropriate GPOS tables in order to get good mark placement. Have you tried using some font and find it doesn't work as expected with VN text? If so, then please send a minimal FO input file and the resulting PDF. G. On Thu, Aug 1, 2013 at 7:23 AM, Jonathan Levinson jonathan.levin...@intersystems.com wrote: Hi, ** ** Are there plans to add complex script support for Vietnamese to FOP? ** ** Thanks, Jonathan Levinson Senior Software Developer InterSystems ** **
Re: Shipping fop with complex script support
On 27/02/2012 18:34, Jonathan Levinson wrote: Hi Jonathon, We are looking to bundle fop with its new complex script support with a reporting package that will be deployed at many institutions and many hospitals. We support many hospitals in the Middle East and they will be affected. I’m looking for advice on when I should take a time-slice of the trunk. Or is it the case that a new version of FOP will be available soon, and it would be better (and still preserve timeliness) to wait for that? What is the schedule for the next FOP release? At what point is the trunk stable enough to ship? I’m not asking a scientifically precise question that has a scientifically precise answer, but I’m looking for pragmatic advice. I believe Glenn Adams is planning to work on a release of FOP in the near term. Exactly when I don't know. First of all we need to discuss it on fop-dev. Typically a release candidate would be buolt first and the community allowed to test it. During which time we can iron out any instabilities before building the final release. Thanks, Chris Thanks, Jonathan Levinson Senior Software Developer Object Group InterSystems jonathan.levin...@intersystems.com - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Shipping fop with complex script support
We are looking to bundle fop with its new complex script support with a reporting package that will be deployed at many institutions and many hospitals. We support many hospitals in the Middle East and they will be affected. I'm looking for advice on when I should take a time-slice of the trunk. Or is it the case that a new version of FOP will be available soon, and it would be better (and still preserve timeliness) to wait for that? What is the schedule for the next FOP release? At what point is the trunk stable enough to ship? I'm not asking a scientifically precise question that has a scientifically precise answer, but I'm looking for pragmatic advice. Thanks, Jonathan Levinson Senior Software Developer Object Group InterSystems jonathan.levin...@intersystems.com
Re: Complex Script Support
I am pleased to let you know that Glenn Adams updated his work with a new patch. This patch includes the following: * bug fixes * new layout engine tests for right-to-left writing mode * new test utility for using TTX files in testing advanced typographic tables * new test cases for GDEF/GSUB/GPOS advanced typographic tables * new test cases for ~85000 arabic word forms against four fonts * new implementation of number formatter for number to string conversion, which adds support for arabic, hebrew, thai, and kana scripts See milestone Patch 5 at http://skynav.trac.cvsdude.com/fop/report/6 for further details. The update has been imported into FOP's code in the Temp_ComplexScripts branch. The new code is available at the URLs cited below. With this patch, Complex Script Support for FOP now supports * Arabic, Hebrew, and Devanagari Scripts * PDF output format Support for * additional scripts * additional output formats remains to be done. The current state of complex scripts support has been proposed for merger into the main development trunk, subject to appropriate evaluation and verification by the FOP community. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. Simon Pepping - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
If you went to the web site http://people.apache.org/~spepping/ very rapidly after I sent this email, you may have read obsolete 'Notes about the current state of the work'. Many limitations that were listed there have now been removed, since those limitations have been addressed in the course of development over the past year. Best, Simon Pepping On Tue, Oct 18, 2011 at 12:51:20PM +0200, Simon Pepping wrote: I am pleased to let you know that Glenn Adams updated his work with a new patch. This patch includes the following: * bug fixes * new layout engine tests for right-to-left writing mode * new test utility for using TTX files in testing advanced typographic tables * new test cases for GDEF/GSUB/GPOS advanced typographic tables * new test cases for ~85000 arabic word forms against four fonts * new implementation of number formatter for number to string conversion, which adds support for arabic, hebrew, thai, and kana scripts See milestone Patch 5 at http://skynav.trac.cvsdude.com/fop/report/6 for further details. The update has been imported into FOP's code in the Temp_ComplexScripts branch. The new code is available at the URLs cited below. With this patch, Complex Script Support for FOP now supports * Arabic, Hebrew, and Devanagari Scripts * PDF output format Support for * additional scripts * additional output formats remains to be done. The current state of complex scripts support has been proposed for merger into the main development trunk, subject to appropriate evaluation and verification by the FOP community. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. Simon Pepping - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: When will complex script support be available?
I'm targeting the end of this month (October) to complete a final patch adding new test suite material, and request the temporary complex script branch be merged into the trunk. Merging into the trunk will require consensus by the project's PMC, so we'll see how that goes. In the mean time, I'll take a look at your report about a loop/hanging problem. As far as my tests go, Arabic ant RTL text is being handled properly in tables and elsewhere. Active issues are being tracked at http://skynav.trac.cvsdude.com/fop/report/1. Regarding font support, see: http://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts Although Arial Unicode MS is known to work, it is the worst quality of the fonts listed as being supported, and also requires the most memory and resources (and processing time) due to its large number of glyphs (50,377) and large number of OTF tables. For my latest dev code, see: http://github.com/skynavga/fop On Fri, Oct 7, 2011 at 5:11 AM, Jonathan Levinson jonathan.levin...@intersystems.com wrote: Hi, ** ** When will the complex script support (for Arabic and other left-to-right fonts) be ready enough that we can evaluate it against the current FOP and see if it is suitable for our rendering needs? ** ** I know this is a very difficult project with a lot of deep issues that need to be resolved. I know it may be difficult to give more than a ball-park estimate as to readiness. I also apologize that the term “ready” is so vague. In some sense, it may be ready now. Maybe it helps to know that where we are particularly running into requests for Arabic support is in FO tables and table layout. It is particularly important that alignment work. ** ** On a side-note, we’ve been using Microsoft Arial for Arabic rendering. Is this a font that the complex script work will support? Does it support Microsoft Arial now? ** ** We realize that complex script support is a massive effort and we especially appreciate Glenn Adams work in moving this project forward. ** ** Best Regards, Jonathan Levinson Senior Software Developer Object Group InterSystems One Memorial Drive Cambridge MA 02412 ** **
When will complex script support be available?
Hi, When will the complex script support (for Arabic and other left-to-right fonts) be ready enough that we can evaluate it against the current FOP and see if it is suitable for our rendering needs? I know this is a very difficult project with a lot of deep issues that need to be resolved. I know it may be difficult to give more than a ball-park estimate as to readiness. I also apologize that the term ready is so vague. In some sense, it may be ready now. Maybe it helps to know that where we are particularly running into requests for Arabic support is in FO tables and table layout. It is particularly important that alignment work. On a side-note, we've been using Microsoft Arial for Arabic rendering. Is this a font that the complex script work will support? Does it support Microsoft Arial now? We realize that complex script support is a massive effort and we especially appreciate Glenn Adams work in moving this project forward. Best Regards, Jonathan Levinson Senior Software Developer Object Group InterSystems One Memorial Drive Cambridge MA 02412
Infinite loop in Complex Script support
I used complex script from the following location: http://people.apache.org/~spepping/ I ran the command to generate an FO as follows: c:\fop-ComplexScripts\fop.cmd -c c:\fop-ComplexScripts\conf\fop.xconf -fo Arabic.fo -pdf Arabic.pdf I attach the fo file and the fop.xconf file. The FOP code seems to go into an infinite loop. Here is the output before FOP seemingly hangs forever. C:\InterSystems\cache121\MGR\Tempc:\fop-ComplexScripts\fop.cmd -c c:\fop-Comple xScripts\conf\fop.xconf -fo Arabic.fo -pdf Arabic.pdf Oct 6, 2011 6:49:16 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in Oct 6, 2011 6:49:16 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in Oct 6, 2011 6:49:18 PM org.apache.fop.layoutmgr.table.ColumnSetup computeTableUn it WARNING: No space remaining to distribute over columns. Best Regards, Jonathan Levinson Senior Software Developer Object Group InterSystems jonathan.levin...@intersystems.com Arabic.fo Description: Arabic.fo fop.xconf Description: fop.xconf - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Complex Script Support
I have just downloaded the latest binary dt. 15.06.2011 and performed a small test for indic fonts, namely Bengali and find that there has been no change from the fop 1.0 stable build. I enclose a samle pdf to explain my finding. Indic fonts require combination of 2 or more characters to produce the complex character. In the stable build as well as this, this combination is not occurring and the characters are printed as individual entities. I am not sure if this additional information will be of any help, but as a flash developer I face a similar problem in flash whenever I try to embed the font. The problem in flash does not occur if I use the system device fonts. The TTF font I am testing with is called 'Shonar Bangla'. I tried to test if the font would show correctly without embedding by referencing the font in the configuration file as fonts referenced-fonts match font-family=Shonar Bangla/ /referenced-fonts /fonts However, this somehow is failing with a message Warning: Font Shonar Bangla, normal, 400 not found. Substituting with any,normal,400 and then it tries to find the glyphs using Times-Roman The text in the pdf should have looked like this. প্রথম পাতা| দিব্যি ঘুমাচ্ছিলাম আমি আর ইচ্ছামতী। Thank you, Kind Regards Rajat Narain India test.pdf Description: Adobe PDF document - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
Hi Rajat, That error message means that FOP can't find the font you're referencing. You can either put the font into your systems font directory (which depends on which OS you're using), or you can check http://xmlgraphics.apache.org/fop/trunk/fonts.html which will describe how to manually configure fonts. Also, check the archives, there have been plenty of people struggling with this issue, you'll probably find answers to many of your questions there. Hope that helps Mehdi On 20 June 2011 06:53, Rajat Narain narain.ra...@gmail.com wrote: I have just downloaded the latest binary dt. 15.06.2011 and performed a small test for indic fonts, namely Bengali and find that there has been no change from the fop 1.0 stable build. I enclose a samle pdf to explain my finding. Indic fonts require combination of 2 or more characters to produce the complex character. In the stable build as well as this, this combination is not occurring and the characters are printed as individual entities. I am not sure if this additional information will be of any help, but as a flash developer I face a similar problem in flash whenever I try to embed the font. The problem in flash does not occur if I use the system device fonts. The TTF font I am testing with is called 'Shonar Bangla'. I tried to test if the font would show correctly without embedding by referencing the font in the configuration file as fonts referenced-fonts match font-family=Shonar Bangla/ /referenced-fonts /fonts However, this somehow is failing with a message Warning: Font Shonar Bangla, normal, 400 not found. Substituting with any,normal,400 and then it tries to find the glyphs using Times-Roman The text in the pdf should have looked like this. প্রথম পাতা| দিব্যি ঘুমাচ্ছিলাম আমি আর ইচ্ছামতী। Thank you, Kind Regards Rajat Narain India - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
Rajat, Bengali is not yet supported, but is on the list to be supported. At present, only Devanagari is supported. Please see the following links for up to date information on this work: - http://skynav.trac.cvsdude.com/fop/wiki/ComplexScripts - http://github.com/skynavga/fop Support for Bengali is being tracked at http://skynav.trac.cvsdude.com/fop/ticket/51. Regards, Glenn Adams On Sun, Jun 19, 2011 at 11:53 PM, Rajat Narain narain.ra...@gmail.comwrote: I have just downloaded the latest binary dt. 15.06.2011 and performed a small test for indic fonts, namely Bengali and find that there has been no change from the fop 1.0 stable build. I enclose a samle pdf to explain my finding. Indic fonts require combination of 2 or more characters to produce the complex character. In the stable build as well as this, this combination is not occurring and the characters are printed as individual entities. I am not sure if this additional information will be of any help, but as a flash developer I face a similar problem in flash whenever I try to embed the font. The problem in flash does not occur if I use the system device fonts. The TTF font I am testing with is called 'Shonar Bangla'. I tried to test if the font would show correctly without embedding by referencing the font in the configuration file as fonts referenced-fonts match font-family=Shonar Bangla/ /referenced-fonts /fonts However, this somehow is failing with a message Warning: Font Shonar Bangla, normal, 400 not found. Substituting with any,normal,400 and then it tries to find the glyphs using Times-Roman The text in the pdf should have looked like this. প্রথম পাতা| দিব্যি ঘুমাচ্ছিলাম আমি আর ইচ্ছামতী। Thank you, Kind Regards Rajat Narain India - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
I am pleased to inform you that Glenn Adams updated his work with a new patch. This patch includes the following: * bug fixes * new layout engine tests for right-to-left writing mode * new generic indic script processing support * new devanagari script processing support See milestone Patch 4 at http://skynav.trac.cvsdude.com/fop/report/6 for further details. The update has been imported into FOP's code in the Temp_ComplexScripts branch. The new code is available at the URLs cited below. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. Simon Pepping - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
I am pleased to inform you that Glenn Adams updated his work with a new patch. This patch adds bug fixes and tests. The update has been imported into FOP's code in the Temp_ComplexScripts branch. The new code is available at the URLs cited below. Simon On Thu, Sep 30, 2010 at 01:22:44PM +0200, Simon Pepping wrote: I am pleased to inform you that Glenn Adams updated his work with an extensive patch. This patch completes the first round of functional support for OpenType GDEF/GSUB/GPOS advanced typographic tables as employed by selected Arabic fonts (see supported fonts at https://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts). The update has been imported into FOP's code in the Temp_ComplexScripts branch. The new code is available at the URLs cited below. Simon On Thu, Aug 19, 2010 at 10:35:26PM +0200, Simon Pepping wrote: We are happy to let you know that Complex Script Support for FOP is under development. Glenn Adams is developing this functionality on behalf of Basis Technologies. To make this development efficient and successful, we need your contribution as well. Does your native language use complex scripts and perhaps right-to-left writing mode (Arabic, Hebrew, Indic scripts)? Then install this version of FOP and test it with some of your XML or FO files. Report your findings on this mailing list. We will announce updates of this work on this mailing list. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. -- Simon Pepping home page: http://www.leverkruid.eu - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Complex Script Support
Dear, I am Imad Daou and I have been using FOP from about 1 year and I was satisfied from it's results until I tried it with Arabic which is my native language. I searched and found that you are working on it and found that you did good progress in PDF renderer where arabic letters are displayed correctly. Can you please tell me when this will be working on the PrintRenderer (Post Script) since I am using FOP to directly print data without using PDF converter. Waiting your reply, Imad
Re: Complex Script Support
Imad, Thank you for you query. I am happy you are interested in Arabic support. I am unable to respond regarding a schedule for Postscript support. My first priority is to support PDF output, and there are a few things to accomplish before I can say that PDF is adequately supported. After that it will depend on what I can do to add Postscript support. Hopefully, it will not require too much additional work, since most of the functionality for the new Arabic support comes before the intermediate format rendering. I will update this list (and you) when I have added the necessary support for the Postscript renderer (and other renderers). Regards, Glenn Adams On Mon, Oct 25, 2010 at 7:17 PM, Imad Moussa Daou imad.m.d...@gmail.comwrote: Dear, I am Imad Daou and I have been using FOP from about 1 year and I was satisfied from it's results until I tried it with Arabic which is my native language. I searched and found that you are working on it and found that you did good progress in PDF renderer where arabic letters are displayed correctly. Can you please tell me when this will be working on the PrintRenderer (Post Script) since I am using FOP to directly print data without using PDF converter. Waiting your reply, Imad
Complex Script Support
We are happy to let you know that Complex Script Support for FOP is under development. Glenn Adams is developing this functionality on behalf of Basis Technologies. To make this development efficient and successful, we need your contribution as well. Does your native language use complex scripts and perhaps right-to-left writing mode (Arabic, Hebrew, Indic scripts)? Then install this version of FOP and test it with some of your XML or FO files. Report your findings on this mailing list. We will announce updates of this work on this mailing list. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. Simon -- Simon Pepping home page: http://www.leverkruid.eu - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Complex Script Support
Congratulations! Are Windows true type fonts supported? More broadly, is font support limited or can we use the fonts that come with the OS? We have a Dubai group, I'd like to have try out your complex script support, but I know which fonts are supported could be an issue. Looking at their test script I just see the font-family specified as Arial. They are currently using FOP with patch: https://issues.apache.org/bugzilla/attachment.cgi?id=24934action=edit, which uses ICU4J to do Arabic rendering. Best Regards, Jonathan Levinson -Original Message- From: Simon Pepping [mailto:spepp...@leverkruid.eu] Sent: Thursday, August 19, 2010 4:35 PM To: fop-users@xmlgraphics.apache.org Subject: Complex Script Support We are happy to let you know that Complex Script Support for FOP is under development. Glenn Adams is developing this functionality on behalf of Basis Technologies. To make this development efficient and successful, we need your contribution as well. Does your native language use complex scripts and perhaps right-to-left writing mode (Arabic, Hebrew, Indic scripts)? Then install this version of FOP and test it with some of your XML or FO files. Report your findings on this mailing list. We will announce updates of this work on this mailing list. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts. You can follow the work at FOP's Bugzilla, bug nr. 49687, https://issues.apache.org/bugzilla/show_bug.cgi?id=49687. Simon -- Simon Pepping home page: http://www.leverkruid.eu - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Complex Script Support
Thanks to Simon for committing this patch. Let me provide some additional information that will help evaluators or reviewers: - this work is being developed in the Temp_ComplexScripts branch of the FOP SVN repository, and, when appropriate, will be merged into the main development trunk; however, that will not occur until the new features in this branch are completed, new test suites are created and verified, and sufficient time has passed to ensure appropriate evaluation and verification by the FOP community; - the present state of this work is PRE-ALPHA; as such, it is not yet feature complete; therefore, anyone attempting to use this work should expect to find incomplete or incorrect results as well as programming errors resulting in abnormal termination, etc; so, caveat emptor please! - some preliminary documentation of this work is available at https://skynav.trac.cvsdude.com/fop/wiki; as work progresses, this documentation will be better organized and transferred to the FOP Wiki and Documentation pages; - during the development of this branch, known issues on this work are being tracked at https://skynav.trac.cvsdude.com/fop/report; after this branch is merged into the development trunk, new bugs and issues will be tracked in the Apache bugzilla database; - initial support is focused on Arabic script support, which entails the support of complex character to glyph mapping (sometimes referred to as 'glyph shape selection' or 'glyph substitution') and bidirectional processing; - currently supported fonts (that I have tested to some extent, but not completely) are documented at https://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts; this list will be expanded over time; - no use is made of external libraries or platform specific libraries; e.g., ICU4J is not used; the platform fonts are used directly to provide advanced typographic table support (about which see https://skynav.trac.cvsdude.com/fop/wiki/ComplexScriptFeatures); - no testing on output renderers other than PDF and AT (XML area tree) has taken place yet; so please restrict your usage to PDF in the near term; Now, here are some additional useful points to make about current limitations or known issues that apply. Please read the Active Issues report in the above referenced TRAC site for further details: - non-spacing marks are not yet supported, and their use in content will cause noticeable problems; this is the current top priority issue, since support for a number of such NSMs is mandatory even in non-vowelized (non-pointed) Arabic; - use of text-align='justify' does not produce correctly justified lines when Arabic is present; - correct semantic support for writing mode relative corresponding properties is not yet present, and, as a result text-align='right' is not implied for blocks that have a default bidi level of 1 (right to left), so you will need to explicitly add text-align='right' to achieve correct alignment; - support for inline FOs in bidi contexts is presently limited to fo:inline, fo:bidi-override, and fo:character; support for the remaining inline FOs will be added in an upcoming update to this branch; - full testing of bidi level assignment and reordering has not yet occurred, so some errors should be expected; the same applies for arabic shaping rules (i.e., presentation glyph selection); Keeping the above in mind, please do try out this preliminary work and report to me or to this list any issues that you find. When you do find an issue, try to isolate the input FO file to the absolute minimum amount of content that causes the problem. If I have to look through a long input file (and output PDF) for a small problem I am more likely to put that on the bottom of my queue, and not on the top. In other words, if you are going to take the trouble to report something, then please help me out by reducing the problem to its bare minimum form. Furthermore, when posting issues, please provide the output PDF file as well as. Regards, Glenn On Fri, Aug 20, 2010 at 4:35 AM, Simon Pepping spepp...@leverkruid.euwrote: We are happy to let you know that Complex Script Support for FOP is under development. Glenn Adams is developing this functionality on behalf of Basis Technologies. To make this development efficient and successful, we need your contribution as well. Does your native language use complex scripts and perhaps right-to-left writing mode (Arabic, Hebrew, Indic scripts)? Then install this version of FOP and test it with some of your XML or FO files. Report your findings on this mailing list. We will announce updates of this work on this mailing list. You can download the binary distribution or the fop jar file from http://people.apache.org/~spepping/. You can check out the source code from FOP's subversion repository, http://svn.apache.org/repos/asf