xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Rondelli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOP-1969) Surrogate pairs not treated as single unicode codepoint for display purposes
Date Mon, 24 Oct 2016 18:12:58 GMT

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

Simone Rondelli commented on FOP-1969:

Ok, now I see it. Updated the pull request to use PDDocument.load() and added the pdfbox jar
into the build directory for ANT even though don;t know how to make ANT to run all the tests
(I tried several targets: tests, junit, junit-all etc..).

> Surrogate pairs not treated as single unicode codepoint for display purposes
> ----------------------------------------------------------------------------
>                 Key: FOP-1969
>                 URL: https://issues.apache.org/jira/browse/FOP-1969
>             Project: FOP
>          Issue Type: Improvement
>          Components: unqualified
>    Affects Versions: trunk
>         Environment: Operating System: All
> Platform: All
>            Reporter: Glenn Adams
>         Attachments: Urdu.zip, pcltest.zip, single-byte.zip, testing.fo, testing.fo,
testing.pdf, testing.pdf, testing.xml, testing.xsl, tiffttc.zip
> unicode codepoints outside of the BMP (base multilingual plane), i.e., whose scalar value
is greater than 0xFFFF (65535), are coded as UTF-16 surrogate pairs in Java strings, which
pair should be treated as a single codepoint for the purpose of mapping to a glyph in a font
(that supports extra-BMP mappings);
> at present, FOP does not correctly handle this case in simple (non complex script) rendering
> furthermore, though some support has been added to handle this in the complex script
rendering path, it has not yet been tested, so is not necessarily working there either;

This message was sent by Atlassian JIRA

View raw message