You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Matthias Reischenbacher (Jira)" <ji...@apache.org> on 2025/10/10 15:16:00 UTC

[jira] [Commented] (FOP-3277) [PATCH] Add font substitution support for PDFTranscoder

    [ https://issues.apache.org/jira/browse/FOP-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029053#comment-18029053 ] 

Matthias Reischenbacher commented on FOP-3277:
----------------------------------------------

PR has been created, see [https://github.com/apache/xmlgraphics-fop/pull/91]

> [PATCH] Add font substitution support for PDFTranscoder
> -------------------------------------------------------
>
>                 Key: FOP-3277
>                 URL: https://issues.apache.org/jira/browse/FOP-3277
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/pdf
>            Reporter: Matthias Reischenbacher
>            Assignee: Matthias Reischenbacher
>            Priority: Critical
>         Attachments: FOP-3277-test-case.patch, FOP-3277.patch
>
>
> When using a PDF transcoder configuration like the following
> {code:java}
> <?xml version="1.0" encoding="utf-8"?>
> <pdf-renderer>
>   <fonts>
>     <substitutions>
>       <substitution>
>         <from font-family="Helvetica"/>
>         <to font-family="Courier"/>
>       </substitution>
>     </substitutions>
>   </fonts>
> </pdf-renderer>
> {code}
> then the "substitutions" configuration is currently ignored. The attached patch fixes this issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)