mirror of
https://gitlab.com/degruyter-public/font/de-gruyter-sans_serif.git
synced 2026-09-19 21:40:46 +09:00
4424d73fc9e6a22e26668459e75508d41c7df512
Initial code commit See merge request de-gruyter/font/de-gruyter-sans_serif!1
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
Languages
TeX
54.9%
PostScript
26.8%
Ruby
17.5%
Python
0.4%
Makefile
0.4%