Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928524 - app-text/evince: font substitution prevents proper rendering of non-embedded Basic 14 typefaces guaranteed to be available for PDF files
Summary: app-text/evince: font substitution prevents proper rendering of non-embedded ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2024-04-03 15:44 UTC by cJ
Modified: 2024-04-03 20:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2024-04-03 15:44:38 UTC
I'm filing the bug under evince but there are other components involved.

The PDF specification defines 14 standard fonts which don't need to be embedded in a PDF as the reader must provide them.
They are:

- Times Roman (normal, bold, and italic)
- Helvetica (normal, bold, and italic)
- Courier (normal, bold, and italic)
- ZapfDingbats (normal)
- Symbol (normal)

I noticed that this is not guaranteed, at least with evince: I see that somehow the fonts are substituted with other ones, sometimes in a weird way:

- Helvetica substituted with TexGyreHeros, which sounds OK
- Zapf Dingbats (/Subtype/Type1/BaseFont/ZapfDingbats/Type/Font) is substituted with Liberation Sans (!)

Here's a link to a PDF that that can reproduce this:


- In order to properly render PDFs, evince should RDEPEND on packages providing these 14 basic typefaces. For example media-fonts/urw-fonts provides a version of Zapf Dingbats (

- Information should be printed to document that certain eselect fontconfig should be enabled.

Thank you,
Comment 1 cJ 2024-04-03 16:08:04 UTC
I asked a friend to run inkscape on mac to convert the fonts of that demo PDF into paths and stored the result here: