N’Ko Script Resources (original) (raw)
Abstract
This document points to resources for the layout and presentation of text in languages that use the N’Ko script. The target audience includes developers of Web standards and technologies, such as HTML, CSS, Mobile Web, Digital Publications, and Unicode, as well as implementers of web browsers, ebook readers, and other applications that need to render N’Ko text.
Status of This Document
This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.
This document points to resources for N’Ko script layout and text support on the Web and in eBooks. These requirements provide information for Web technologies such as CSS, HTML and digital publications about how to support languages written using the N’Ko script. The information here is developed in conjunction with a document that summarises gaps where the Web fails to adequately support the N’Ko script.
The editor's draft of this document is being developed in the GitHub repository African Language Enablement (afrlreq), with contributors from the W3C Internationalization Interest Group. It is published by the Internationalization Working Group. The end target for this document is a Working Group Note.
To make it easier to track comments, please raise separate issues or emails for each comment, and point to the section you are commenting on using a URL.
This document was published by the Internationalization Working Group as a Group Draft Note using theNote track.
Group Draft Notes are not endorsed byW3C nor its Members.
This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
TheW3C Patent Policy does not carry any licensing requirements or commitments on this document.
This document is governed by the03 November 2023 W3C Process Document.
Table of Contents
- Abstract
- 1. Introduction
- 2. N’Ko script overview
- 3. All topics
- 4. Text direction
- 5. Glyph shaping & positioning
- 6. Typographic units
- 7. Punctuation & inline features
- 8. Line & paragraph layout
- 9. Page & book layout
- 9.1 General page layout & progression
- 9.2 Grids & tables
- 9.3 Footnotes, endnotes, etc
- 9.4 Page headers, footers, etc
- 9.5 Forms & user interaction
- A. Change log
Some links on this page point to repositories or pages to which information will be added over time. Initially, the link may produce no results, but as issues, tests, etc. are created they will show up.
Links that have a gray color led to no content the last time this document was updated. They are still live, however, since relevant content could be added at any time. When the document is updated, links that now point to results will have their live colour restored.
The initial version of this document was prepared by Richard Ishida.
See also the GitHub contributors list for the African Language Enablement project, and the discussions related to N’Ko script.
This document points to resources for N’Ko script layout and text support on the Web and in eBooks. These resources provide information for developers of Web technologies such as CSS, HTML and digital publications, and for application developers, about how to support languages written using the N’Ko script. They include requirements, tests, GitHub discussions, type samples, and more,
The document focuses on typographic layout issues. For a deeper understanding of the N’Ko script and how it works see N’Ko Orthography Notes, which includes topics such as: Phonology, Vowels, Consonants, Encoding choices, and Numbers.
This document should be used alongside a separate document, N’Ko Gap Analysis, which describes gaps in language support for users of the N’Ko script, and prioritises and describes the impact of those gaps on the user.
Gap reports are brought to the attention of spec and browser implementers, and are tracked via the Gap Analysis Pipeline. (Filter for N’Ko script items)
The document Language enablement index points to this document and others, and provides a central location for developers and implementers to find information related to various scripts.
The W3C also has a repository with discussion threads related to the N’Ko script, including requests from developers to the user community for information about how scripts/languages work, and a notification system that tracks issues in W3C working groups related to the N’Ko script. See a list of unresolved questions for N’Ko experts. Each section below points to related discussions. See also the repository home page.
The N’Ko script is an alphabet. Both consonants and vowels are indicated by letters.
N’Ko text is written right-to-left in horizontal lines. Unlike other RTL scripts, such as Arabic and Hebrew, numbers are also written right-to-left.
Words are separated by spaces.
The script is normally cursive, but in certain circumstances a non-joining font style may be used.
N’Ko has 19 native consonant letters. Use of 3 different diacritics results in letters for 22 more sounds used in foreign and loan words (mostly French or Arabic). There is also a nasal syllabic, and 2 'abstract' characters
N’Ko doesn't have corresponding letters for g, ŋ, and z used in the Latin orthographies of Manding languages. Also, plurals that are written by appending a w to a word in Bamanan are generally written in N’Ko by adding a free-standing particle such as ߟߎ߬ lù or ߠߎ߬ nù.
An unusual feature is that if two adjacent consonants are followed by the same vowel, the vowel is omitted after the first consonant.
N’Ko has 7 vowel letters. A diacritic is used to create 3 more letters for foreign sounds.
Another diacritic produces nasalisation of the vowel sound.
N’Ko also has a letter to indicate the absence of a vowel, which is used regularly.
N’Ko has 7 combining tone marks and 2 tone letters. Several of these have more than one use, indicating vowel length in addition to tone.
N’Ko has it's own set of digits, which, unlike Arabic, are written right-to-left.
GitHub discussions
- Open requests for information
- All N’Ko issues in the afrlreq repo
- All West African language issues in W3C specs
Type samples
Tests
- Text direction •Glyphs & characters •Punctuation & inline •Lines & paragraphs
- CSS Writing Modes: Vertical text
- CSS Writing Modes: Horizontal in vertical
Gap analysis
In what direction does text flow along a line and across a page? (If the basic direction is right-to-left see 4.2 Bidirectional text.) If the script uses vertically oriented text, what are the requirements? What about if you mix vertical text with scripts that are normally only horizontal? Do you need a switch to use different characters in vertical vs. horizontal text? Does the browser support short runs of horizontal text in vertical lines (tate-chu-yoko in Japanese) as expected? Is the orientation of characters and the directional ordering of characters supported as needed?
N’Ko text runs right to left in horizontal lines.
If the general inline direction is right-to-left, are there any issues when handling that? Where the inline direction of text is mixed, is this bidirectional text adequately supported? What about numbers and expressions? Do the Unicode bidi controls and HTML markup provide the support needed? Is isolation of directional runs problematic?
Requirements
- Additional Requirements for Bidi in HTML
- N’Ko Orthography Notes: Text direction
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues in W3C specs
Tests
Gap analysis
Specification links
The orthography has no case distinction, and no special transforms are needed to convert between characters.
How are fonts grouped into recognisable writing styles? How is each writing style used? Do the standard fallback fonts used in browsers (eg. serif, sans-serif, cursive, etc.) match expectations? Or are additional generic font styles needed? Are special font or OpenType features needed for this script that are not available? What other general, font-related issues arise? The font styles described here refer to alternative types of writing style, such as naskh vs nastaliq; for oblique, italic, and weights see instead 5.4 Letterform slopes, weights, & italics.
Requirements
- N’Ko Orthography Notes: Font styles
- Generic font families (unjoined)
- List of system fonts
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues in W3C specs
Type samples
Tests
Gap analysis
Specification links
- CSS Fonts: All
If context-sensitive rendering support is needed to shape combinations of letters or position certain glyphs relative to others, is this adequately provided for? Does the script in question require additional user control features to support alterations to the position or shape of glyphs, for example adjusting the distance between the base text and diacritics, or changing the glyphs used in a systematic way? Do you need to be able to compose/decompose conjuncts or ligatures, or show characters that are otherwise hidden, etc? If text is cursive, see the separate section 5.3 Cursive text.
Requirements
- N’Ko Orthography Notes: Context-based shaping & positioning
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
If this script is cursive (ie. letters are generally joined up, like in Arabic, N’Ko, Syriac, etc), are there problems or needed features related to the handling of cursive text? Do cursive links break if parts of a word are marked up or styled? Do Unicode joiner and non-joiner characters behave as expected?
Requirements
- N’Ko Orthography Notes: Cursive shaping
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS3 Text, Cursive joining
- Exploratory: Cursive behaviour
Gap analysis
Specification links
- CSS Text: Shaping Across Element Boundaries
This covers ways of modifying the glyphs for a range of text, such as for italicisation, bolding, oblique, etc. Are italicisation, bolding, oblique, etc relevant? Do italic fonts lean in the right direction? Is synthesised italicisation or oblique problematic? Are there other problems relating to bolding or italicisation - perhaps relating to generalised assumptions of applicability? For alternative writing/font styles, see 5.1 Fonts & font styles.
Requirements
- N’Ko Orthography Notes: Letterform slopes, weights, & italics
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
Gap analysis
Specification links
- CSS Fonts: Font style: the font-style property
- CSS Fonts: Font weight: the font-weight property
Does your script need special text transforms that are not supported? For example, do you need to to convert between half-width and full-width presentation forms? Does your script convert letters to uppercase, capitalised and lowercase alternatives according to your typographic needs? How about other transforms?
Not applicable.
Most languages are now supported by Unicode, but there are still occasional issues. In particular, there may be issues related to ordering of characters, or competing encodings (as in Myanmar), or standardisation of variation selectors or the encoding model (as in Mongolian). Are there any character repertoire issues preventing use of this script on the Web? Do variation selectors need attention? Are there any other encoding-related issues?
Requirements
- N’Ko Orthography Notes: Vowels• Consonants
- Character usage
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
- W3C type samples
- r12a type samples: consonants •vowels
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
This is about how text is divided into graphemes, words, sentences, etc., and behaviour associated with that. Are there special requirements for the following operations: forwards/backwards deletion, cursor movement & selection, character counts, searching & matching, text insertion, line-breaking, justification, case conversions, sorting? Are words separated by spaces, or other characters? Are there special requirements when double-clicking or triple-clicking on the text? Are words hyphenated? (Some of the answers to these questions may be picked up in other sections, such as 8.1 Line breaking & hyphenation, or 8.6 Styling initials.)
Requirements
- N’Ko Orthography Notes: Word boundaries • Graphemes
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
Gap analysis
Specification links
What characters are used to indicate the boundaries of phrases, sentences, and sections? What about other punctuation, such as dashes, connectors, separators, etc? Are there specific problems related to punctuation or the interaction of the text with punctuation (for example, punctuation that is separated from preceding text but must not be wrapped alone to the next line)? Are there problems related to bracketing information or demarcating things such as proper nouns, etc? Some of these topics have their own sections; see also 7.2 Quotations & citations, and 7.4 Abbreviation, ellipsis & repetition.
Requirements
- N’Ko Orthography Notes: Phrase & section boundaries
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
- W3C type samples
- r12a type samples: phrases
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
This is a subtopic of phrase & section boundaries that is worth handling separately. What characters are used to indicate quotations? Do quotations within quotations use different characters? What characters are used to indicate dialogue? Are the same mechanisms used to cite words, or for scare quotes, etc? What about citing book or article names? Are there any issues when dealing with quotations marks, especially when nested? Should block quotes be indented or handled specially? Do quotation marks take text direction into account appropriately?
Requirements
- N’Ko Orthography Notes: Quotations & citations
- Wikipedia: Quotation mark
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
Gap analysis
Specification links
- HTML5: The q element
- HTML5: The blockquote element
- CSS3 Generated and Replaced Content: Specifying quotes with the 'quotes' property
How are emphasis and highlighting achieved? If lines or marks are drawn alongside, over or through the text, do they need to be a special distance from the text itself? Is it important to skip characters when underlining, etc? How do things change for vertically set text?
Requirements
- N’Ko Orthography Notes: Emphasis & highlighting
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS3 Text decoration, emphasis marks
Gap analysis
Specification links
- CSS3 Text Decoration: Emphasis Marks
What characters or other methods are used to indicate abbreviation, ellipsis & repetition? Are there problems?
Requirements
- N’Ko Orthography Notes: Abbreviation, ellipsis & repetition
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
What mechanisms, if any, are used to create *inline* notes and annotations? Are the appropriate methods for inline annotations supported for this script? 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? What about other types of inline annotation, such as warichu? This section deals with inline annotation approaches. For annotation methods where a marker in the text points out to another part of the document see 9.3 Footnotes, endnotes, etc.
Requirements
- tbd
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- HTML5: The ruby element and its children
- CSS Ruby
Gap analysis
Specification links
- HTML5: The ruby element
- HTML5: The sub and sup elements
- HTML5: The blockquote element
This section is a catch-all for inline features that don't fit under the previous sections. It can also be used to describe in one place a set of general requirements related to inline features when those features appear in more than one of the sections above. It covers characters or methods (eg. text decoration) that are used to convey information about a range of text. Are all needed forms of highlighting or marking of text available, such as wavy underlining, numeric overbars, etc. If lines are drawn alongside, over or through the text, do they need to be a special distance from the text itself? Is it important to skip characters when underlining, etc? How do things change for vertically set text? Are there other punctuation marks that were not covered in preceding sections? Are lines correctly drawn relative to vertical text?
Requirements
- N’Ko Orthography Notes: Other inline features
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
Gap analysis
Specification links
Does the browser capture the rules about the way text in your script wraps when it hits the end of a line? Does line-breaking wrap whole 'words' at a time, or characters, or something else (such as syllables in Tibetan and Javanese)? What characters should not appear at the end or start of a line, and what should be done to prevent that? Is hyphenation used for your script, or something else? If hyphenation is used, does it work as expected? (Note, this is about line-end hyphenation when text is wrapped, rather than use of the hyphen and related characters as punctuation marks.)
Requirements
- N’Ko Orthography Notes: Line breaking & hyphenation
- Approaches to line-breaking
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS Text: Line breaking
- CSS Text: Non-tailorable line breaking
- CSS Text: Word-break
- CSS Text: Hyphens
Gap analysis
Specification links
- CSS Text: Line Breaking and Word Boundaries
- CSS Text: Hyphenation: the hyphens property
When text in a paragraph needs to have flush lines down both sides, does it follow the rules for your script? Does the script need assistance to 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? What about paragraph indents, or the need for logical alignment keywords, such as start/end, rather than left/right? Does the script indent the first line of a paragraph?
Requirements
- N’Ko Orthography Notes: Text alignment & justification
- Approaches to full justification
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS3 Text: text-align, text-align-last, text-justify
- Exploratory tests: Justification & letter-spacing
Gap analysis
Specification links
- CSS Text: Alignment and Justification
- CSS Text: Edge effects
This section is concerned with spacing that is adjusted around and between characters on a line in ways other than attempts to fit text to a given width (ie. justification). Some scripts create emphasis or other effects by spacing out the words, letters or syllables in a word. Are there requirements for this script/language that are unsupported? If spacing needs to be applied between letters and numbers, is that possible? What about space associated with punctuation, such as the gap before a colon in French? (For justification related spacing, see 8.2 Text alignment & justification.)
Requirements
- N’Ko Orthography Notes: Text spacing
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- Exploratory tests: Justification & letter-spacing
Gap analysis
Specification links
- CSS Text: Spacing
Does the browser support requirements for baseline alignment between mixed scripts and in general? Are there issues related to line height or inter-line spacing, etc.? Are the requirements for baseline or line height in vertical text covered?
Requirements
- N’Ko Orthography Notes: Baselines, line height, etc.
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
- CSS Writing Modes: Inline-level Alignment
- CSS Inline Layout: Line Spacing: the line-height property
- : CSS Line Grid
Are there list or other counter styles in use? If so, what is the format used and can that be achieved? Are the correct separators available for use after list counters? Are there other aspects related to counters and lists that need to be addressed? Are list counters handled correctly in vertical text?
Requirements
- N’Ko Orthography Notes: Counters, lists, etc.
- Ready-made Counter Styles: N’Ko
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS Counter Styles
- CSS3 Counter Styles, predefined styles
- Custom counter styles
Gap analysis
Specification links
- CSS Counter Styles: Defining Custom Counter Styles: the @counter-style rule
- CSS Counter Styles: Simple Predefined Counter Styles
- CSS Counter Styles: Complex Predefined Counter Styles
Does the browser or ereader correctly handle special styling of the initial letter of a line or paragraph, such as for drop caps or similar? How about the size relationship between the large letter and the lines alongide? where does the large letter anchor relative to the lines alongside? is it normal to include initial quote marks in the large letter? is the large letter really a syllable? etc. Are all of these things working as expected?
Requirements
- tbd
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results
- Exploratory/interactive test repo
- CSS3 Selectors: first-letter
- Interactive test: ::first-letter
Gap analysis
Specification links
- CSS Selectors: The ::first-letter pseudo-element
- CSS3 Inline Layout: Initial Letters
How are the main text area and ancilliary areas positioned and defined? Are there any special requirements here, such as dimensions in characters for the Japanese kihon hanmen? The book cover for scripts that are read right-to-left scripts is on the right of the spine, rather than the left. Is that provided for? 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. Do tables and grid layouts work as expected? How do columns work in vertical text? Can you mix block of vertical and horizontal text correctly? Does text scroll in the expected direction? Other topics that belong here include any local requirements for things such as printer marks, tables of contents and indexes. See also 9.2 Grids & tables.
Requirements
- N’Ko Orthography Notes: General page layout & progression
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- African issues on this topic in W3C specs
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
As a subtopic of page layout, does the script have special requirements for character grids or for tables?
tbd
Does your script have special requirements for footnotes, endnotes or other necessary annotations of this kind in the way needed for your culture? (See 7.5 Inline notes & annotations for purely inline annotations, such as ruby or warichu. This section is more about annotation systems that separate the reference marks and the content of the notes.)
tbd
Are vertical form controls well supported? In right-to-left scripts, is it possible to set the base direction for a form field? Is the scroll bar on the correct side? etc. Are there other aspects related to user interaction that need to be addressed?
Requirements
- N’Ko Orthography Notes: Layout direction
GitHub discussions
- Open requests for information
- All N’Ko issues on this topic in the afrlreq repo
- N’Ko issues on this topic in W3C specs
Type samples
Tests
- Exploratory/interactive test results (tbc)
- Exploratory/interactive test repo (tbc)
Gap analysis
Specification links
- Applied new template.
- Fixed various links.