Link

Imagine a scenario where we had a blog that has a language switcher between English and German. Generally German words are longer than English so we might want to set the reading length on the German version of our article to a slightly wider value.

The CSS might look something like this:

article {
   max-width:33em;
}
:lang(de) article {
  max-width:40em;
}

As soon as the ‘lang’ attribute is changed from the default en to de (through a mechanism like a language select dropdown) the width of the <article> changes to a wider reading length making a (potentially) easier read for our German readers.

(Source: twitter.com)

Link

(Source: twitter.com)

Link

This article advocates using proper unicode glyphs for quotes, like “” and ‘’ instead of ASCII straight quotes "" and '', thus removing the need to escape those in code. Some word processors or text formatters (e.g. some implementations of Markdown) automatically translate straight quotes into their proper curved equivalents.

This got me checking, out of the multiple apostrophe characters in Unicode, which was the right one for using in English as possessive (Moe’s bar) or in French for ellipsis (l’heure). Although the most used it the ASCII straight apostrophe U+0027 (or typewriter apostrophe) the recommended one is the punctuation apostrophe U+2019 &rsquo;, which also serves as a right/closing single quote.

Note that there are also separate characters for the prime sign (U+2032 &prime;, e.g. for feet, arcminutes and minutes) and for letter apostrophe when the apostrophe is considered as a letter in some languages.

Video

A lesson on typography

Oldie but goodie.

Photo
serialthrillerinspiration:

Keming, the result of improper kerning.

serialthrillerinspiration:

Keming, the result of improper kerning.

(Source: demeru, via nowinpocketsize)

Link

The size of your body text doesn’t depend on your personal preference. It depends on reading distance.

(Source: twitter.com)

Link

The article notably quotes Oliver Reichenstein’s The 100% Easy-2-Read Standard:

[16 pixels] is not big. It’s the text size browsers display by default. It’s the text size browsers were intended to display… It looks big at first, but once you use it you quickly realize why all browser makers chose this as the default text size.