Summary: | media-fonts/libertine-ttf-5.1.3.20110615 no longer installs OTF fonts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Frank Steinmetzger <Warp_7> |
Component: | [OLD] Library | Assignee: | Gentoo Fonts Team <fonts> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | cfackler, petr.pisar |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Updated ebuild for Linux Libertine fonts |
Description
Frank Steinmetzger
2012-02-29 14:09:48 UTC
For the record I'm against having separate ebuilds for every font format a family comes in. I'm somewhat new to ebuild writing, but would like to help fix this. I want to use these OTF fonts for XeTeX/Inkscape work. What is the preferred way to fix this? It looks like the latest upstream releases split OTF and TTF into separate tarballs, with libertine-ttf-5.1.3.20110615 only installing the TTF one, despite the description mentioning OpenType. libertine-ttf-4.7.5 installed both type, which came in the same tarball. Try adding an otf USE flag and an entry to SRC_URI depending on it, and add "otf" to FONT_SUFFIX. You will have to add some code to move the ttf and otf files (if they exist) into the same directory because the eclass can only handle a single FONT_S. It really should do a recursive search, but unfortunately that breaks some stuff so we'll have to work around it for now. Created attachment 333992 [details] libertine-otf-5.3.0.20120702.ebuild see bug 431430 Created attachment 386800 [details] Updated ebuild for Linux Libertine fonts Ebuild for linuxlibertine-5.3.0.20120702 (Based on ebuilds submitted by Matthias Blümel and Michelangelo Scopelliti) - Changed ebuild name to 'linuxlibertine' instead of 'libertine-<font format>' - Introduced format selection (OpenType or TrueType) through use flags - Updated HOMEPAGE to http://www.linuxlibertine.org/ - Updated LICENCE to reflect the use of GPLv3 - Updated DESCRIPTION to reflect the fact that both OpenType and TrueType are available *libertine-5.3.0.20120702 (22 Feb 2015) 22 Feb 2015; Ben de Groot <yngwin@gentoo.org> +libertine-5.3.0.20120702.ebuild: Move from libertine-ttf to libertine. Install OpenType fonts as well (bug #406301). Version bump (bug #431430). (In reply to Ben de Groot from comment #6) > *libertine-5.3.0.20120702 (22 Feb 2015) > > 22 Feb 2015; Ben de Groot <yngwin@gentoo.org> > +libertine-5.3.0.20120702.ebuild: > Move from libertine-ttf to libertine. Install OpenType fonts as well (bug > #406301). Version bump (bug #431430). But changing name affects some other packages, e.g. libreoffice and libreoffice-bin, these two packages depend on libertine-ttf. So separation maybe a better solution, or a bug must be reported to libreoffice and libreoffice-bin. (In reply to Ben de Groot from comment #6) > *libertine-5.3.0.20120702 (22 Feb 2015) > > 22 Feb 2015; Ben de Groot <yngwin@gentoo.org> > +libertine-5.3.0.20120702.ebuild: > Move from libertine-ttf to libertine. Install OpenType fonts as well (bug > #406301). Version bump (bug #431430). Please consider reverting so that it is again possible to select format through use flags (my ebuild still allowed you to select both if you really wanted to). Being able to opt out of the inferior TrueType format eliminates the risk of it being used unintentionally when one really wanted to use the OpenType font. The TrueType version can still be installed by those who want to use it with software that lacks OpenType support, but should otherwise be avoided. I want to keep it simple, so I've opted for making it selectable with USE=opentype (default enabled). But I'm open to other suggestions. (In reply to Ben de Groot from comment #9) > I want to keep it simple, so I've opted for making it selectable with > USE=opentype (default enabled). But I'm open to other suggestions. My view on this is still that the only reason why one would like to have the TrueType version is to accomodate legacy software. Thus, if we should make only one format selectable, it should be TrueType and not OpenType. But since Gentoo is about choice, I think the users should have the freedom to choose for themselves what format they prefer. (In reply to MW from comment #10) > since Gentoo is about choice, I think the users should have the freedom to > choose for themselves what format they prefer. We're actually working on a more flexible solution to do just that. |