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

"Matthias Reischenbacher (Jira)" <[email protected]>
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/FOP-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Reischenbacher resolved FOP-3277.
------------------------------------------
    Resolution: Fixed

https://github.com/apache/xmlgraphics-fop/commit/70a86660c20f41fd1dabbb718bed0d10394cf959

> [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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.