mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[config] Don't disable emoji sequences in HB_TINY
It makes sense to disable this code these if editing is not needed. However, this is also necessary to correctly display emoji sequences in right-to-left direction. For that reason, don't auto-disable it.
This commit is contained in:
1 parent
7298716a3c
commit
cd65305b05
3 files changed
+2
-3
No files matched your search
@@ -58,7 +58,6 @@
|
||||
#define HB_NO_BITMAP
|
||||
#define HB_NO_CFF
|
||||
#define HB_NO_COLOR
|
||||
#define HB_NO_EMOJI
|
||||
#define HB_NO_FACE_COLLECT_UNICODES
|
||||
#define HB_NO_GETENV
|
||||
#define HB_NO_HINTING
|
||||
|
||||
+1
-1
@@ -479,7 +479,7 @@ hb_set_unicode_props (hb_buffer_t *buffer)
|
||||
{
|
||||
_hb_glyph_info_set_continuation (&info[i]);
|
||||
}
|
||||
#ifndef HB_NO_EMOJI
|
||||
#ifndef HB_NO_EMOJI_SEQUENCES
|
||||
else if (unlikely (_hb_glyph_info_is_zwj (&info[i])))
|
||||
{
|
||||
_hb_glyph_info_set_continuation (&info[i]);
|
||||
|
||||
+1
-1
@@ -572,7 +572,7 @@ _hb_modified_combining_class[256] =
|
||||
/*
|
||||
* Emoji
|
||||
*/
|
||||
#ifndef HB_NO_EMOJI
|
||||
#ifndef HB_NO_EMOJI_SEQUENCES
|
||||
|
||||
#include "hb-unicode-emoji-table.hh"
|
||||
|
||||
|
||||
Reference in new issue
Block a user