Re: [jira] [Created] (FOP-3277) [PATCH] Add font substitution support for PDFTranscoder

Matthias Reischenbacher <[email protected]>
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
Hi,

who can configure my Github user (matthias8283) with read/write rights 
in https://github.com/apache/xmlgraphics-fop ?

I'd like to start pushing many of the changes we have developed for FOP 
over the years to the main branch. This ticket would be the first one.

Thanks,
Matthias

On 10/10/2025 10:34, Matthias Reischenbacher (Jira) wrote:
> Matthias Reischenbacher created FOP-3277:
> --------------------------------------------
>
>               Summary: [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
>
>
> 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.