Text layout and typography checklist
The W3C needs to make sure that the text layout and typographic needs of scripts and languages around the world are built in to technologies such as HTML, CSS, SVG, etc. so that Web pages and eBooks can look and behave as people expect around the world.
To that end we have experts in various parts of the world documenting layout and typographic requirements and gaps between what is needed and what is currently supported in browsers and ebook readers.
The mainstay of this work is a series of documents describing requirements for text layout and typography support on the Web and in digital publications. The documents cover Japanese, Korean, Chinese, Latin, Arabic, Ethiopic, Tibetan, some Indic scripts, and hopefully soon Hebrew, Mongolian and other scripts. See a list of relevant work in this area.
In addition, there is an index to information about typographic practices in various scripts around the world, which is likely to be a useful resource for browser and spec developers.
This page is a checklist of items to consider when describing typography for a given script. It can be used by someone setting up a layout requirements document, but may also be useful for other situations. If you want to raise an issue or comment against this page, use the github issues list.
Script overview
Generally speaking, this section should be just high level and introductory. It should give an overall picture of how the script works and leave discussion of specific typographic features and how they work to the later sections. This section is aimed at descriptive text and text that provides context in which to understand later sections – the later sections typically look at how to implement interactive features of typographic design.
Encoding considerations
Are there any particular encoding issues to consider for this script?
Main features of the script
Is the script an alphabet, abugida, abjad, syllabary, etc? What are the basic set of characters for major languages written in the script? How does the script work? Are glyphs in the script regularly joined up, as in Arabic, or not? Are there other special features, such as stacking, syllabic clusters and conjuncts, etc. Is there a set of characters used for special purposes, such as transcription? Are multiple scripts used?
What are the basic directional features of the script? Is the script written right-to-left, or bidirectionally? Is is written vertically? If so, can it also be written horizontally, what is the frequency with which it is written one way or the other, and which side is the first line on?
Are there special considerations about page layout that should be described briefly at this point, eg. Japanese kihon-hanmen?
Characters & phrases
Fonts and font styles
What are key fonts and or font styles used for this script? Are there standard fallback fonts in use in browsers, and if so do they match expectations? Does the script use fixed-width font glyphs, proportionally-spaced fonts, or a combination? See available information or check for currently needed data.
Punctuation
What are the typical punctuation marks used, and how are they used? (See other sections for information about how quotations work, and how punctuation interacts with boundary detection and line-breaking, etc.) See available information or check for currently needed data.
Quotations
What is the expected behaviour for quotations marks, especially when nested? Should block quotes be indented or handled specially? See available information or check for currently needed data.
Symbols
Does the script use special symbols that are worth noting, eg. head marks in Tibetan?
Numbers and digits
Does the script have its own set of number digits? How are they used, and how frequently? Does the numbering system use base-10, or some other type of base?
Identifying boundaries of graphemes, words and larger groupings
What are the basic units of the text, and how are they demarcated, eg. characters, character sequences, syllables, or words? Are spaces or different symbols used between 'words'? Is it important to treat clusters of characters as a single unit? What should happen if you double- or triple-click in the text, whether or not 'words' are separated by spaces? See available information.
Transforming characters
What transformations does your script need? For example, does your script convert letters to uppercase, capitalised and lowercase alternatives according to your typographic needs? Do you need to to convert between half-width and full-width presentation forms? See available information or check for currently needed data.
Inline spacing
Many scripts create emphasis or other effects by spacing out the letters or syllables in a word. We know there are questions here about how this should work in Indic and SE Asian scripts, and in Arabic-based scripts. Can you provide information? Are there requirements for other scripts that we should add? See available information or check for currently needed data.
Ruby annotation
The ruby spec currently specifies an initial subset of requirements for fine-tuning the typography of phonetic and semantic annotations of East Asian text, including furigana, pinyin and zhuyin fuhao systems. Is is adequate for what it sets out to do? What other controls will be needed in the future? See available information or check for currently needed data.
Text decoration
Some aspects related to the drawing of lines alongside or through text involve local typographic considerations. For example, underlines need to be broken in special ways for some scripts, and the height of strike-through may vary depending on the script. What about vertical text? See available information or check for currently needed data.
Emphasis
Bold and italic are not always appropriate for expressing emphasis, and some scripts have their own unique ways of doing it, that are not in the Western tradition at all. See available information or check for currently needed data.
Lines & paragraphs
Line breaking
Does CSS capture the rules about the way text in your script wraps when it hits the end of a line? What characters should not appear at the end or start of a line, and what should be done to prevent that? Does line-breaking wrap whole 'words' at a time, or characters, or something else (such as syllables in Tibetan)? See available information or check for currently needed data.
Hyphenation
Is hyphenation used for your script, or something else? If hyphenation is used, where should the hyphen appear? See available information or check for currently needed data.
Justification & line-end alignment
When text in a paragraph needs to have flush lines down both sides, does it follow the rules for your script? Does the script conform to a grid pattern? Does your script allow punctuation to hang outside the text box at the start or end of a line? Where adjustments are need to make a line flush, how is that done? Do you shrink/stretch space between words and/or letters? Are word baselines stretched, as in Arabic? See available information or check for currently needed data.
Counters, lists, etc
The CSS Counter Styles specification describes a limited set of simple and complex styles for counters to be used in list numbering, chapter heading numbering, etc. Are the details correct? We have another document that provides over 120 templates for user-defined counter styles in over 30 scripts. Are there more? Are there other aspects related to counters and lists that need to be addressed? See available information or check for currently needed data.
Initial letter styling
Does the browser or ereader correctly handle special styling of the initial letter of a line or paragraph, such as for drop caps?
See available information or check for currently needed data.
Baselines & inline alignment
What are the requirements for baseline alignment between mixed scripts and in general? See available information or check for currently needed data.
White space and wrapping in source code
Do the rules for transforming white space in the source text for display meet the requirements of your script? This is particularly relevant for Far Eastern and South East Asian scripts, that don't use spaces between words.
Other paragraph features
In your script, is the first line of text typically indented at the start of a paragraph? Are there other features of paragraph design that are peculiar to your script? See available information or check for currently needed data.
Layout & pages
Direction-agnostic layout
When content can flow vertically and to the left or right, how do you specify the location of objects, text, etc. relative to the flow? For example, keywords 'left' and 'right' are likely to need to be reversed for pages written in English and page written in Arabic. See available information or check for currently needed data.
Vertical text
What are the requirements for vertically oriented text? What about if you mix vertical text with scripts that are normally only horizontal? Is it normal to use different character in vertical vs. horizontal text? See available information.
Mixed horizontal and vertical text
The spec describes rules for embedding horizontal runs of text in vertical lines, as is often seen with numbers in Chinese, Japanese and Korean vertically? See available information or check for currently needed data.
Notes, footnotes, etc
Does your script have special requirements for notes, footnotes, endnotes or other necessary annotations of this kind in the way needed for your culture? See available information or check for currently needed data.
Page numbering, running headers, etc
Are there special conventions for page numbering, or the way that running headers and the like are handled? See available information or check for currently needed data.
More page layout and pagination
Some cultures define page areas and page progression direction very differently from those in the West (eg. kihon hanmen in Japanese). Is this an issue for you? Are widows and orphans relevant? In what order do pages progress, RTL or LTR? See available information or check for currently needed data.
Other
Culture-specific features
Sometimes a script or language does things that are not common outside of it sphere of influence. This is a loose bag of additional items that weren't previously mentioned.
What else?
There are many other CSS modules which may need review for script-specific requirements, not to mention the SVG, HTML, Speech, MathML and other specifications.
What else is likely to cause problems for worldwide deployment of the Web, and what requirements need to be addressed to make the Web function well locally?
If you have comments about this page, send them to ishida@w3.org.
Content last changed 2017-08-23 13:21 GMT
Copyright © 2015 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.