diff options
| author | Albert Cervin <albert@acervin.com> | 2023-06-01 00:18:08 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-06-01 00:18:08 +0200 |
| commit | bc5696e5bbd4739691f53563f3506b30b9be1ad3 (patch) | |
| tree | bea29a74ba35e1c7da1acb2087d9648d82718335 /src/dged/utf8.h | |
| parent | f2614efe03e04575e1b9ded663a553557452c7ae (diff) | |
| download | dged-bc5696e5bbd4739691f53563f3506b30b9be1ad3.tar.gz dged-bc5696e5bbd4739691f53563f3506b30b9be1ad3.tar.xz dged-bc5696e5bbd4739691f53563f3506b30b9be1ad3.zip | |
Simplify rendering and prepare for props
Mark rendering is now a lot simpler and uses "properties".
Diffstat (limited to 'src/dged/utf8.h')
| -rw-r--r-- | src/dged/utf8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dged/utf8.h b/src/dged/utf8.h index 59a959e..04aa242 100644 --- a/src/dged/utf8.h +++ b/src/dged/utf8.h @@ -15,3 +15,5 @@ bool utf8_byte_is_unicode_start(uint8_t byte); bool utf8_byte_is_unicode_continuation(uint8_t byte); bool utf8_byte_is_ascii(uint8_t byte); bool utf8_byte_is_unicode(uint8_t byte); + +uint32_t utf8_visual_char_width(uint8_t *bytes, uint32_t len); |
