[
https://issues.apache.org/jira/browse/FOP-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836635#comment-17836635
]
Simon Steiner commented on FOP-2983:
------------------------------------
Can you add a unit test
> [PATCH] Font auto-detection doesn't work
> ----------------------------------------
>
> Key: FOP-2983
> URL: https://issues.apache.org/jira/browse/FOP-2983
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.5, 2.6
> Environment: Apache Maven 3.6.0
> Java version: 1.8.0_181, vendor: Oracle Corporation
> Default locale: ru_RU, platform encoding: Cp1251
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> Reporter: Sergey Gorbunov
> Priority: Critical
> Attachments: fonts-auto-detect.patch, image-2024-2-13_11-55-53.png,
> image-2024-2-13_11-57-21.png, image-2024-2-13_13-2-57.png,
> image-2024-2-13_13-4-5.png
>
>
> When constructing a tree with a configuration, the node for auto-detection is
> added to the wrong parent node. As a result, the flag remains with a false.
> Detected when trying to convert SVG to PDF with Cyrillic characters. Since
> the correct font was not detected automatically, incorrect characters were
> displayed after conversion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)