https://bugzilla.redhat.com/show_bug.cgi?id=1748495



--- Comment #38 from Hans Ulrich Niedermann <[email protected]> ---
(In reply to Nicolas Mailhot from comment #37)
> (In reply to Hans Ulrich Niedermann from comment #36)
> > I just noticed in the gnome-terminal font selection dialog, that
> > instead of the expected fonts
> > 
> >     Terminus Bold
> >     Terminus Medium
> > 
> > it also lists
> > 
> >     [Terminus Medium] in numeric glyphs
> >     Terminus Bold Italic
> 
> it should only list one font, Terminus, with lots of styles (Regular,
> Medium, Bold, Bold Italic, etc)
> 
> However, that’s not an unexpected result of conversion from a legacy format.

Uhm. This is confusing. The font list for gnome-terminal starts with

    DejaVu Sans Mono Bold
    DejaVu Sans Mono Book
    DejaVu Sans Mono Oblique
    DejaVu Sans Mono Bold Oblique
    Droid Sans Mono Regular
    Droid Sans Mono Italic
    Droid Sans Mono Bold
    Droid Sans Mono Bold Italic
    ...

All of those are *.ttf fonts, which is definitively not
a legacy bitmap format:

    $ ls /usr/share/fonts/{google-droid,dejavu}/*Mono*
    /usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf
    /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf
    /usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf
    /usr/share/fonts/dejavu/DejaVuSansMono.ttf
    /usr/share/fonts/google-droid/DroidSansMono.ttf
    $

Also, the gnome-terminal or gedit font selection dialogs do not allow
selecting any styles of a single font, so listing each font in a
number of styles appears to be just their way to show font styles.

> Legacy formats have very poor (everything, but especially) naming support.
> Converting to SFNT will usually involve fixing the naming layer (Name ID
> 16/17, using WWS rules, and Name ID 4, as Family + Style except for regular
> for which is named Family not family Regular).
> 
> That’s probably something that could be scripted using fontforge’s python
> bindings.

Ah. As it turns out, if I split off the ter-*.pcf.gz files into a -legacy-x11
subpackage and only install the ter-*.otb files, the gnome-terminal font
selection list will properly display the "Terminus Italic" font without any
hex glyphs.

However, not installing the ter-*.pcf.gz files will result in xlsfonts
not listing any terminus fonts, and without ter-*.pcf.gz emacs will then
start to have all weird character spacing.

More trial and error to follow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to