Index: third_party/harfbuzz-ng/src/hb-ot-shape-private.hh |
=================================================================== |
--- third_party/harfbuzz-ng/src/hb-ot-shape-private.hh (리비전 191245) |
+++ third_party/harfbuzz-ng/src/hb-ot-shape-private.hh (작업 사본) |
@@ -33,12 +33,8 @@ |
-/* buffer var allocations, used during the entire shaping process */ |
-#define unicode_props0() var2.u8[0] |
-#define unicode_props1() var2.u8[1] |
- |
struct hb_ot_shape_plan_t |
{ |
hb_segment_properties_t props; |
@@ -89,37 +85,4 @@ |
}; |
- |
-inline void |
-_hb_glyph_info_set_unicode_props (hb_glyph_info_t *info, hb_unicode_funcs_t *unicode) |
-{ |
- info->unicode_props0() = ((unsigned int) unicode->general_category (info->codepoint)) | |
- (unicode->is_default_ignorable (info->codepoint) ? 0x80 : 0); |
- info->unicode_props1() = unicode->modified_combining_class (info->codepoint); |
-} |
- |
-inline hb_unicode_general_category_t |
-_hb_glyph_info_get_general_category (const hb_glyph_info_t *info) |
-{ |
- return (hb_unicode_general_category_t) (info->unicode_props0() & 0x7F); |
-} |
- |
-inline void |
-_hb_glyph_info_set_modified_combining_class (hb_glyph_info_t *info, unsigned int modified_class) |
-{ |
- info->unicode_props1() = modified_class; |
-} |
- |
-inline unsigned int |
-_hb_glyph_info_get_modified_combining_class (const hb_glyph_info_t *info) |
-{ |
- return info->unicode_props1(); |
-} |
- |
-inline hb_bool_t |
-_hb_glyph_info_is_default_ignorable (const hb_glyph_info_t *info) |
-{ |
- return !!(info->unicode_props0() & 0x80); |
-} |
- |
#endif /* HB_OT_SHAPE_PRIVATE_HH */ |
속성 변경: third_party/harfbuzz-ng/src/hb-ot-shape-private.hh |
___________________________________________________________________ |
추가: svn:eol-style |
+ LF |