pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Villu Ruusmann (JIRA)" <j...@apache.org>
Subject [jira] Created: (PDFBOX-613) Adobe CFF/Type2 font additions
Date Tue, 09 Feb 2010 12:20:27 GMT
Adobe CFF/Type2 font additions
------------------------------

                 Key: PDFBOX-613
                 URL: https://issues.apache.org/jira/browse/PDFBOX-613
             Project: PDFBox
          Issue Type: Improvement
          Components: FontBox
    Affects Versions: 1.0.0
            Reporter: Villu Ruusmann


Implemented the conversion of Type2 commands "hflex", "flex", "hflex1" and "flex1" to Type1
command "rrcurveto".

The conversion is somewhat simplistic, because it produces Bezier curves ("rrcurveto") in
places where simple lines ("rlineto") would suffice (see the chapter 4.1 "Path Construction
Operators" in Type2 font specification for more details). Anyhow, it eliminates the possibility
of running into an UnsupportedOperationException at runtime.

I've tested the code by rendering and inspecting the outlines of some previously problematic
glyphs, and it seems to be okay.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message