Compare commits

..

2 Commits

Author SHA1 Message Date
lieuwe B. Leene
9409194aca dont track TT derived front files 2024-11-25 11:55:54 +01:00
lieuwe B. Leene
aa0f02912b add instructions for groff 2024-11-25 11:54:36 +01:00
2 changed files with 12 additions and 0 deletions

4
.gitignore vendored
View File

@ -2,6 +2,10 @@
Examples/tex_output Examples/tex_output
Documents/ Documents/
## Generated font files
*.afm
*.pfa
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:
*.aux *.aux
*.lof *.lof

View File

@ -15,3 +15,11 @@ for afm_file in ./*afm; do
if [[ "${afm_file,,}" == *"bolditalic"* ]] ; then FONT_TYPE="BI" ; fi if [[ "${afm_file,,}" == *"bolditalic"* ]] ; then FONT_TYPE="BI" ; fi
afmtodit -e $ENC_FILE $afm_file $MAP_FILE "${FONT_FAMILY}${FONT_TYPE}" afmtodit -e $ENC_FILE $afm_file $MAP_FILE "${FONT_FAMILY}${FONT_TYPE}"
done 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