CSS3 Fonts Notes | CSS: Presentation Layer

Standards Based Development

Lazy dog being jumped over by a quick, brown fox (Animated)

The quick brown fox jumps over the lazy dog. Literally. The quick brown fox jumps over the lazy dog, http://imgur.com/v2BoIZP

Font Characteristics, terms, and related information:

Typeface

Typeface (design) name: like "Georgia", or "Comic Sans".

Width

Font names associated with width:

Width can also have further divisions using preprended "extra-" or "ultra-".

Variant (Also Optical Variant)

Slope

Weight

Font Weight Naming Conventions
Weight NameWeight Shorthand

Weight can also be expressed as numbers (and be included in the name) as per Adrian Frutiger’s system used for the Univers typeface. CSS uses a range from 100–900 with 900 being the heaviest weight.

Hairline / HairH
Ultra-light (font-weight:100)UL
Thin (font-weight:200)T
Extra-lightXL
LightL
Book (font-weight:300)R
Regular / Normal / Plain / Roman / Standard (font-weight:400) (used for the default weight of the typeface)R
MediumM
Semi-bold / Demi-bold (font-weight:500)SB
Bold (font-weight:600)B
Extra-bold / Extra (font-weight:700)XB
Heavy Black / Heavy / Black (font-weight:800)V (Heavy) - K (Black)
Extra-black
Ultra-black / Ultra Bold (font-weight:900)UB

Font Weights in Windows

TrueType historically used values of 400 for a "regular" font in a Windows family with 700 for "bold" style-linked font; because of this, in practice many/most Windows applications do not handle all possible values witout problems. Certain weightclasses, or style-lining certain weights, can result in fonts which are incorrectly "smeared bold", or cases where regardless of which font is selected (regular or bold) either only the regular or bold font appears.

Adobe offers these guidelines to deal with applications that appear to exhibit the same problems with the same fonts (including Word 97 and Word 2000):

Usable Values

A font which is "regular" (not style-linked as the bold version of something else), any weightclass value from 250 to 1000 seems to work.

Because manual overrides can change values to any desired number, Adobe recommends that font developers should preserve at least the relative weight relationships of all fonts within any given "preferred family".

Adobe says "here are what ranges of weightclasses appear to work consistently as the "bold" style-links" from any given base weightclass, along with what names are normally associated with the given weightclass values (association made by makeotf by default, based on the TrueType specification):

Setting Font Weights for Windows

Family and Super Family

A font family is usually the width variatn, for example "Arial Narrow". Many foundries commonly list fonts by:

Style-Linked Fonts

Style-linked fonts describes a font style/variant of the font-family in use; upon encountering the need, the style/variant are accessed and rendered...we're so used to it we don't even notice it. however, if the font-family does not have the style/variant that it is reaching for, it will create and render one on the fly. typically affecting the bold version of a typeface, instead of accessing the true-drawn bold weight, italic version of a typeface or a renderd slanted roman.

Style-link font families are common practice, especially text faces. A style-linked font allows you to highlight text in the regular/book weight, chose bold/italic from your application's style menu, and the font correctly renders its own true-drawn bold weight.

Style-linked fonts typically allow for actual bold italic weight to be accessible via style menu. Style-linking is also accessible for application's keyboard command shortcuts for styling text.

Style-Linked Fonts

Font File Formats

Font Formats
FormatDescription
T1 (.pfm), (.pfb), (.mmm)PostScript Type 1 (atm font)
Multiple Master (.mmm), (.pfb)Multiple Master
OTF (.otf)CFF-flavoured OpenType
TTF (ttf.)TrueType or TT-flavoured OpenType
WOFF (woff.)Web Open Font Format (web-only font format)
SFDFontForge's work file format
SFDirFontForge's work directory format
FON (.fon)System Font
UFORoboFont's work directory format
VFBFontlab's work file format

Licenses

Font Licenses
LicenseDescription
GPLThe Free Software Foundation's General Public License
GPL2+Ditto, version 2 or later
LPPLThe LaTeX Project Public License
OFLSIL's Open Font License
UtopiaAdobe's and TUG's collective Utopia licensing
VeraBitstream's licence for the typeface Bitstream Vera

