On 2023/05/06 19:44, Matthieu Herrb wrote:
> 
> 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  ?

ok. otf is usually a better option than ttf where available.

> 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
> 

Reply via email to