Changes

Jump to navigation Jump to search
1,021 bytes added ,  16:56, 9 July 2008
A simple page to setup font for use in luatex. Please Contribute.
{{note|This page is not finished yet}}

'''Please, someone, fill this page !'''

Just the simplest way to use an otf font — or any font that does appear in <tt>mtxrun --script font --list</tt> — in all the document.

I’m stick here :

\definefontfeature [myfontfeature] [method=node, kern=yes, OTHER_FEATURE_COMMA_SEPERATED]
\definefontsynonym [MyFontRegular] [name:TheFontName-Regular][features=myfontfeature]
\definedfont [MyFontRegular at 16pt]

This doesn’t run for my title which use « \tfc », only for the body of the text.

*\definefontfeature
**[myfontfeature] : you can use the name you want. It will be use at the next line ;
**the fonts feature can be found with <tt>otfinfo -f TheFontFile.otf</tt>.
*\definefontsynonym :
**[MyFontRegular] : you can use the name you want. It will be use at the next line ;
**The name after <tt>name:</tt> is the name given by <tt>mtxrun --script font --list</tt>
**The « name: » part can be replaced by <tt>file:TheFontFile.otf</tt>

[[Category:Fonts]]
19

edits

Navigation menu