[ 
https://issues.apache.org/jira/browse/FOP-3218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michał Sobkiewicz closed FOP-3218.
----------------------------------
    Resolution: Not A Problem

> 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)

Reply via email to