You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Villu Ruusmann (JIRA)" <ji...@apache.org> on 2010/02/09 13:20:27 UTC

[jira] Created: (PDFBOX-613) Adobe CFF/Type2 font additions

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.


[jira] Updated: (PDFBOX-613) Adobe CFF/Type2 font additions

Posted by "Villu Ruusmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Villu Ruusmann updated PDFBOX-613:
----------------------------------

    Attachment: CharStringConverter.patch

Please wrap the long lines as needed

> 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
>         Attachments: CharStringConverter.patch
>
>
> 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.


[jira] Resolved: (PDFBOX-613) Adobe CFF/Type2 font additions

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-613.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

I've added the pathc wirh version 908192. Set this to resolved.

Thanks to Villu for his contribution.

> 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
>             Fix For: 1.0.0
>
>         Attachments: CharStringConverter.patch
>
>
> 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.