This commit is contained in:
Kovid Goyal 2017-11-04 12:43:15 +05:30
parent f9c21b1cb3
commit 1dcdf9534b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -86,7 +86,7 @@ the following dependencies are installed first.
* zlib
* libpng
* fontconfig (not needed on macOS)
* harfbuzz >= 1.0.5
* harfbuzz >= 1.5.0
* xsel (only on X11 systems with glfw < 3.3)
* ImageMagick (optional, needed to use the `kitty icat` tool to display images in the terminal)
* gcc or clang (required only for building)

View File

@ -11,6 +11,9 @@
#if HB_VERSION_MAJOR > 0 || (HB_VERSION_MAJOR == 0 && (HB_VERSION_MINOR > 9 || (HB_VERSION_MINOR == 9 && HB_VERSION_MICRO >= 42)))
#define HARBUZZ_HAS_SET_CLUSTER_LEVEL
#endif
#if HB_VERSION_MAJOR < 1 || (HB_VERSION_MAJOR == 1 && (HB_VERSION_MINOR < 5))
#define HB_GLYPH_FLAG_UNSAFE_TO_BREAK 1
#endif
#define MISSING_GLYPH 4