Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vary grapheme baselines by script #2

Draft
wants to merge 11 commits into
base: complex-text-50
Choose a base branch
from
Draft

Vary grapheme baselines by script #2

wants to merge 11 commits into from

Commits on Aug 27, 2024

  1. Join grapheme clusters on combining marks, invisible stackers

    If a grapheme cluster begins with a combining diacritical mark or ends with an invisible stacker, combine it with an adjacent grapheme cluster to avoid drawing diacritics over dotted circles or placeholder diacritics where adjacent characters should be ligated instead.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    8611ecd View commit details
    Browse the repository at this point in the history
  2. Generate Unicode character property data at build time

    Added a script that fetches the latest Unicode character database’s property file for Indic syllable categories and generates a function for combining graphemes based on it.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    223afad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17fede7 View commit details
    Browse the repository at this point in the history
  4. Fixed ligatures in Sinhala

    Replace zero-width joiners with temporary strip markers to prevent ICU from stripping them.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e1a116a View commit details
    Browse the repository at this point in the history
  5. Streamlined RTL text detection

    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fde9d76 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eca8090 View commit details
    Browse the repository at this point in the history
  7. Fixed combining right-to-left characters

    Preemptively swap combining marks with the characters they modify to visual order, so that the RTL plugin will swap them back to logical order.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    31e8536 View commit details
    Browse the repository at this point in the history
  8. Streamlined letter spacing check

    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    b6bbc6b View commit details
    Browse the repository at this point in the history
  9. Break lines based on word segmentation

    Replaced custom word break heuristics when determining line breaks with a word segmenter. Added a simple polyfill for older versions of Firefox.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2748f1b View commit details
    Browse the repository at this point in the history
  10. Fixed vertical text advance

    Fixed an issue where vertical CJK text was shifted upwards by one em.
    1ec5 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    29de7cc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9dc14cb View commit details
    Browse the repository at this point in the history