From aa0f02912b5b6664c7e6976a467a0bd1d6c5d0c7 Mon Sep 17 00:00:00 2001 From: "lieuwe B. Leene" Date: Mon, 25 Nov 2024 11:54:36 +0100 Subject: [PATCH] add instructions for groff --- Fonts/groff_font.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Fonts/groff_font.sh b/Fonts/groff_font.sh index 63ca704..1a70cf0 100755 --- a/Fonts/groff_font.sh +++ b/Fonts/groff_font.sh @@ -15,3 +15,11 @@ for afm_file in ./*afm; do if [[ "${afm_file,,}" == *"bolditalic"* ]] ; then FONT_TYPE="BI" ; fi afmtodit -e $ENC_FILE $afm_file $MAP_FILE "${FONT_FAMILY}${FONT_TYPE}" done + +# Place the generated font file in your .local directory +# and set GROFF_FONT_PATH="$HOME/.local/share/groff/site-font" during compile +# +# $HOME/.local/share/groff/site-font/devpdf: +# IBM-Plex-SansB IBM-Plex-SansBI IBM-Plex-SansI IBM-Plex-SansR +# $HOME/.local/share/groff/site-font/devps: +# IBM-Plex-SansB IBM-Plex-SansBI IBM-Plex-SansI IBM-Plex-SansR