mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
Minor
This commit is contained in:
1 parent
50d1a41c08
commit
aa06574823
5 files changed
+5
-5
No files matched your search
@@ -169,7 +169,7 @@ struct trak
|
||||
{
|
||||
static const hb_tag_t tableTag = HB_AAT_TAG_trak;
|
||||
|
||||
inline bool has_data (void) const { return version.to_int () != 0; }
|
||||
inline bool has_data (void) const { return version.to_int (); }
|
||||
|
||||
inline bool apply (hb_aat_apply_context_t *c) const
|
||||
{
|
||||
|
||||
@@ -348,7 +348,7 @@ struct GDEF
|
||||
ComponentGlyph = 4
|
||||
};
|
||||
|
||||
inline bool has_data (void) const { return version.to_int () != 0; }
|
||||
inline bool has_data (void) const { return version.to_int (); }
|
||||
inline bool has_glyph_classes (void) const { return glyphClassDef != 0; }
|
||||
inline unsigned int get_glyph_class (hb_codepoint_t glyph) const
|
||||
{ return (this+glyphClassDef).get_class (glyph); }
|
||||
|
||||
@@ -2657,7 +2657,7 @@ struct hb_ot_layout_lookup_accelerator_t
|
||||
|
||||
struct GSUBGPOS
|
||||
{
|
||||
inline bool has_data (void) const { return version.to_int () != 0; }
|
||||
inline bool has_data (void) const { return version.to_int (); }
|
||||
inline unsigned int get_script_count (void) const
|
||||
{ return (this+scriptList).len; }
|
||||
inline const Tag& get_script_tag (unsigned int i) const
|
||||
|
||||
@@ -684,7 +684,7 @@ struct MATH
|
||||
{
|
||||
static const hb_tag_t tableTag = HB_OT_TAG_MATH;
|
||||
|
||||
inline bool has_data (void) const { return version.to_int () != 0; }
|
||||
inline bool has_data (void) const { return version.to_int (); }
|
||||
|
||||
inline bool sanitize (hb_sanitize_context_t *c) const
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ struct fvar
|
||||
{
|
||||
static const hb_tag_t tableTag = HB_OT_TAG_fvar;
|
||||
|
||||
inline bool has_data (void) const { return version.to_int () != 0; }
|
||||
inline bool has_data (void) const { return version.to_int (); }
|
||||
|
||||
inline bool sanitize (hb_sanitize_context_t *c) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user