Last active
December 15, 2015 17:59
-
-
Save phi-gamma/5300862 to your computer and use it in GitHub Desktop.
ConTeXt MkIV typescript for the Adobe Blank font.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\def\lorem#1{% | |
\bgroup | |
\type{#1}\hskip\emwidth | |
#1 | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do | |
eiusmod tempor incididunt ut labore et dolore magna aliqua.\par | |
\egroup | |
} | |
\def\weights{\sans,\italic,\bold,\bolditalic} | |
\def\fonttest{% | |
\hairline | |
\blank[line] | |
\framed[frame=no,align=middle,width=broad]{Font: Adobe Sans} | |
\bgroup | |
\switchtobodyfont[adobeblank]% | |
\serif \processcommacommand[\weights]\lorem | |
\sans \processcommacommand[\weights]\lorem | |
\egroup | |
\blank[line] | |
} | |
\usetypescriptfile [adobeblank] | |
\usetypescript [adobeblank] | |
\starttext \fonttest \stoptext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%D \module | |
%D [ file=type-imp-adobeblank.mkiv, | |
%D version=2013-04-03 14:18:30+0200, | |
%D title=\CONTEXT\ Typescript Macros, | |
%D subtitle=Adobe Blank, | |
%D author=Philipp Gesang, | |
%D date=\currentdate, | |
%D copyright=Philipp Gesang] | |
%M Announcement: | |
%M http://blogs.adobe.com/typblography/2013/03/introducing-adobe-blank.html | |
%M | |
%M Files in the orginal distribution: | |
%M · AdobeBlank.otf | |
%M Available Opentype features: none | |
\starttypescriptcollection[adobeblank] | |
\starttypescript [\s!serif,\s!sans] [adobeblank] | |
\definefontsynonym [AdobeBlank-Regular] [\s!file:adobeblank.otf] [\s!features=\s!default] | |
\definefontsynonym [AdobeBlank-Italic] [\s!file:adobeblank.otf] [\s!features=\s!default] | |
\definefontsynonym [AdobeBlank-Bold] [\s!file:adobeblank.otf] [\s!features=\s!default] | |
\definefontsynonym [AdobeBlank-BoldItalic] [\s!file:adobeblank.otf] [\s!features=\s!default] | |
\stoptypescript | |
\starttypescript [\s!serif] [adobeblank] [\s!name] | |
\setups[\s!font:\s!fallback:\s!serif] | |
\definefontsynonym [\s!Serif] [AdobeBlank-Regular] | |
\definefontsynonym [\s!SerifItalic] [AdobeBlank-Italic] | |
\definefontsynonym [\s!SerifBold] [AdobeBlank-Bold] | |
\definefontsynonym [\s!SerifBoldItalic] [AdobeBlank-BoldItalic] | |
\stoptypescript | |
\starttypescript [\s!sans] [adobeblank] [\s!name] | |
\setups[\s!font:\s!fallback:\s!sans] | |
\definefontsynonym [\s!Sans] [AdobeBlank-Regular] | |
\definefontsynonym [\s!SansItalic] [AdobeBlank-Italic] | |
\definefontsynonym [\s!SansBold] [AdobeBlank-Bold] | |
\definefontsynonym [\s!SansBoldItalic] [AdobeBlank-BoldItalic] | |
\stoptypescript | |
\starttypescript [adobeblank] | |
\definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default] | |
\definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default] | |
% \definetypeface [\typescriptone] [\s!tt] [\s!mono] [modern] [\s!default] | |
\definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default] | |
\quittypescriptscanning | |
\stoptypescript | |
\stoptypescriptcollection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment