Autoría | Ultima modificación | Ver Log |
Usage of GNU FreeFontLanguage scripts and faces==========================There are three faces (serif, sans-serif, and monospace), and four styles(regular, bold, cursive/italic, and bold cursive/italic) for each face.There is one font file per face/style combination: 12 files in total.The letters for various languages, as well as specialized symbols, existamong the various font files, but they are not uniformly populated.All the fonts have complete support for Latin, Cyrillic, and Greek, aswell as most of the extensions for those scripts.At this time, serif regular has by far the largest number of letters, andsupports the largest number of writing scripts. However there are writingscripts supported by the sans-serif but not by serif.For an overview of which scripts and sets of symbols are supported bywhich face, see the FreeFont 'coverage' web page.Font features=============FreeFont has numerous font "features" that perform alterations to the basicletters of the font, replacing them with other letters, or positioning themwith respect to other letters.Many features are activated automatically, but in some environments, theypresent some user control. This documents those features with user control.Language-specific features==========================Some OpenType font features are activated only when the text is specified tobe of a certain language.This is done in HTML by enclosing the text with a tag whose 'lang' attributeis set to the appropriate ISO 632.2 language code. In a word processor,any block of text can be given a language setting.Latin-----Catalan ligature improving l·lDutch ligatures for ij, IJSami localized form for letter EngTurkish overrides ligatures fi ffi of LatinCyrillic--------Ukrainian ligature for double i-diaresisSerbian/Macedonian localized letters be, and more in italicBulgarian style set for modern glyphsHebrew------Yiddish raised vowels under yoDevanagari----------Sanskrit much larger set of ligaturesHindi, Marathi better spacing of Western punctuation marksIndic languages---------------The 'danda' character is encoded in Unicode only in the Devanagari range.When writing in scripts of other Indic languages, this same character is tobe used. But the shapes and line thicknesses of glyphs vary slightly fromone script to another, so the same glyph for 'danda' may not fit all scripts.By specifying the language of the text, an appropriate glyph for 'danda'will be obtained.Style sets==========These replacements are activated by specifying a "Style Set".These features are accessible only from typesetting software.Cyrillic Bulgarian modern (ss01)Devanagari Bombay (ss02), Calcutta (ss03), Nepali (ss04)Discretionary features======================These features are accessible only from typesetting software.Typically the user must specifically request them.Unless otherwise noted, these are available only in FreeSerif.Ligatures and substitutions---------------------------Arabic, Armenian, Hebrew, German, DutchSmall captials--------------A limited set of specially drawn small capital letters in Latin.Superscript and subscript-------------------------Transform a limited set of characters--mostly Latin letters and numerals--to versions well-sized and positioned as superscript or subscript.Numeral styles--------------The default numerals of FreeSerif are mono-spaced and of even height.It also features proportionally-spaced numerals, and "old-style" numerals--those which vary in height and sometimes go beneath the baseline.These can be had at discretion.Diagonal fractions------------------A limited set of diagonal fraction substitutions are available at discretion.The set is more than what is encoded in Unicode.They work with the ASCII slash or the mathematical slash U+2215.The transform a sequence "number-slash-number" to a diagonal form.Zero----A slashed form of the numeral zero is available at discretion.Available in all faces.Alternative characters======================FreeSerif has some listings of alternatives for specific characters.Again this is use primarily in specialized typesetting software.Greek, LatinUse in LaTeX============It is possible to use Unicode fonts in recent LaTeX implementations, but inLuaTeX http://www.luatex.org/ andXeTeX http://tug.org/xetex/it is particularly easy to use Unicode text, and to enable font features.Recent versions of these systems use the 'fontspec' package to choose fontsand features.A very simple document might contain the lines---------------------------------------------------------------------------\documentclass{ltxdockit}\usepackage{fontspec}\usepackage{xunicode}\setmainfont[]{FreeSerif}\begin{document}{\fontspec[Script=Default,Fractions={On}]{FreeSerif}1/7 3/10 7/10}x\raisebox{-0.5ex}{{\scriptsize ai}}x{\fontspec[Script=Default,VerticalPosition={Inferior}]{FreeSerif}abcdefghijklmnopqrstuvwxyz+−(0123456789)} \\x\raisebox{0.85ex}{{\scriptsize ai}}x{\fontspec[Script=Default,VerticalPosition={Superior}]{FreeSerif}abcdefghijklmnopqrstuvwxyz+−(0123456789)}{\fontspec[Script=Latin]{FreeSerif}\textsc{Small Caps} }{ Bсички хора се раждат свободни и равни по достойнство и права.\fontspec[Script=Cyrillic,Language=Bulgarian,Variant={1}]{FreeSerif} \selectfontBсички хора се раждат свободни и равни по достойнство и права. }\end{document}---------------------------------------------------------------------------Here are some 'fontspec' setting-value pairs meaningful for FreeFont.Numbers: Lining OldStyle Proportional SlashedZeroFractions: OnVerticalPosition: Superior InferiorLigatures: Common HistoricalLetters: UppercaseSmallCapsVariant: 1 (etc. -- must be in {} picks style set.)---------------------------------------------------------------------------$Id: usage.txt,v 1.10 2011-07-16 08:38:06 Stevan_White Exp $