On Sat, May 06, 2023 at 02:03:48PM +0200, Florian Obser wrote: > This is on amd64 -current with > Information for inst:atkinson-hyperlegible-2020.0514 > > This is the first time I'm using this font. Previously I have installed > Adobe Source Code Pro, which just works™. I rebooted the machine since > installing the font. This is about the extend of my knowledge of fonts > and X11, from here on out I'm just smashing stones together like an > animal... > > When using the font in Emacs the glyphs seem to be empty, I'll attach > two screenshots at the end. Note that the configuration in Emacs is > correct, if I had typo'ed the font name Emacs would fall back to the > default font. The same behaviour is observable in gimp, where one can > select the font but text is just white on white. > > The font works correctly in Firefox. > > The font is not listed in xfontsel.
This is normal. xfontsel only knows about the old server side rendered bitmap fonts. > > It shows up in fc-list: > Apparently the TTF fonts that are installed by the port are somehow buggy or at least not understood by Cairo and Gtk. If one manually installs the OTF versions that are also provided in the ZIP distfile the fonts work with emacs or gimp (and as a system font in XFCE, which also doesn't work with the ttf version) ok ? Index: Makefile =================================================================== RCS file: /local/cvs/ports/fonts/atkinson-hyperlegible/Makefile,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 Makefile --- Makefile 23 Jan 2023 11:09:48 -0000 1.1.1.1 +++ Makefile 6 May 2023 17:43:39 -0000 @@ -3,6 +3,7 @@ COMMENT = greater legibility and readabi TYPEFACE = Atkinson-Hyperlegible V = 2020-0514 VPDF = 2020-1104 +REVISION = 0 PKGNAME = ${TYPEFACE:L}-${V:S/-/./} CATEGORIES = fonts @@ -12,6 +13,7 @@ HOMEPAGE = https://brailleinstitute.org/ PERMIT_PACKAGE = Yes MODULES = font +FONTTYPES = otf MASTER_SITES = https://brailleinstitute.org/wp-content/uploads/atkinson-hyperlegible-font/ MASTER_SITES0 = https://brailleinstitute.org/wp-content/uploads/2020/11/ @@ -24,7 +26,7 @@ NO_BUILD = Yes NO_TEST = Yes SUBST_VARS += VPDF -FONT_DISTDIR = ${WRKDIR}/${TYPEFACE}-Font-Print-and-Web-${V}/Web\ Fonts/TTF/ +FONT_DISTDIR = ${WRKDIR}/${TYPEFACE}-Font-Print-and-Web-${V}/Print\ Fonts/ DOCDIR = ${PREFIX}/share/doc/hyperlegible post-install: Index: pkg/PLIST =================================================================== RCS file: /local/cvs/ports/fonts/atkinson-hyperlegible/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 PLIST --- pkg/PLIST 23 Jan 2023 11:09:48 -0000 1.1.1.1 +++ pkg/PLIST 6 May 2023 17:43:39 -0000 @@ -2,7 +2,7 @@ share/doc/hyperlegible/ share/doc/hyperlegible/Atkinson-Hyperlegible-Font-License-${VPDF}.pdf share/fonts/ @fontdir share/fonts/Atkinson-Hyperlegible/ -share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Bold-102.ttf -share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-BoldItalic-102.ttf -share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Italic-102.ttf -share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Regular-102.ttf +share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Bold-102.otf +share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-BoldItalic-102.otf +share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Italic-102.otf +share/fonts/Atkinson-Hyperlegible/Atkinson-Hyperlegible-Regular-102.otf -- Matthieu Herrb