1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-26 23:56:59 +03:00
inter/docs/_data/feature_samples.yml
Rasmus Andersson e9ff19a95a v3.12
2020-02-08 17:05:32 -08:00

182 lines
5.1 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 usually enabled by default and causes certain characters to adjust
themselves or be replaced depending on the surrounding context.
samples:
- "3x9"
- "12:34, FEX"
- "4.2"
- "(SEMI)PERMANENT"
- "SFO ›→‹ STO"
- "IIA ›⟶‹ OGG"
- "ARN ›⟺‹ OGG"
- "M@N m@n"
- "Smile :-)"
# - title: Arrows
# tag: calt
# description:
# Arrows are part of Contextual alternates.
# samples:
# - "-> --> --->"
# - "<- <-- <---"
# - "<-> <-->"
# - "=> ==> <=="
# - "<=> <==>"
# footer:
# "In addition to contextual alternates, Inter also provides some ligatures
# like for instance specialized glyphs for enclosing combining glyphs. Examples:<br>
# U+0041 U+20DD => A\u20DD<br>
# U+0023 U+20DE => #\u20DE<br>"
- 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: 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: Ligatures
tag: rlig
description:
Inter provides just a few ligatures for combining characters for which layout
support in various apps is spotty.
samples:
- "A\u20DD"
- "#\u20DE"
footer:
This means that for instance enclosed glyphs
works everywhere, not just in apps with correct combining character logic.
- title: Discretionary ligatures
tag: dlig
description:
Alternate style for a few chacters. This feature is usually disabled by default.
samples:
- "¡¿What?!"
- "¿¡What!?"
- 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: "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: 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 á ă ắ ặ ằ ẳ ẵ ǎ â ấ ậ ầ ẩ ẫ ȁ ä ǟ ȧ ạ ǡ à ả ȃ ā ą ẚ å ǻ ḁ ã"}