Syntax Highlight Everything Kenneth Ormandy Designer @kennethormandy
Front-Trends May 19, 2016 at Space Club, Warsaw, Poland
Slide 2
/** * Fetch all the file paths for a directory. * returns and array of all the relative paths. */ exports.ls = function(dir, callback) { walk(dir, function(err, results){ var files = [] results.map(function(file){ files.push(path.relative(dir, file)) }) callback(null, files) }) }
Slide 3
/** * Fetch all the file paths for a directory. * returns and array of all the relative paths. */ exports.ls = function(dir, callback) { walk(dir, function(err, results){ var files = [] results.map(function(file){ files.push(path.relative(dir, file)) }) callback(null, files) }) }
Slide 4
Reading code is reading
Slide 5
Syntax highlighting is designed
Slide 6
Typographic conventions
Slide 7
Slide 8
A visual hierarchy
Slide 9
Similarity through colour
Slide 10
Slide 11
Similarity
Slide 12
If it’s the same, make it the same. If it’s different, make it different.
—All my graphic design instructors, September 2010–present
Slide 13
Slide 14
Slide 15
Slide 16
This qualifies as a talk on testing now, right?
Slide 17
Slide 18
Slide 19
Slide 20
Slide 21
Slide 22
Slide 23
Slide 24
Slide 25
Slide 26
Continuity & Symmetry
Slide 27
Slide 28
Slide 29
Slide 30
Slide 31
Familiarity
Slide 32
It is the readers’ familiarity with [type]faces that accounts for their legibility. …readers read best what they read most.
—Zuzana Licko —While you’re reading, p. 43
Slide 33
Amy Allcock, Gutenberg Bible. Photograph. CC by 2.0.
Slide 34
Slide 35
Slide 36
Yes, feel free to take that idea and build a text editor plugin.
Slide 37
I’m sure you’ll open source it before my talk is even over.
Slide 38
Just…keep paying attention to the typography, okay?
Slide 39
Slide 40
Similarity through size?
Slide 41
Slide 42
Slide 43
Highlighting relationships
Slide 44
Berners-Lee, Tim. (1990).No title [Screenshot]. Retrieved from http://www.w3.org/ People/Berners-Lee/ WorldWideWeb.html
Slide 45
Ratdolt, Erhard. No title [Lithographed reproduction].
Slide 46
The End of Ideas
Slide 47
Reading was hard work — so hard, indeed, that one would usually read out loud
—Marcin Wichary October 2014, First in, first out: The pilcrow’s strange typographic history
Slide 48
Provenance Online Project. Leaf a6r of an incunable… CC by 2.0.
Slide 49
Thanks to Frutiger it is now common practice to produce a dozen or more styles when working on a new type family.
—Peter Biľak April 2012, Designing type systems
body {
font-variant-ligatures: common-ligatures;
}
Slide 77
body {
font-variant-ligatures: common-ligatures;
}
Slide 78
/* The best-case scenario CSS… we’ll come back to this. */
body {
font-variant-ligatures: common-ligatures;
}
Slide 79
dlig
Discretionary Ligatures
Slide 80
Prince, Joe. (2006–2012). Klinic Slab Bold [Typeface]. Lost Type Co-op.
Slide 81
Prince, Joe. (2006–2012). Klinic Slab Bold [Typeface]. Lost Type Co-op.
Slide 82
h1 {
font-variant-ligatures: common-ligatures;
}
Slide 83
h1 {
font-variant-ligatures: common-ligatures;
}
Slide 84
Travis Gertz, Louder Than Ten, 2015. louderthanten.com.
Slide 85
calt
Contextual Alternates
Slide 86
Edmondson, James T. (2012). Lavanderia [Typeface]. Lost Type Co-op.
Slide 87
Edmondson, James T. (2012). Lavanderia [Typeface]. Lost Type Co-op.
Slide 88
Nallaperumal, Shiva. (2014). Enemy [Typeface]. Lost Type Co-op.
Slide 89
h1 { font-variant-ligatures: contextual; }
Slide 90
aalt, calt, etc.
Language-specific Considerations
Slide 91
English
Dutch
Underware. (2014). Typesetting the Dutch IJ.
Slide 92
Gandhi, Kimya. (2016). Design of a handwritten Devanagari typeface.
Slide 93
salt
Stylistic Alternates
Slide 94
Edmondson, James T. (2012). Lavanderia [Typeface]. Lost Type Co-op.
Slide 95
Edmondson, James T. (2012). Lavanderia [Typeface]. Lost Type Co-op.
Slide 96
Titling Alts. Stylistic Alts.
Contextual Alts. Stylistic Alts. Swashes
Edmondson, James T. (2012). Lavanderia [Typeface]. Lost Type Co-op.
Slide 97
…provide simpler forms (no loops on top) for the lowercase b, h, f, l, and k. Simpler forms can work better in certain situations. —James T. Edmondson —Introducing Lavanderia
Front Trends HQ Hudson, J. (2006–2012). Brill [Typeface].
Slide 110
Front Trends HQ Hudson, J. (2006–2012). Brill [Typeface].
Slide 111
Front Trends HQ Hudson, J. (2006–2012). Brill [Typeface].
Slide 112
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Slide 113
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Slide 114
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Slide 115
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Poland is in the European Union and Schengen Zone. If you’re a citizen of these visa-free countries, you don’t need any documents other than government ID or passport to enter Poland for 90 days. If you do need a visa, Front-Trends is happy to provide a document for you to join us.
Slide 116
No is better than faux
Slide 117
ront Trends HQ ront Trends HQ ront Trends HQ
Capitals
Small Capitals
Faux Small Capitals
Hudson, J. (2006–2012). Brill Bold [Typeface].
Slide 118
ront Trends HQ ront Trends HQ ront Trends HQ HQ
Capitals
Small Capitals
Faux Small Capitals
Hudson, J. (2006–2012). Brill Bold [Typeface].
Slide 119
Butterick, M. (2010–2014). Butterick’s Practical Typography.
Slide 120
/* Don’t do this! Creates faux Small Caps. */ .caps { font-variant: small-caps; }
Slide 121
/* Real Small Caps. */ .caps { font-variant-caps: small-caps; }
Slide 122
Surge.sh, 2015. surge.sh.
Slide 123
Unlimited publishing Custom domain Custom SSL Force HTTP to HTTPS
Thanks Kenneth Ormandy Designer @kennethormandy
Front-Trends May 19, 2016 at Space Club, Warsaw, Poland
Slide 167
Works cited The WorldWideWeb browser. Sir Tim Berners-Lee. N.d.
Basscss design principles. Brent Jackson. 2015.
Echo font family, OpenType font features. Typotheque. 2015.
Designing type systems. Peter Biľak. 2012.
Design Of A Handwritten Devanagari Typeface. Kimya Gandhi. 2016.
While you’re reading. Gerard Unger. 2007.
Butterick’s practical typography. Matthew Butterick. 2010–2016. OpenType features in web browsers. Gustavo Ferreira. 2012. Flipping tables: Displaying data on small screens. Stephanie Hobson. 2015.
OpenType specification. Microsoft, et al. 1997–2015. Font-Variant css. Mozilla, et al. 2014–2016. State of web type. Bram Stein. 2014–2015.
First in, first out: The pilcrow’s strange typographic history. Marcin Wichary. 2014.