Difference between revisions of "User:Luigi.scarso/stix"
Jump to navigation
Jump to search
Luigi.scarso (talk | contribs) (New page: == STIX Fonts: a first example == Stix fonts are out now: see [http://www.stixfonts.org http://www.stixfonts.org]) |
Luigi.scarso (talk | contribs) |
||
Line 1: | Line 1: | ||
== STIX Fonts: a first example == | == STIX Fonts: a first example == | ||
Stix fonts are out now: see [http://www.stixfonts.org http://www.stixfonts.org] | Stix fonts are out now: see [http://www.stixfonts.org http://www.stixfonts.org] | ||
+ | |||
+ | Hans has made a simple pdf (see [http://wiki.contextgarden.net/images/d/d3/Test.pdf http://wiki.contextgarden.net/images/d/d3/Test.pdf]) | ||
+ | |||
+ | so we can see them with xpdf (xpdf appears to be broken with pdf from stix's zip) | ||
+ | |||
+ | <texcode> | ||
+ | |||
+ | \starttypescript [math] [stix] [name] | ||
+ | \definefontsynonym[MathRoman][file:stixgeneral.otf] [features=math] | ||
+ | \stoptypescript | ||
+ | |||
+ | \starttypescript [serif] [stix] [name] % why 'italic' infull and 'bol' without 'd'? | ||
+ | \definefontsynonym[Serif] [file:stixgeneral.otf] [features=default] | ||
+ | \definefontsynonym[SerifBold] [file:stixgeneralbol.otf] [features=defaulth] | ||
+ | \definefontsynonym[SerifItalic] [file:stixgeneralitalic.otf] [features=default] | ||
+ | \definefontsynonym[SerifBoldItalic][file:stixgeneralbolita.otf] [features=default] | ||
+ | \stoptypescript | ||
+ | |||
+ | \starttypescript[stix] | ||
+ | \definetypeface [stix] [rm] [serif] [stix] [default] | ||
+ | \definetypeface [stix] [mm] [math] [stix] [default] | ||
+ | \stoptypescript | ||
+ | |||
+ | \usetypescript[stix] | ||
+ | \setupbodyfont[stix] | ||
+ | |||
+ | \usemodule[fnt-25] | ||
+ | |||
+ | \startbuffer[mathtest] | ||
+ | \begingroup\mm\mr\showmathfontcharacters\endgroup | ||
+ | \stopbuffer | ||
+ | |||
+ | \starttext | ||
+ | \getbuffer[mathtest] | ||
+ | |||
+ | \stoptext | ||
+ | </texcode> |
Revision as of 22:06, 28 May 2010
STIX Fonts: a first example
Stix fonts are out now: see http://www.stixfonts.org
Hans has made a simple pdf (see http://wiki.contextgarden.net/images/d/d3/Test.pdf)
so we can see them with xpdf (xpdf appears to be broken with pdf from stix's zip)
\starttypescript [math] [stix] [name] \definefontsynonym[MathRoman][file:stixgeneral.otf] [features=math] \stoptypescript \starttypescript [serif] [stix] [name] % why 'italic' infull and 'bol' without 'd'? \definefontsynonym[Serif] [file:stixgeneral.otf] [features=default] \definefontsynonym[SerifBold] [file:stixgeneralbol.otf] [features=defaulth] \definefontsynonym[SerifItalic] [file:stixgeneralitalic.otf] [features=default] \definefontsynonym[SerifBoldItalic][file:stixgeneralbolita.otf] [features=default] \stoptypescript \starttypescript[stix] \definetypeface [stix] [rm] [serif] [stix] [default] \definetypeface [stix] [mm] [math] [stix] [default] \stoptypescript \usetypescript[stix] \setupbodyfont[stix] \usemodule[fnt-25] \startbuffer[mathtest] \begingroup\mm\mr\showmathfontcharacters\endgroup \stopbuffer \starttext \getbuffer[mathtest] \stoptext