Quoting Nathan Willis (2026-08-07 15:05:06)
> On Wed, Jul 8, 2026 at 6:53 PM Fabian Greffrath <[email protected]> wrote:
> 
> > Package: fonts-libertinus
> > Version: 7.051-1
> > Severity: normal
> >
> > Hi,
> >
> > the fonts-libertinus package redundantly installs the font files in
> > both TTF and OTF formats, doubling the package size and likely
> > confusing services such as fontconfig. Please install the fonts only
> > in OTF format.
> >
> >
> The binary contents of the files is considerably different; they are not
> merely (say) duplicate data with a different file extension. Different
> glyph formats, obviously, but also different OTL features and different
> hinting. Perhaps more, but seeing that, that's a sufficient set of
> differentiation to conclude they're not interchangeable.
> 
> Folks can verify that with a basic:
> ttx -l FONTNAME.ttf
> ttx -l FONTNAME.otf
> 
> and go into more detail on a per-table basis as desired, also with ttx.
> 
> So they differ considerably in how they behave, and there may well be
> target systems or downstream packages that reply on one where the other
> would not do.
> 
> If the byte size is a concern for someone, they could perhaps make a case
> instead that there should be separate packages for the build
> variants/flavors (e.g., fonts-libertinus-tt and fonts-libertinus-cff) with
> a metapackage that provides access to both, but that's probably a
> maintainer's decision given all that would be involved.

More important than file size is whether the two formats use same font
identifiers, so that font systems like fontconfig cannot reliably
distinguish between them: If that is the case, then I believe they need
to either be packaged in separate binary packages that conflict with
each other, or installed *outside* of the normal font area and then
provide some mechanism at package install time to choose which set gets
symlinked into the font area.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to