Hamburgefonts

Hamburgefonts is an ideal test word as it contains most of the shapes and strokes found in a typeface, so using it gives you a great idea as to what's in the font.

References and Resources

devlib

SVG !!! ????

SVG and Typography

svg Developer Center - Adobe Developer Connection - Adobe's vector graphics tool, Adobe Illustrator creates and imports SVG files for print and the web. Within the Adobe Edge Tools & Services, SVG content can be styled and debugged using Edge Code and can be animated and embedded in HTML with Edge Animate.

What's In A Font

PostScript Type 1 Character Set - What's In A Font? Chapter 02

Figure 4.2 At the top is the standard character set of a PostScript Type 1 font used by most vendors. Although such a font can nominally contain 256 characters, 33 "slots" in the font are taken up by commands such as backspace and delte, and 2 by the word space and nonbreaking space. Below it are the additions made to create the standard character sets for OpenType fonts from Adobe and Bitstream. Monotype uses the same character set as Adobe for its Basic OpenType fonts, with the exception of the characters noted at the bottom.

Font Resources That Are Present Have Their Outlines Turned Into Images - What's In A Font? Chapter 02

Figure 4.3 In this illustration, the top four lines of screen type were generated from their actual fonts. The computer generated the second set of four lines by interpolating the outlines of the plain roman font. You can see that the "italics" are simply obliqued roman characters.

The high-resolution lines at the bottom show what you get if you try to print the two samples. With all the fonts available, printing proceeds normally. But without the outlines for the other three members of the family, the printer uses the plain roman font for all four lines.

ASCII Number System Chart - What's In A Font? Chapter 02

Figure 4.4 Computers identify characters by numbers, and all systems agree on the meanings of 0 through 127, the so-called character set. The numbers 0 through 31, not shown here, are either unassigned or assigned to nonprinting commands such as return and backspace. The character set is printed on most English-language computer keyboards.

Unicode Characters Can Have Several Forms Each Represented By A Distinct Glyph - What's In A Font? Chapter 02

Figure 4.5 A single character with a single Unicode number can have several forms, each represented by a unique . Here, a lowercase –Unicode number 0067—from the typeface Hypatia Sans Pro can be represented by any of five alternate glyphs.

Because of this, tools used to browse contents of fonts are typically referred to as glpyh palettes, and a given font's glyph set can be far larger than its character set

Compact Font Format

The Compact Font Format Specification (pdf)

 | The Compact Font Format Specification The Compact Font Format Specification - Adobe Developer Support Technical Note #5176 2003 12 04 Two-byte CFF DICT Operators | The Compact Font Format Specification Appendix H CFF DICT Encoding | The Compact Font Format Specification Appendix E PostScript File Structure | The Compact Font Format Specification

OS X Quicklook Font – Preview international characters

To Show international characters in OS X (tested on Leopard, Snow Leopard, Lion) Quuicklook Font Preview edit file:

Benefits of OpenType/CFF Over TrueType Fonts

In sum, the two main benefits OpenType/CFF fonts have over TrueType fonts are 1) their smaller file size, and that 2) they require far less hinting information in order to render well in environments that allow some form of anti-aliasing.

The Benefits Of OpenType/CFF Over TrueType

"...some environments such as Mac OS X and iOS disregard font hints" - Font hinting on iPad?

Initalism

Initalism aka an alphabetism, refers to an abbreviation formed from, and used simply as, a string of initials. Although acronym is widely used to refer to an abbreviation formed from initial letters, some dictionaries define acronym to mean "a word" in its original sense, while others include additional senses attributing to acronym the same meaning as that of initialism. The distinction, when made, hinges on whether the abbreviation is pronounced as a word, or as a string of letters. In such cases, examples found in dictionaries include NATO /ˈneɪtoʊ/, scuba /ˈskuːbə/, and radar /ˈreɪdɑr/ for acronyms, and FBI /ˌɛfˌbiːˈaɪ/ and HTML /ˌeɪtʃˌtiːˌɛmˈɛl/ for initialisms

The spelled-out form of an acronym or initialism (that is, what it stands for) is called its expansion.

Initialism

Typography WebComm