Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jquast/wcwidth
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.5.2
Choose a base ref
...
head repository: jquast/wcwidth
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.5.3
Choose a head ref
  • 2 commits
  • 11 files changed
  • 1 contributor

Commits on Jan 31, 2026

  1. Add Virama conjunct for the Brahmic scripts (#204)

    Brahmic script has conjuncts that "collapse" to cell width, Closes #155 
    
    (From specs.rst)
    
    Virama Conjunct Formation
    -------------------------
    
    In `Brahmic scripts`_, a `Virama`_ (``Indic_Syllabic_Category=Virama`` in
    `IndicSyllabicCategory.txt`_) between two consonants triggers `conjunct`_
    formation: the font engine merges the consonants into a single ligature glyph.
    
    - A ``Consonant`` immediately following a ``Virama`` contributes 0 width.
    - The conjunct still occupies cells — the next visible advance settles it:
    
      - A following ``Mc`` (`Spacing Combining Mark`_, e.g. a vowel sign) counts as
        1 cell and closes the conjunct — no extra cell is added.
      - A following wide character (or end of string) adds 1 cell for the conjunct
        before counting its own width.
    
    - Chains work the same way: C + virama + C + virama + C collapses each
      virama+consonant pair.
    - ``Mn`` marks do not break conjunct context within the same `aksara`_.
    jquast authored Jan 31, 2026
    Configuration menu
    Copy the full SHA
    84a7248 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    666c501 View commit details
    Browse the repository at this point in the history
Loading