Commits

Philipp Gesang committed 31a6f74

expand font name test with style categories

  • Participants
  • Parent commits 9553343

Comments (0)

Files changed (1)

File pln-psfonts-3-fontname.tex

 \baselineskip 14.4dd
 
 \edef \pfaone   {BrushScriptX-Italic}
-\edef \pfbone   {URW Grotesk T}          %% ugqb8a.pfb
+\edef \pfbone   {URW Grotesk T}          %% ugqb8a.pfb (Bold, there’s only one of these)
 \edef \pfbtwo   {AntPoltCond}            %% antpr17.pfb
 \edef \pfbthree {Quattrocento}           %% QuattrocentoRegular.pfb
 \edef \pfbfour  {Bitstream Charter}      %% bchr8a.pfb
-
+\edef \pfbfive  {LMMonoPropLt10}         %% lmvtl10.pfb  (regular)
+\edef \pfbsix   {LMMonoPropLt10/I}       %% lmvtlo10.pfb (italic)
+\edef \pfbseven {LMMonoPropLt10/B}       %% lmvtk10.pfb  (bold)
+\edef \pfbeight {LMMonoPropLt10/BI}      %% lmvtko10.pfb (bold italic)
 
 \ifdefined \directlua
   \ifdefined \luatexsuppresslongerror
   \font\pfbb = "name:\pfbtwo"   at \scaleto
   \font\pfbc = "name:\pfbthree" at \scaleto
   \font\pfbd = "name:\pfbfour"  at \scaleto
+  \font\pfbe = "name:\pfbfive"  at \scaleto
+  \font\pfbf = "name:\pfbsix"   at \scaleto
+  \font\pfbg = "name:\pfbseven" at \scaleto
+  \font\pfbh = "name:\pfbeight" at \scaleto
 \else
-  %% none of these seem to work
-  %font\pfaa = "\pfaone"   at \scaleto
-
-  \font\pfba = "\pfbone"   at \scaleto
-  \font\pfbb = "\pfbtwo"   at \scaleto
-  \font\pfbc = "\pfbthree" at \scaleto
-  \font\pfbd = "\pfbfour"  at \scaleto
+  %% none of the above seem to work
 \fi
 
 \def\test#1{before
 \test\pfbb
 \test\pfbc
 \test\pfbd
+\test\pfbe
+\test\pfbf
+\test\pfbg
+\test\pfbh
 
 \bye