ETBCOR / nasin-nanpa

nasin sitelen tan anpa nanpa
MIT License
77 stars 3 forks source link

zz takes up more space than a regular character #11

Closed Sjlver closed 5 months ago

Sjlver commented 5 months ago

Note: this could well be a misunderstanding on my side: I found that zz produces a space that is wider than a single character. This made it hard to align some text, for example here:

image

The text for the above is:

<br />
kin la zz jan ante li moku e selo pakala pi (jan wawa) la<br />
zz zz jan ante li ken kama jo e wawa sama<br />

My expectation would be that zz takes the same width as a regular character. Thus if I used three zz on the second line, things would be aligned (one zz each for the kin, the la, and the zz in the first line)

ETBCOR commented 5 months ago

Ahh, I think this is happening because of the spaces after zz. The fullwidth space currently has a space space ligature and a z z ligature. I'll add a z z space ligature in v4 to make it more consistent with how the ligatures for glyphs work.

ETBCOR commented 5 months ago

Alright, this is ready in 4.0. Closing the ticket! image