Skip to content

Add the breve mark and dedicated forms of that#63

Merged
pelson merged 2 commits intoipython:masterfrom
pelson:feature/L_with_stroke
Apr 23, 2026
Merged

Add the breve mark and dedicated forms of that#63
pelson merged 2 commits intoipython:masterfrom
pelson:feature/L_with_stroke

Conversation

@pelson
Copy link
Copy Markdown
Member

@pelson pelson commented Apr 19, 2026

pt6_derived_chars.py — new breve mark and glyphs:

  • Added _breve_mark: constructed from parenleft rotated 90° CCW (giving a bowl/cup shape)
  • Registered it as U+0306 (combining breve) alongside the other combining marks.
  • Added 12 pre-composed breve glyphs across two languages/scripts:
    • Uppercase (gap=20): Ă Ĕ Ğ Ĭ Ŏ Ŭ
    • Lowercase (gap=8): ă ĕ ğ ŏ ŭ
    • ĭ uses dotlessi as base to avoid stacking dot + breve.

pt6_derived_chars.py — Romanian comma-below:

  • Added Ș ș Ț ț (U+0218/0219/021A/021B) via _make_cedilla, distinct from the existing cedilla variants ş ţ.

pt7_font_properties.py — kerning fix:

  • Added a _no_decomp manual table to _base_char covering stroke-through characters (ø/Ø, ł/Ł, đ/Đ, ħ/Ħ, ŧ/Ŧ, ð/Ð) that have no Unicode canonical decomposition. Without this, _expand_with_variants silently excluded them from all kerning rules.

- Added _breve_mark: constructed from parenleft rotated 90° CCW (giving a bowl/cup shape)
- Registered it as U+0306 (combining breve) alongside the other combining marks.
- Added 12 pre-composed breve glyphs across two languages/scripts:
  - Uppercase (gap=20): Ă Ĕ Ğ Ĭ Ŏ Ŭ
  - Lowercase (gap=8): ă ĕ ğ ŏ ŭ
  - ĭ uses dotlessi as base to avoid stacking dot + breve.

pt6_derived_chars.py — Romanian comma-below:

- Added Ș ș Ț ț (U+0218/0219/021A/021B) via _make_cedilla, distinct from the existing cedilla variants ş ţ.

pt7_font_properties.py — kerning fix:

- Added a _no_decomp manual table to _base_char covering stroke-through characters (ø/Ø, ł/Ł, đ/Đ, ħ/Ħ, ŧ/Ŧ, ð/Ð) that have no Unicode canonical decomposition. Without this, _expand_with_variants
silently excluded them from all kerning rules.
@pelson pelson requested a review from rgbkrk April 19, 2026 21:18
@pelson pelson merged commit 1f910a8 into ipython:master Apr 23, 2026
1 check passed
@pelson pelson deleted the feature/L_with_stroke branch April 23, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants