Bug 1394198 - In F25 Helvetica is substituted by TeX Gyre Heros which looks bad in greek
Summary: In F25 Helvetica is substituted by TeX Gyre Heros which looks bad in greek
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 11:41 UTC by Alexander Ploumistos
Modified: 2017-12-12 10:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:35:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Same facebook post in f24 and f25 (389.59 KB, image/png)
2016-11-11 11:42 UTC, Alexander Ploumistos
no flags Details

Description Alexander Ploumistos 2016-11-11 11:41:59 UTC
Created attachment 1219727 [details]
Same facebook post in f24 and f25

After upgrading to F25 from F23 I noticed that some pages, e.g. facebook displayed text in a weird-looking font (see attachment). It seems that after the upgrade, fontconfig(?) considers TeX Gyre Heros as a more appropriate Helvetica replacement than Nimbus Sans L.

In F25, fc-match Helvetica yields:
texgyreheros-regular.otf: "TeX Gyre Heros" "Regular"

while in F24:
n019003l.pfb: "Nimbus Sans L" "Regular"

I am looking at a laptop and a desktop, the first running F24 and the latter F25. They both have n019003l.pfb in /usr/share/fonts/default/Type1/ and I can't find any difference in the rules in /etc/fonts/ nor is there a local file that overrides these settings. The only obvious difference is the line in which each font is grep-ped in 45-latin.conf.

In F24:

$ grep -Rn 'Nimbus Sans\|TeX Gyre\|Helvetica' /etc/fonts/conf.d/
/etc/fonts/conf.d/30-metric-aliases.conf:11:Helvetica               Nimbus Sans             TeX Gyre Heros
/etc/fonts/conf.d/30-metric-aliases.conf:12:Helvetica Condensed     Nimbus Sans Narrow      TeX Gyre Heros Cn
/etc/fonts/conf.d/30-metric-aliases.conf:13:Times                   Nimbus Roman            TeX Gyre Termes
/etc/fonts/conf.d/30-metric-aliases.conf:14:Courier                 Nimbus Mono             TeX Gyre Cursor
/etc/fonts/conf.d/30-metric-aliases.conf:15:ITC Avant Garde Gothic  URW Gothic              TeX Gyre Adventor
/etc/fonts/conf.d/30-metric-aliases.conf:16:ITC Bookman             Bookman URW             TeX Gyre Bonum     Bookman Old Style
/etc/fonts/conf.d/30-metric-aliases.conf:17:ITC Zapf Chancery       Chancery URW            TeX Gyre Chorus
/etc/fonts/conf.d/30-metric-aliases.conf:18:Palatino                Palladio URW            TeX Gyre Pagella   Palatino Linotype
/etc/fonts/conf.d/30-metric-aliases.conf:19:New Century Schoolbook  Century SchoolBook URW  TeX Gyre Schola    Century Schoolbook
/etc/fonts/conf.d/30-metric-aliases.conf:42:   e.g. Arial to Helvetica
/etc/fonts/conf.d/30-metric-aliases.conf:53:	  <family>Nimbus Sans L</family>
/etc/fonts/conf.d/30-metric-aliases.conf:55:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:60:	  <family>Nimbus Sans</family>
/etc/fonts/conf.d/30-metric-aliases.conf:62:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:67:	  <family>TeX Gyre Heros</family>
/etc/fonts/conf.d/30-metric-aliases.conf:69:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:74:	  <family>Nimbus Sans Narrow</family>
/etc/fonts/conf.d/30-metric-aliases.conf:76:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:81:	  <family>TeX Gyre Heros Cn</family>
/etc/fonts/conf.d/30-metric-aliases.conf:83:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:102:	  <family>TeX Gyre Termes</family>
/etc/fonts/conf.d/30-metric-aliases.conf:123:	  <family>TeX Gyre Cursor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:151:	  <family>TeX Gyre Adventor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:179:	  <family>TeX Gyre Bonum</family>
/etc/fonts/conf.d/30-metric-aliases.conf:214:	  <family>TeX Gyre Chorus</family>
/etc/fonts/conf.d/30-metric-aliases.conf:235:	  <family>TeX Gyre Pagella</family>
/etc/fonts/conf.d/30-metric-aliases.conf:263:	  <family>TeX Gyre Schola</family>
/etc/fonts/conf.d/30-metric-aliases.conf:401:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:408:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:433:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:440:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:464:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:466:	  <family>TeX Gyre Heros</family>
/etc/fonts/conf.d/30-metric-aliases.conf:467:	  <family>Nimbus Sans</family>
/etc/fonts/conf.d/30-metric-aliases.conf:468:	  <family>Nimbus Sans L</family>
/etc/fonts/conf.d/30-metric-aliases.conf:473:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:475:	  <family>TeX Gyre Heros Cn</family>
/etc/fonts/conf.d/30-metric-aliases.conf:476:	  <family>Nimbus Sans Narrow</family>
/etc/fonts/conf.d/30-metric-aliases.conf:483:	  <family>TeX Gyre Termes</family>
/etc/fonts/conf.d/30-metric-aliases.conf:492:	  <family>TeX Gyre Cursor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:501:	  <family>TeX Gyre Adventor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:511:	  <family>TeX Gyre Bonum</family>
/etc/fonts/conf.d/30-metric-aliases.conf:520:	  <family>TeX Gyre Chorus</family>
/etc/fonts/conf.d/30-metric-aliases.conf:530:	  <family>TeX Gyre Pagella</family>
/etc/fonts/conf.d/30-metric-aliases.conf:540:	  <family>TeX Gyre Schola</family>
/etc/fonts/conf.d/65-nonlatin.conf:76:			<family>ArmNet Helvetica</family> <!-- armenian -->
/etc/fonts/conf.d/45-latin.conf:84:		<family>Helvetica</family>
/etc/fonts/conf.d/45-latin.conf:100:		<family>Nimbus Sans L</family>
/etc/fonts/conf.d/45-latin.conf:104:		<family>Nimbus Sans</family>
/etc/fonts/conf.d/60-latin.conf:26:			<family>Nimbus Sans L</family>
/etc/fonts/conf.d/60-latin.conf:27:			<family>Nimbus Sans</family>
/etc/fonts/conf.d/60-latin.conf:28:			<family>Helvetica</family>

