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.

Reply via email to