minimize export and drop G

This commit is contained in:
2026-10-06 15:16:22 +06:00
parent a53ebd47c3
commit c764af3a9d
36 changed files with 14 additions and 14 deletions
+14 -14
View File
@@ -9,25 +9,25 @@ A Monospace Bangla font experiment.
> [!WARNING]
> this is a prototype, dont blame me if your display explodes.
naming pattern: `SamantarikProto<Mode><Scale><Variant>-<Weight>`
naming pattern: `SamantarikProto`-`<Mode>``<Width>``<Variant>`-`<Style>`
eg, SamantarikProto-G75se-Regular.ttf -> mode: G, scale: 75, variant: s and e, weight: Regular
eg, **SamantarikProto-G75se-Regular.ttf** -> mode G, width 75, variants s and e, style Regular
Modes:
Each variation applies different cell-counting rules to attempt best display on different terminals or editors.
- **B**: 1 cells per codepoint, consonants and vowels 1, stacked marks and hasant 0
- **C**: 1 cells per cluster
- **W**: `min(2, B)` cells per cluster
- **G**: `B` cells per cluster, `W` cells display
- **T**: `min(max(2, B), 2)` cells per cluster
- **U**: 2 cells per cluster
Modes (cells per cluster):
Variants:
**B**: N-cell for N-component clusters, except non-spacing marks and ZWJ/ZWNJ count for 0
**C**: 1 cell per cluster regardless of component count
**T**: 1 cell for single letter and 2 cells per cluster
**U**: 2 cells per glyph regardless of single or conjunct cluster
**W**: `min(2, B)` cells per cluster
- (blank): centered: shaped cluster centered on cells
- **s**: spread: cluster components spread out over cells
- **f**: fill: cluster widened to fill cells
- **e**: extended x-height for (sliightly) better balance with latin text
**(blank)**: clusters centered in its allocated cell range
**h**: half-form: conjuncts rendered with half-forms
**s**: spread: each component takes its own cells
**f**: fill: each spacing vowel sign gets half a cell and base gets the rest
**e**: taller (height 115%) for slightly better balance with latin text
**C** seems to work best so far with kitty and neovim (vim doesnt like any of these).