Difference between revisions of "Fonts"

From Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
|
 
|
 
=== [[Use_fonts_of_your_OS_(2020)|Use fonts of your Operating System]] ===
 
=== [[Use_fonts_of_your_OS_(2020)|Use fonts of your Operating System]] ===
 +
Few commands, and then it will be like "Use fonts found on the web"
 
}}
 
}}
  

Revision as of 17:55, 1 June 2020


Using fonts with TeX was once a Jedi fight. Since (2013 /2015 ?), and LuaTeX development.

NOWADAYS, IT'S A PIECE OF CAKE.


Advanced stuff

You have to define "definefontfallback"

A quite complete example: Alegreya_Typescript


Style, see the font chapter, of the never really issued Reference Manual:


I want use specific features

  • Small caps
  • Ligatures
  • Kerning
  • expansion=quality
  • protrusion=quality,
  • other: tlig, ccmp, fonts-mkiv.pdf page 65.


weight light, regular, medium, bold, extra... width : condensed, Semi Condensed , regular, Semi Extended , Extended shape : regular, italic caps : regular, smallcaps

Liens

I just have realised that \definefont requires fontname of font not identifier neither familyname.