summaryrefslogtreecommitdiff
path: root/tex/context/base/type-win.mkii
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-07-04 15:32:09 +0300
committerMarius <mariausol@gmail.com>2010-07-04 15:32:09 +0300
commit85b7bc695629926641c7cb752fd478adfdf374f3 (patch)
tree80293f5aaa7b95a500a78392c39688d8ee7a32fc /tex/context/base/type-win.mkii
downloadcontext-85b7bc695629926641c7cb752fd478adfdf374f3.tar.gz
stable 2010-05-24 13:10
Diffstat (limited to 'tex/context/base/type-win.mkii')
-rw-r--r--tex/context/base/type-win.mkii69
1 files changed, 69 insertions, 0 deletions
diff --git a/tex/context/base/type-win.mkii b/tex/context/base/type-win.mkii
new file mode 100644
index 000000000..cb0ad19f5
--- /dev/null
+++ b/tex/context/base/type-win.mkii
@@ -0,0 +1,69 @@
+%D \module
+%D [ file=type-msw,
+%D version=2005.02.04,
+%D title=\CONTEXT\ Typescript Macros,
+%D subtitle=Microsoft Windows Fonts,
+%D author=Hans Hagen,
+%D date=\currentdate,
+%D copyright={PRAGMA / Hans Hagen \& Ton Otten}]
+%C
+%C This module is part of the \CONTEXT\ macro||package and is
+%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
+%C details.
+
+% \usetypescriptfile[type-msw]
+%
+% \definetypeface[verdana][ss][sans] [verdana] [default][encoding=texnansi]
+% \definetypeface[verdana][rm][serif][palatino][default][encoding=texnansi,rscale=1.1]
+% \definetypeface[verdana][mm][math] [palatino][default][encoding=texnansi,rscale=1.1]
+% \definetypeface[verdana][tt][mono] [modern] [default][encoding=texnansi,rscale=1.25]
+%
+% \setupbodyfont[verdana] \showfontstrip
+%
+% \startlines
+% {\rm test {\sl test} {\it test} {\bf test} {\bs test} {\bi test}}
+% {\ss test {\sl test} {\it test} {\bf test} {\bs test} {\bi test}}
+% {\tt test {\sl test} {\it test} {\bf test} {\bs test} {\bi test}}
+% \stoplines
+
+\starttypescriptcollection[windows]
+
+% verdana
+
+\starttypescript [sans] [verdana] [name]
+ \setups[font:fallback:sans]
+ \definefontsynonym [Sans] [Verdana]
+ \definefontsynonym [SansBold] [Verdana-Bold]
+ \definefontsynonym [SansItalic] [Verdana-Italic]
+ \definefontsynonym [SansBoldItalic] [Verdana-BoldItalic]
+\stoptypescript
+
+\starttypescript [sans] [verdana] [texnansi,ec,qx]
+ \definefontsynonym [Verdana] [\typescriptthree-verdana] [encoding=\typescriptthree]
+ \definefontsynonym [Verdana-Bold] [\typescriptthree-verdanab] [encoding=\typescriptthree]
+ \definefontsynonym [Verdana-Italic] [\typescriptthree-verdanai] [encoding=\typescriptthree]
+ \definefontsynonym [Verdana-BoldItalic] [\typescriptthree-verdanaz] [encoding=\typescriptthree]
+ \loadmapfile[\typescriptthree-microsoft-verdana.map]
+\stoptypescript
+
+% arial
+
+\starttypescript [sans] [arial] [name]
+ \setups[font:fallback:sans]
+ \definefontsynonym [Sans] [ArialMT]
+ \definefontsynonym [SansBold] [Arial-BoldMT]
+ \definefontsynonym [SansItalic] [Arial-ItalicMT]
+ \definefontsynonym [SansBoldItalic] [Arial-BoldItalicMT]
+\stoptypescript
+
+\starttypescript [sans] [arial] [texnansi,ec,qx]
+ \definefontsynonym [ArialMT] [\typescriptthree-arial] [encoding=\typescriptthree]
+ \definefontsynonym [Arial-BoldMT] [\typescriptthree-arialbd] [encoding=\typescriptthree]
+ \definefontsynonym [Arial-ItalicMT] [\typescriptthree-ariali] [encoding=\typescriptthree]
+ \definefontsynonym [Arial-BoldItalicMT] [\typescriptthree-arialbi] [encoding=\typescriptthree]
+ \loadmapfile[\typescriptthree-microsoft-arial.map]
+\stoptypescript
+
+\stoptypescriptcollection
+
+\endinput