x11/fonts/atkinson-hyperlegible: new port had been added (+)

Atkinson Hyperlegible font is named after Braille Institute
founder, J. Robert Atkinson.  What makes it different from traditional
typography design is that it focuses on letterform distinction to
increase character recognition, ultimately improving readability.
This commit is contained in:
Jason Helfman 2022-10-06 20:02:52 -05:00
parent d575da6748
commit 30efb2816c
6 changed files with 109 additions and 0 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += artwiz-aleczapka-de
SUBDIR += artwiz-aleczapka-se
SUBDIR += artwiz-fonts
SUBDIR += atkinson-hyperlegible
SUBDIR += averiagwf
SUBDIR += b612
SUBDIR += bdf2sfd

View File

@ -0,0 +1,58 @@
PORTNAME= atkinson-hyperlegible
PORTVERSION= 2020.0514
CATEGORIES= x11-fonts accessibility
MASTER_SITES= https://brailleinstitute.org/wp-content/uploads/${PORTNAME}-font/:source1 \
http://brailleinstitute.org/wp-content/uploads/2020/11/:source2
DISTFILES= ${AHF}-Print-and-Web-${PORTVERSION:S/./-/}.zip:source1 \
${AHF}-License-2020-1104.pdf:source2
EXTRACT_ONLY= ${AHF}-Print-and-Web-${PORTVERSION:S/./-/}.zip
MAINTAINER= jgh@FreeBSD.org
COMMENT= Braille Institute font for low vision readers
WWW= https://brailleinstitute.org/freefont
LICENSE= ATKINSON-HYPERLEGIBLE
LICENSE_NAME= ATKINSON HYPERLEGIBLE FONT LICENSE
LICENSE_FILE= ${DISTDIR}/${AHF}-License-2020-1104.pdf
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
USES= fonts zip
OPTIONS_DEFINE= OTF TTF WEB
OPTIONS_DEFAULT= OTF TTF
OTF_DESC= Install OTF fonts set
TTF_DESC= Install TTF fonts set
WEB_DESC= Install WEB fonts set
AHF= Atkinson-Hyperlegible-Font
OPTIONS_SUB= yes
SUB_FILES= pkg-message
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${AHF}-Print-and-Web-${PORTVERSION:S/./-/}
.include <bsd.port.options.mk>
post-extract:
@${MKDIR} ${WRKSRC}/allfonts
@${FIND} ${WRKSRC} -type f -exec ${MV} {} ${WRKSRC}/allfonts \;
do-install:
@${DO_NADA}
do-install-TTF-on:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.ttf ${STAGEDIR}${FONTSDIR}
do-install-OTF-on:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.otf ${STAGEDIR}${DATADIR}
post-install-WEB-on:
.for ext in svg eot woff woff2
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/allfonts/*.${ext} ${STAGEDIR}${DATADIR}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1664985764
SHA256 (Atkinson-Hyperlegible-Font-Print-and-Web-2020-0514.zip) = 9e1a65d53ddadc8253791e958a07bf5aba210ef6155ea9c91b2b4c46bbce53e3
SIZE (Atkinson-Hyperlegible-Font-Print-and-Web-2020-0514.zip) = 574460
SHA256 (Atkinson-Hyperlegible-Font-License-2020-1104.pdf) = 066982a89de7ce65f13a1cfabe91f93b5dbb09b6ca23f0525bc53eadb1d03423
SIZE (Atkinson-Hyperlegible-Font-License-2020-1104.pdf) = 56016

View File

@ -0,0 +1,17 @@
[
{ type: install
message: <<EOM
To use these fonts, add the following line to the "Files" section of
xorg.conf:
FontPath "%%FONTSDIR%%/"
Users of older versions of X may additionally have to make sure that
the freetype module is loaded. Check /var/log/Xorg.0.log for error
messages. If freetype is required, add the following line to the
"Modules" section of xorg.conf:
Load "freetype"
EOM
}
]

View File

@ -0,0 +1,4 @@
Atkinson Hyperlegible font is named after Braille Institute founder, J. Robert
Atkinson. What makes it different from traditional typography design is that
it focuses on letterform distinction to increase character recognition,
ultimately improving readability.

View File

@ -0,0 +1,24 @@
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.otf
%%OTF%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.otf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Bold-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-BoldItalic-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Italic-102.ttf
%%TTF%%%%FONTSDIR%%/Atkinson-Hyperlegible-Regular-102.ttf
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Bold-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-BoldItalic-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Italic-102a.woff2
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.eot
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.svg
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102.woff
%%WEB%%%%DATADIR%%/Atkinson-Hyperlegible-Regular-102a.woff2