Difference between revisions of "Fonts"

From Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
{{ThreeColumnsHighlight
 
{{ThreeColumnsHighlight
 
|
 
|
=== [[Use_fonts_provided_with_ConTeXt|Use fonts provided with ConTeXt]] ===  
+
=== [[Use_fonts_provided_with_ConTeXt|#1 Use fonts provided with ConTeXt]] ===  
 
Really the basics, in 2 or 3 steps, less than 1 minute.
 
Really the basics, in 2 or 3 steps, less than 1 minute.
 
|  
 
|  
=== [[Use fonts found on the web|Use fonts found on the web]] ===  
+
=== [[Use fonts found on the web|#2 Use fonts found on the web]] ===  
 
Also the basics, in 2 or 3 steps, less than 5 minutes.
 
Also the basics, in 2 or 3 steps, less than 5 minutes.
 
|
 
|
=== [[Use_fonts_of_your_OS_(2020)|Use fonts of your Operating System]] ===
+
=== [[Use_fonts_of_your_OS_(2020)|#3 Use fonts of your Operating System]] ===
Few commands, and then it will be like "Use fonts found on the web"
+
Few preliminary commands, then it's as easy as '''#2'''
 
}}
 
}}
  

Revision as of 17:57, 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.