pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/recursive-ttf fonts/recursive-ttf: add "code" va...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6476b3b4347
branches:  trunk
changeset: 768694:b6476b3b4347
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Sat Oct 30 13:46:42 2021 +0000

description:
fonts/recursive-ttf: add "code" variant of the fonts.

These have code ligatures & several stylistic sets pre-applied so they
will work by default in most code environments & apps. These are also
named & configured in a way that enables their use in code themes that
utilize italic & bold styles. If you wish to configure specific features
in Rec Mono fonts, see
Recursive Code Config https://github.com/arrowtype/recursive-code-config

- Regular, Italic, Bold, & Bold Italic static fonts
- Frozen-in Code Ligatures
- An abbreviated family name to enable italic themes on macOS
- Reduced-slant italics for easier readability in code (normal Recursive
  Italics have slnt=-15, which is pretty intense)
- Frozen-in OpenType features to enhance legibility for code (e.g.
  making 1 and l instantly recognizable)
  - `ss03` # simplified f
  - `ss05` # simplified l
  - `ss08` # serifless L and Z
  - `ss09` # simplified 6 and 9
  - `ss12` # simplified @

diffstat:

 fonts/recursive-ttf/Makefile |  15 +++++++++++++--
 fonts/recursive-ttf/PLIST    |  18 +++++++++++++++++-
 2 files changed, 30 insertions(+), 3 deletions(-)

diffs (67 lines):

diff -r 3cdf16ad572b -r b6476b3b4347 fonts/recursive-ttf/Makefile
--- a/fonts/recursive-ttf/Makefile      Sat Oct 30 12:37:48 2021 +0000
+++ b/fonts/recursive-ttf/Makefile      Sat Oct 30 13:46:42 2021 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2021/10/30 12:37:38 rhialto Exp $
+# $NetBSD: Makefile,v 1.6 2021/10/30 13:46:42 rhialto Exp $
 
 GITHUB_PROJECT=        recursive
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 DISTNAME=      ArrowType-Recursive-${PKGVERSION_NOREV}
 PKGNAME=       recursive-ttf-1.082
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arrowtype/}
 EXTRACT_SUFX=  .zip
@@ -14,11 +15,21 @@
 LICENSE=       ofl-v1.1
 
 # \todo: Build from source.
-# \todo: Install more of the fonts?
+# \todo: Install even more of the fonts? woff?
 
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
 WRKSRC=                ${WRKDIR}/${DISTNAME}/Recursive_Desktop/separate_statics/OTF
+WRKSRC2=       ${WRKDIR}/${DISTNAME}/Recursive_Code
+
+.PHONY: install-fonts2
+
+do-install: install-fonts2
+
+install-fonts2:
+       @${STEP_MSG} "Installing all .ttf files from ${WRKSRC2}"
+       ${FIND} ${WRKSRC2} -name ${DESTDIR:T} -prune -o -iname '*.ttf' -exec \
+               ${INSTALL_DATA} "{}" ${DESTDIR}${TTF_FONTS_DIR} ";"
 
 .include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3cdf16ad572b -r b6476b3b4347 fonts/recursive-ttf/PLIST
--- a/fonts/recursive-ttf/PLIST Sat Oct 30 12:37:48 2021 +0000
+++ b/fonts/recursive-ttf/PLIST Sat Oct 30 13:46:42 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/01/31 15:44:47 rhialto Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/10/30 13:46:42 rhialto Exp $
 share/fonts/X11/OTF/RecursiveMonoCslSt-BdItalic.otf
 share/fonts/X11/OTF/RecursiveMonoCslSt-Black.otf
 share/fonts/X11/OTF/RecursiveMonoCslSt-BlkItalic.otf
@@ -64,3 +64,19 @@
 share/fonts/X11/OTF/RecursiveSansLnrSt-XBlk.otf
 share/fonts/X11/OTF/RecursiveSansLnrSt-XBlkItalic.otf
 @pkgdir share/fonts/X11/OTF
+share/fonts/X11/TTF/RecMonoCasual-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoCasual-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoDuotone-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoLinear-Regular-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Bold-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-BoldItalic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Italic-${PKGVERSION}.ttf
+share/fonts/X11/TTF/RecMonoSemicasual-Regular-${PKGVERSION}.ttf



Home | Main Index | Thread Index | Old Index