and in F25:

$ grep -Rn 'Nimbus Sans\|TeX Gyre\|Helvetica' /etc/fonts/conf.d/
/etc/fonts/conf.d/65-nonlatin.conf:76:			<family>ArmNet Helvetica</family> <!-- armenian -->
/etc/fonts/conf.d/30-metric-aliases.conf:11:Helvetica               Nimbus Sans             TeX Gyre Heros
/etc/fonts/conf.d/30-metric-aliases.conf:12:Helvetica Condensed     Nimbus Sans Narrow      TeX Gyre Heros Cn
/etc/fonts/conf.d/30-metric-aliases.conf:13:Times                   Nimbus Roman            TeX Gyre Termes
/etc/fonts/conf.d/30-metric-aliases.conf:14:Courier                 Nimbus Mono             TeX Gyre Cursor
/etc/fonts/conf.d/30-metric-aliases.conf:15:ITC Avant Garde Gothic  URW Gothic              TeX Gyre Adventor
/etc/fonts/conf.d/30-metric-aliases.conf:16:ITC Bookman             Bookman URW             TeX Gyre Bonum     Bookman Old Style
/etc/fonts/conf.d/30-metric-aliases.conf:17:ITC Zapf Chancery       Chancery URW            TeX Gyre Chorus
/etc/fonts/conf.d/30-metric-aliases.conf:18:Palatino                Palladio URW            TeX Gyre Pagella   Palatino Linotype
/etc/fonts/conf.d/30-metric-aliases.conf:19:New Century Schoolbook  Century SchoolBook URW  TeX Gyre Schola    Century Schoolbook
/etc/fonts/conf.d/30-metric-aliases.conf:42:   e.g. Arial to Helvetica
/etc/fonts/conf.d/30-metric-aliases.conf:53:	  <family>Nimbus Sans L</family>
/etc/fonts/conf.d/30-metric-aliases.conf:55:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:60:	  <family>Nimbus Sans</family>
/etc/fonts/conf.d/30-metric-aliases.conf:62:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:67:	  <family>TeX Gyre Heros</family>
/etc/fonts/conf.d/30-metric-aliases.conf:69:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:74:	  <family>Nimbus Sans Narrow</family>
/etc/fonts/conf.d/30-metric-aliases.conf:76:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:81:	  <family>TeX Gyre Heros Cn</family>
/etc/fonts/conf.d/30-metric-aliases.conf:83:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:102:	  <family>TeX Gyre Termes</family>
/etc/fonts/conf.d/30-metric-aliases.conf:123:	  <family>TeX Gyre Cursor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:151:	  <family>TeX Gyre Adventor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:179:	  <family>TeX Gyre Bonum</family>
/etc/fonts/conf.d/30-metric-aliases.conf:214:	  <family>TeX Gyre Chorus</family>
/etc/fonts/conf.d/30-metric-aliases.conf:235:	  <family>TeX Gyre Pagella</family>
/etc/fonts/conf.d/30-metric-aliases.conf:263:	  <family>TeX Gyre Schola</family>
/etc/fonts/conf.d/30-metric-aliases.conf:401:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:408:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:433:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:440:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:464:	  <family>Helvetica</family>
/etc/fonts/conf.d/30-metric-aliases.conf:466:	  <family>TeX Gyre Heros</family>
/etc/fonts/conf.d/30-metric-aliases.conf:467:	  <family>Nimbus Sans</family>
/etc/fonts/conf.d/30-metric-aliases.conf:468:	  <family>Nimbus Sans L</family>
/etc/fonts/conf.d/30-metric-aliases.conf:473:	  <family>Helvetica Condensed</family>
/etc/fonts/conf.d/30-metric-aliases.conf:475:	  <family>TeX Gyre Heros Cn</family>
/etc/fonts/conf.d/30-metric-aliases.conf:476:	  <family>Nimbus Sans Narrow</family>
/etc/fonts/conf.d/30-metric-aliases.conf:483:	  <family>TeX Gyre Termes</family>
/etc/fonts/conf.d/30-metric-aliases.conf:492:	  <family>TeX Gyre Cursor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:501:	  <family>TeX Gyre Adventor</family>
/etc/fonts/conf.d/30-metric-aliases.conf:511:	  <family>TeX Gyre Bonum</family>
/etc/fonts/conf.d/30-metric-aliases.conf:520:	  <family>TeX Gyre Chorus</family>
/etc/fonts/conf.d/30-metric-aliases.conf:530:	  <family>TeX Gyre Pagella</family>
/etc/fonts/conf.d/30-metric-aliases.conf:540:	  <family>TeX Gyre Schola</family>
/etc/fonts/conf.d/45-latin.conf:128:		<family>Helvetica</family>
/etc/fonts/conf.d/45-latin.conf:144:		<family>Nimbus Sans L</family>
/etc/fonts/conf.d/45-latin.conf:148:		<family>Nimbus Sans</family>
/etc/fonts/conf.d/60-latin.conf:26:			<family>Nimbus Sans L</family>
/etc/fonts/conf.d/60-latin.conf:27:			<family>Nimbus Sans</family>
/etc/fonts/conf.d/60-latin.conf:28:			<family>Helvetica</family>

