add instructions for groff

This commit is contained in:
lieuwe B. Leene 2024-11-25 11:54:36 +01:00
parent 4ed6c9fcf1
commit aa0f02912b

View File

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