[
https://issues.apache.org/jira/browse/PDFBOX-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18155399#comment-18155399
]
Joao Goncalves commented on PDFBOX-6377:
----------------------------------------
This is my first time creating a ticket for PDFBox. Let me know if there's
anything else you need me to add or upload to this ticket.
> Type 1/CFF accented glyphs (seac) nest without limit, so a tiny font can
> double a glyph's path at every level
> -------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-6377
> URL: https://issues.apache.org/jira/browse/PDFBOX-6377
> Project: PDFBox
> Issue Type: Bug
> Reporter: Joao Goncalves
> Priority: Major
>
> When fontbox renders a Type 1 or CFF glyph that uses the {{seac}} (accented
> character) command, {{Type1CharString.seac}} fetches the base and accent
> glyphs, renders their full paths and appends them to the current glyph's
> path. The Type 1 spec allows only one level of {{seac}} with simple
> components, but the library allows any nesting, lets a glyph use itself as a
> component, and has no cap on path size. If each glyph in a chain uses the
> next one as both base and accent, the path doubles at every level. A Type 2
> {{endchar}} with 4 operands is converted to the same command, so CFF fonts
> reach this too.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]