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 2f9a256e6e new v4 website
2023-09-26 17:10:58 -07:00

139 lines
3.7 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.

- tag: calt
title: Contextual alternates
description:
Depending on the surrounding context, different glyphs are used.
Enabled by default
samples:
- "3x9  12:34  38  +8+x"
- "(SEMI)PER[M]ANE{N}T"
- "-> --> ---> => ==> <->"
- "S@N&nbsp; s@n&nbsp; :-)&nbsp; Smile"
- tag: liga
title: Standard Ligatures
description: Enabled by default
samples:
- "Difficult affine fjord "
- "fi fj"
- tag: dlig
title: Discretionary Ligatures
disable: liga
description: Disabled by default
samples:
- "after affine art interface"
- "ff ffi fft ft fi tt tf df dt ff kf kt rf"
- "rt vf vt wf wt yf yt ¡¿What?!"
- title: Tabular numbers
tag: tnum
description:
Fixed-width numbers are useful for tabular data, where comparing
columns across rows is desired.
samples:
- "0.45, 0.91. +0.08"
- "1.00; 9.44, 0.13"
- "0:00. 1.13; ~7.12"
- title: Fractions
tag: frac
description:
Convert spans of numbers & forward slash into fractions
samples:
- "1/3&nbsp; 5/12&nbsp; 0123/456789"
- "Approximately 6/16\""
- title: Case alternates
tag: case
description:
Alternate glyphs that matches capital letters and numbers
samples:
- "(Hello) [World] {9000}"
- "A@B&nbsp; 3 + 9 ›≈‹ 12 * 1 ›→‹ X"
- title: Compositions
tag: ccmp
description:
Custom-made glyphs for compositions.
Enabled by default
samples:
- "j\u200A\u0303&nbsp; i\u200A\u0300&nbsp; ›į\u200A\u0301&nbsp; j\u200A\u0302&nbsp; i\u200A\u0304"
- "Figure A\u20DD #\u20DE 3\u20DD ×\u20DE"
- title: Subscript
tag: subs
samples:
- "H2O SF6 H2SO4"
- "ABC123abc (+)-[=]"
- title: Superscript
tag: sups
samples:
- "ABC123abc (+)-[=]"
- title: Denominators
tag: dnom
samples:
- "ABC1234567890"
- title: Numerators
tag: numr
samples:
- "ABC1234567890"
- tag: zero
title: Slashed zero
samples:
- "0123"
- title: "Alternate digits"
tag: ss01
samples:
- "1234567890"
- title: "Disambiguation"
tag: ss02
description:
Alternate glyph set that increases visual difference between
similar-looking characters.
samples:
- "WP0ACO9XSI1012O9"
- "Illegal busineß βeta"
- tag: ss03
title: "Round quotes & comma"
samples:
- "Its fun here, yes"
# - 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 á ă ắ ặ ằ ẳ ẵ ǎ â ấ ậ ầ ẩ ẫ ȁ ä ǟ ȧ ạ ǡ à ả ȃ ā ą ẚ å ǻ ḁ ã"}