[
https://issues.apache.org/jira/browse/PDFBOX-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220329#comment-17220329
]
Andreas Lehmkühler commented on PDFBOX-5001:
--------------------------------------------
The following classes are "immutable" now. All instance values are final and
have to be set when creating an instance of that class. All setters were
removed:
* org.apache.fontbox.afm.Composite
* org.apache.fontbox.afm.CompositePart
* org.apache.fontbox.afm.KernPair
* org.apache.fontbox.afm.Ligature
* org.apache.fontbox.afm.TrackKern
I've simplified some of the parser code and added tests for all classes but the
AFMParser itself
> Refactor AFMParser
> ------------------
>
> Key: PDFBOX-5001
> URL: https://issues.apache.org/jira/browse/PDFBOX-5001
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox
> Affects Versions: 3.0.0 PDFBox
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> We should refactor the AFMParser as follows:
> * make the smaller parts immutable
> * simplify some of the parser methods
> * add tests
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]