lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Format of -dshow-available-fonts output


From: Werner LEMBERG
Subject: Re: Format of -dshow-available-fonts output
Date: Tue, 17 Jul 2018 22:30:41 +0200 (CEST)

> Take this example (the formatting is already the result of parsing
> into Python objects:
> 
> EB Garamond
> ['EB Garamond', 'EB Garamond 08']
> ['08 Italic', 'Cursiva', 'kurzíva', 'kursiv', 'Πλάγια', 'Italic',
> 'Kursivoitu', 'Italique', 'Dőlt', 'Corsivo', 'Cursief', 'Kursywa',
> 'Itálico', 'Курсив', 'İtalik', 'Poševno', 'Etzana']

Assuming you are talking about `EBGaramond08-Italic.ttf' (I have
version 0.016 from 8-4-2014), this looks fishy IMHO.  The font family
name (ID 1 in the TTF's `name' table) is `EB Garamond 08', the
subfamily (ID 2) is `Italic'.  Consequently, you should rather get

  EB Garamond 08
  ['EB Garamond 08']
  ['Italic', 'Cursiva', 'kurzíva', 'kursiv', 'Πλάγια', 'Italic',
  'Kursivoitu', 'Italique', 'Dőlt', 'Corsivo', 'Cursief', 'Kursywa',
  'Itálico', 'Курсив', 'İtalik', 'Poševno', 'Etzana']

I can reproduce your faulty results with fontconfig version 2.12.1.

BTW, for emmentaler-26.otf I see this entry in `fc-list':

  .../emmentaler-26.otf: Emmentaler\-26:style=26

Hopefully the fontconfig mailing list can give further assistance how
the special handling of trailing numbers in a font family name
(probably implemented to handle font families like Computer Modern
that have optical sizes like cmr10 or cmr12) can be suppressed.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]