Sougata Bhattacharya updated FOP-2355:

    Attachment: transformer.xsl

PFA all related files.

We use the PDFGenerator.generatePDF() to take in an input-data.xml and a 
transformer.xsl-to-format-the-data.xml, and render the pdf accordingly.

We had initially used fop 1.1, and also tried with the nightly of 27th Feb'14. 
But both had similar results.

Do let me know if i could provide something more so that its easy for you to 
pinpoint the issue.

> Issues with stacking of diacritics while trying to render PDFs in Thai 
> language
> -------------------------------------------------------------------------------
>                 Key: FOP-2355
>                 URL: https://issues.apache.org/jira/browse/FOP-2355
>             Project: Fop
>          Issue Type: Bug
>          Components: fonts, pdf
>    Affects Versions: 1.1, trunk
>         Environment: Win 7, JDK1.6
>            Reporter: Sougata Bhattacharya
>         Attachments: ConsoleLog.txt, PDFGenerator.java, example pdf.jpg, 
> fopConfig.xml, input.xml, op.pdf, transformer.xsl
> Let us take 3 examples, where the first two are rendering ok in the PDF, 
> whereas the 3rd is not.
> 1. ยี = ย + ี (consonant + vowel)
> 2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)
> 3. ย่ = ย + ่ (consonant + diacritic)
> The third complex alphabet is showing ok when you see it in 
> notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space 
> in between the diacritic and the consonant, as if a vowel is missing.
> Though this does not alter the meaning of the script, it looks 
> unprofessional. 
> Details on how i want the characters to be rendered in the PDF, can be found 
> in the 2nd example of the link: 
> http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples
> Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, 
> PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..

This message was sent by Atlassian JIRA

Reply via email to