xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOP-2355) Issues with stacking of diacritics while trying to render PDFs in Thai language
Date Wed, 14 May 2014 13:11:15 GMT

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

James Clark commented on FOP-2355:
----------------------------------

Older, non-OpenType-aware Thai fonts need special non-standard shaping using PUA characters.
Here's a reference that describes how to do PUA shaping:

http://linux.thai.net/~thep/th-otf/shaping.html


> 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
(v6.2#6252)

Mime
View raw message