diff options
| author | eunhhu <[email protected]> | 2026-09-27 23:12:16 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-27 23:12:16 +0100 |
| commit | 0d9d4c50bbd4a33a309ccb498b6bc55509c1dfed (patch) | |
| tree | fea456a0da127cb40897ecf29191d5fb8f777347 /text/unicode.py | |
| parent | 7b93a66dbffaf2b20b0a1925786f56db54066c9b (diff) | |
| download | vega-0d9d4c50bbd4a33a309ccb498b6bc55509c1dfed.tar.gz vega-0d9d4c50bbd4a33a309ccb498b6bc55509c1dfed.zip | |
Centre a wide character's glyph in its two cells
A Hangul or CJK glyph is one em across, less than two cells of a
monospace Latin font (1.2 em for DejaVu Sans Mono), and was drawn from
the left of its cells, so syllables stood apart unevenly. A cached
glyph now keeps its advance in pixels, and a wide character's glyph is
drawn centred in its two cells.
Diffstat (limited to 'text/unicode.py')
0 files changed, 0 insertions, 0 deletions
