[ https://issues.apache.org/jira/browse/FOP-3218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898387#comment-17898387 ]
Simon Steiner edited comment on FOP-3218 at 11/14/24 6:45 PM: -------------------------------------------------------------- what about turning on pdf/a https://xmlgraphics.apache.org/fop/2.10/pdfa.html was (Author: ssteiner1): what about turning on pdf/a > Ability to disable font substitution > ------------------------------------ > > Key: FOP-3218 > URL: https://issues.apache.org/jira/browse/FOP-3218 > Project: FOP > Issue Type: Improvement > Components: font/unqualified, layout/unqualified > Affects Versions: 2.10 > Reporter: Michał Sobkiewicz > Priority: Minor > > Font substitution may be useful in certain cases, but it almost always masks > user errors, which is clearly problematic. > It appears to me that there’s no way to completely disable font substitution. > I would like to to turn it off to ensure that xsl-fo stylesheet doesn’t refer > to unknown fonts (I suspect rendering would fail in that case, which is > precisely the outcome I would like). This approach would make it more likely > that the final document prints as intended, with all glyphs visible and no > missing characters. > As a workaround I use EventBroadcaster to register event listener throwing > whenever event's eventKey is equal to "fontSubstituted". -- This message was sent by Atlassian Jira (v8.20.10#820010)