| 1 |
%% This is part of the OpTeX project, see http://petr.olsak.net/optex |
| 2 |
|
| 3 |
\_famdecl [Culmus] \Culmus {Hebrew fonts from the Culmus project} |
| 4 |
{\roman \sans \mono} {\rm \bf \it \bi} {} |
| 5 |
{[DavidCLM-Medium]} |
| 6 |
{\_def\_fontnamegen {[\_subfamV CLM-\_currV]:script=hebr;\_fontfeatures}} |
| 7 |
|
| 8 |
\_wlog{\_detokenize{% |
| 9 |
script=hebr is set by default,^^J |
| 10 |
use e.g \setff{script={}}\rm^^J |
| 11 |
to suppress this.^^J |
| 12 |
Modifiers (subfamilies):^^J |
| 13 |
\roman ...... \rm, \it = Medium, \bf, \bi = Bold (Roman)^^J |
| 14 |
\sans ...... \rm, \it = Light, \bf, \bi = Bold (Sans)^^J |
| 15 |
\mono ...... \rm, \it = Book, \bf, \bi = Bold (Mono)^^J |
| 16 |
}} |
| 17 |
|
| 18 |
% modifiers (they select a subfamily) |
| 19 |
\_moddef \resetmod {\_fsetV subfam=David \_fvars Medium Bold MediumItalic BoldItalic } |
| 20 |
\_moddef \roman {\_fsetV subfam=David \_fvars Medium Bold MediumItalic BoldItalic } |
| 21 |
\_moddef \sans {\_fsetV subfam=Nachlieli \_fvars Light Bold LightOblique BoldOblique } |
| 22 |
\_moddef \mono {\_fsetV subfam=MiriamMono \_fvars Book Bold BookOblique BoldOblique } |
| 23 |
\_initfontfamily % new font family must be initialized |
| 24 |
|
| 25 |
\_endcode |