Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

can use wrong Symbol font #154

Open
jwilk opened this issue Jun 10, 2022 · 2 comments
Open

can use wrong Symbol font #154

jwilk opened this issue Jun 10, 2022 · 2 comments
Labels

Comments

@jwilk
Copy link
Member

jwilk commented Jun 10, 2022

As reported in #39 and in Debian bug #528808, Poppler can use an incorrect Symbol font.
This is most likely to happen on Windows, and our Windows distribution ships with fonts.conf that prefers URW fonts, but:

  • We should choose the right font even with stock fontconfig setup.

  • This is not covered by the test suite.

@jwilk jwilk added the bug label Jun 10, 2022
@jwilk
Copy link
Member Author

jwilk commented Aug 1, 2022

This can be used as a test case:

\input common

\pdfpagewidth 12pt
\pdfpageheight 12pt

\pdfmapline{psyr Symbol}
\font\symbol=psyr at 12pt
\symbol

\hskip1pt\relax
D

\end

With PostScript Symbol font, it renders as Δ (genus 1).
With Windows Symbol font, it renders as Ø (genus 2).

@jwilk
Copy link
Member Author

jwilk commented Aug 8, 2022

This is not covered by the test suite.

Test added in 301cb17.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant