[
https://issues.apache.org/jira/browse/PDFBOX-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567706#comment-14567706
]
Tilman Hausherr commented on PDFBOX-2806:
-----------------------------------------
[[email protected]] A lot has been flagged by SonarQube, e.g. this segment:
{code}
+ private void readSubtable0Format0(TrueTypeFont ttf, TTFDataStream data)
throws IOException
+ {
+ PairData pairs = new PairData0Format0();
+ pairs.read(data);
+ this.pairs = pairs;
+ }
{code}
Why the unused parameter?
More examples:
https://analysis.apache.org/dashboard/index?id=org.apache.pdfbox%3Afontbox%3Asrc%2Fmain%2Fjava%2Forg%2Fapache%2Ffontbox%2Fttf%2FKerningSubtable.java
> The 'kern' table type is not supported.
> ---------------------------------------
>
> Key: PDFBOX-2806
> URL: https://issues.apache.org/jira/browse/PDFBOX-2806
> Project: PDFBox
> Issue Type: Improvement
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Glenn Adams
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
> Attachments: kern.patch.1, kern.patch.2, kern.patch.3
>
>
> The kerning table ('kern') is not supported by fontbox.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]