aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-08 21:36:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-09 10:06:11 +0000
commitb1b32152c182fdb0b9494e75acb605d0486e30fa (patch)
treeeaf68cba1d4be835de96a505370fe5f230a00681 /meson.build
parentRevert "term: print: line-wrap multi-column characters instead of cutting them in half" (diff)
unicode-precompose: use fcft's precompose functionality
This allows us more options when determining whether to use a pre-composed character or not: We now only use the pre-composed character if it's from the primary font, or if at least one of the base or combining characters are from a fallback font. I.e. use glyphs from the primary font if possible. But, if one or more of the decomposed glyphs are from a fallback font, use the pre-composed character anyway.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build13
1 files changed, 1 insertions, 12 deletions
diff --git a/meson.build b/meson.build
index 495653d0..9d468862 100644
--- a/meson.build
+++ b/meson.build
@@ -92,17 +92,6 @@ foreach prot : [
command: [wscanner_prog, 'private-code', '@INPUT@', '@OUTPUT@'])
endforeach
-if get_option('unicode-precompose')
- generate_unicode_precompose_sh = files('scripts/generate-unicode-precompose.sh')
- unicode_data = custom_target(
- 'unicode-data',
- input: 'UnicodeData.txt',
- output: 'unicode-compose-table.h',
- command: [generate_unicode_precompose_sh, '@INPUT@', '@OUTPUT@'])
-else
- unicode_data = []
-endif
-
generate_version_sh = files('generate-version.sh')
version = custom_target(
'generate_version',
@@ -138,7 +127,7 @@ executable(
'tokenize.c', 'tokenize.h',
'vt.c', 'vt.h',
'wayland.c', 'wayland.h',
- wl_proto_src + wl_proto_headers, version, unicode_data,
+ wl_proto_src + wl_proto_headers, version,
dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, tllist, fcft],
install: true)