mirror of
https://gitlab.com/degruyter-public/font/de-gruyter-sans_serif.git
synced 2026-09-19 21:40:46 +09:00
873 B
873 B
De Gruyter Font
Installation
Requirements
Required are the essential build tools, ruby, fontforge and texlive
sudo apt install build-essential ruby fontforge texlive-xetex texlive-lang-greek texlive-lang-german texlive-humanities texlive-math-extra
build-essential -> Make fontforge -> automatic fontediting texlive -> rendering of the example document
necessary libraries for ruby
gem install nokogiri gem install pdfkit gem install active_record
Usage
Creation of new fonts
- place source font for glyphs in source_fonts
- in config/chars.csv define the fonts used for the glyph for serif and sans serif versions (regular, bold, italic, bold italic)
- make new-font-set
- the new fonts are placed in output/
Creation of test document with the new fonts
- make render-pdf
- the new document is placed in pdf-output/document.pdf