Commits

Philipp Gesang  committed 4438b18

include font names in pfb example

  • Participants
  • Parent commits 7a1e31b

Comments (0)

Files changed (1)

File pln-type1-1.tex

   \font\d="file:anttcli.pfb"
   \font\e="file:pcr10.pfb"
   \font\f="file:cyklopi.pfb"
+
+  \font\z="name:DejaVu Sans Light"
+  \font\y="name:Nimbus Roman No9 L"
+  \font\x="name:AntPoltSemiCond"
+  \font\w="name:AntPoltSemiCond/i"
+  \font\v="name:AntPoltSemiCond/b"
+  \font\u="name:AntPoltSemiCond/bi"
+  \font\t="name:Linux Biolinum T"
+  \font\s="name:Linux Biolinum T/i"
+  \font\r="name:Linux Biolinum T/b"
+  \font\q="name:Linux Biolinum T/bi"
 \else
   \font\a="[ybvbi8a.pfb]"
   \font\b="[ylyr8a.pfb]"
   \font\d="[anttcli.pfb]"
   \font\e="[pcr10.pfb]"
   \font\f="[cyklopi.pfb]"
+
+  %\font\z={"DejaVu Sans Light"} %% ?? don’t work
+  %\font\z={"DejaVu Sans ExtraLight"} %% ?? don’t work
+  %\font\z={"URW Chancery L"} %% ?? don’t work
 \fi
 
 \def \test #1{{#1[\fontname\font\hskip1em This water is a lie!]\par}}
 
+load by file name
+
 \test\a
 \test\b
 \test\c
 \test\e
 \test\f
 
+load by font name
+
+\ifdefined \directlua
+  \test\z
+  \test\y
+  \test\x
+  \test\w
+  \test\v
+  \test\u
+  \test\t
+  \test\s
+  \test\r
+  \test\q
+\fi
+
 \bye