This repository has been archived on 2025-10-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
inter-font/docs/_data/feature_samples.yml
Rasmus Andersson aca7606f25 release v3.10
2019-09-07 16:14:40 -07:00

160 lines
4.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- title: Contextual alternates
tag: calt
description:
This feature is enabled by default and causes certain characters to adjust
themselves or be replaced depending on the surrounding context.
footer:
There are many more contextual alternates.
samples:
- "12:34, FEX"
- "4.2"
- "(SEMI)PERMANENT"
- "SFO ›→‹ STO"
- "IIA ›⟶‹ OGG"
- "ARN ›⟺‹ OGG"
- "M@N m@n"
- "Smile :-)"
- title: Standard ligatures
tag: liga
description:
Conversion of common sequences into higher-fidelity glyphs,
like arrows and enclosing graphemes.
samples:
- "3x9"
- "-> --> --->"
- "<- <-- <---"
- "<-> <-->"
- "=> ==> <=="
- "<=> <==>"
footer:
"In addition to standard ligatures, which are usually on by default but can be turned off,
Inter also comes with required/default ligatures as well,
like for instance specialized glyphs for enclosing combining characters like
e.g. U+0041 U+20DD => A\u20DD<br>
More examples:<br>
1\u20DD 2\u20DD 3\u20DD A\u20DD B\u20DD
C\u20DE #\u20DE !\u20DE ?\u20DE →\u20DE"
- title: Tabular numbers
tag: tnum
description:
Fixed-width numbers are useful for tabular data, where comparing
columns across rows is desired.
samples:
- "1234567890"
- "1131711&nbsp;"
- "0040900&nbsp;"
- "11:31,711&nbsp;"
- "00:40.900&nbsp;"
- "0.45, 0.91, +0.08&nbsp;"
- "1.00, 9.44, 0.13&nbsp;"
- "0.00, 1.13, ~7.12&nbsp;"
- title: Fractions
tag: frac
description:
This feature is contextually sensitive and will convert "words" of
numbers separated by forward slash into proper fractions.
This feature is dynamic and allows for any fractions.
Note that the digits used for fractions are custom-made for their
small size, and are even made separately from the slightly larger
Superscript and Subscript numbers.
samples:
- "1/3&nbsp; 3/4&nbsp; 1/5"
- "18/29&nbsp; 16/5"
- "1337/591038"
- title: Numerators
tag: numr
samples:
- "Hello 0123"
- title: Denominators
tag: dnom
samples:
- "Hello 0123"
- title: Superscript
tag: sups
samples:
- "X0123 (+)-[=]"
- "Xabcdefghijklmnopqrstuvwxyz"
- title: Subscript
tag: subs
samples:
- "H0123 (+)-[=]"
- "Xabcdefghijklmnopqrstuvwxyz"
- title: Case alternates
tag: case
description:
Switches out some glyphs to work better with capital letters and numbers.
samples:
- "(Hello) [World] {9000}"
- "SCHOOL @ RUN"
- "3 + 9 = 12 * 1"
- "*+÷±×=≠≈•~&lt;&gt;≤≥‹"
- "›→‹ ›←‹ ›⟶‹ ›⟵‹ - ›—‹ :"
- title: "Stylistic set 1: Alternate digits"
tag: ss01
description:
An alternate style of digits.
Note that individual digit styles can be cherry-picked using the cvXX
features.
samples:
- "1234567890"
- "13469"
- title: "Stylistic set 2: Disambiguation"
tag: ss02
description:
Alternate glyph set that increases visual difference between
similar-looking characters.
samples:
- "WP0ACO9XSI1012O9"
- "Illegal"
- "βeta ßeta Busineß"
- title: "Stylistic set 3: r curves into round neighbors"
tag: ss03
description:
Lower case r curved into neighboring round shapes for increased
legibility and personality.
samples:
- "Sara"
- "ird"
- "Monroe"
- title: Discretionary ligatures
tag: dlig
description:
Alternate glyph set that increases visual difference between
similar-looking characters.
samples:
- "¡¿What?!"
- "¿¡What!?"
- title: Slashed zero
tag: zero
samples:
- "O0123"
- title: Character variants
tag: cvXX
description: "Allows cherry-picking alternate characters."
samples:
- {feat: cv01, alt: "Alternate one", sample: "1"}
- {feat: cv02, alt: "Open four", sample: "4"}
- {feat: cv03, alt: "Open six", sample: "6"}
- {feat: cv04, alt: "Open nine", sample: "9"}
- {feat: cv05, alt: "Lower case L with tail", sample: "l ł ƚ ɫ ɬ ŀ ĺ ļ ľ ḷ ḹ ḻ ḽ"}
- {feat: cv06, alt: "Lower case r with curved tail", sample: "r ɽ ɍ ɼ ŕ ŗ ř ȑ ȓ ṙ ṛ ṝ ṟ"}
- {feat: cv07, alt: "Alternate German double-s", sample: "ß"}
- {feat: cv08, alt: "Upper-case i with serif", sample: "I Ï Ḯ Ɨ Ḭ Ì Í Î Ĩ Ī Ĭ Į İ Ǐ Ȉ Ȋ Ỉ Ị Ι Ί Ϊ Ἰ Ἱ Ἲ"}
- {feat: cv09, alt: "Flat top three", sample: "3"}
- {feat: cv10, alt: "Capital G with spur", sample: "G Ǥ Ɠ Ĝ Ğ Ġ Ģ Ǧ Ǵ Ḡ"}
- {feat: cv11, alt: "Single-storey a", sample: "a á ă ắ ặ ằ ẳ ẵ ǎ â ấ ậ ầ ẩ ẫ ȁ ä ǟ ȧ ạ ǡ à ả ȃ ā ą ẚ å ǻ ḁ ã"}