Is there a setting some place else that I'm overlooking?

Comment 1 Alexander Ploumistos 2016-11-11 12:07:37 UTC
Hmm, it seems that texgyreheros-regular.otf was installed only on the F25 machine and it had been pulled in by lilypond. When I removed texlive-tex-gyre which also caused dblatex, texlive-collection-fontsrecommended, texlive-collection-htmlxml, texlive-manfnt-font, texlive-mflogo-font and texlive-wasy2-ps to be removed, firefox reverted to Nimbus Sans L. That could be a problem when I'll have to use TeX stuff again.

Comment 2 Nicolas Mailhot 2016-11-11 13:28:28 UTC
It's a pity, TEX Gyre should be the most recent and complete replacement for the original default PDF font. I know the authors spent quite a long time making sure the metrics matched

Please relay your problems to TEX Gyre upstream

Comment 3 Alexander Ploumistos 2016-11-11 13:50:19 UTC
(In reply to Nicolas Mailhot from comment #2)
> Please relay your problems to TEX Gyre upstream

Will do later today.

Isn't the fact that the font took precedence over Nimbus an issue though?

Comment 4 Nicolas Mailhot 2016-11-12 08:58:28 UTC
Type one is a piss poor legacy font format, so there are probably apps that can cope with TEX Gyre but not Nimbus. No good solution :(

Comment 5 Alexander Ploumistos 2016-11-12 12:37:54 UTC
Well, I reported the issue to the maintainer listed here:
http://mirrors.ctan.org/fonts/tex-gyre/doc/fonts/tex-gyre/README-TeX-Gyre-Heros.txt

Today I noticed that the same file reads: "If you know about European
languages that are not covered completely or if some glyphs have apparently
wrong shapes -- please let us know. Note, however, that Greek glyphs
bear provisional character." I guess that means it won't get fixed anytime soon.

Comment 6 Alexander Ploumistos 2016-11-25 16:12:52 UTC
I heard back from the maintainers today and apparently there are some Greek glyphs prepared by the Ghostscript team sometime last year, which are to be included in TeX Gyre Heros. This has not happened yet, because of an incompatibility between the two licenses and they are currently working to resolve that.

Comment 7 Fedora End Of Life 2017-11-16 19:15:00 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:35:32 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.