mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
We only used utf8proc to try to pre-compose a glyph from a base and combining character. We can do this ourselves by using a pre-compiled table of valid pre-compositions. This table isn't _that_ big, and binary searching it is fast. That is, for a very small amount of code, and not too much extra RO data, we can get rid of the utf8proc dependency.
5 lines
419 B
Meson
5 lines
419 B
Meson
option('unicode-max-combining-chars', type: 'integer', value: 2,
|
|
description: 'Maximum number of combining characters to track per cell. A value of 0 completely disables unicode combining (this reduces the runtime memory footprint)')
|
|
|
|
option('unicode-precompose', type: 'boolean', value: true,
|
|
description: 'Convert decomposed characters to precomposed. Ignored if "unicode-combining" has been disabled')
|