[glyf] Don't mark structs UNBOUNDED
See comments.
This commit is contained in:
parent
f47a60a754
commit
fa9f585ec5
@ -56,7 +56,9 @@ struct loca
|
|||||||
protected:
|
protected:
|
||||||
UnsizedArrayOf<HBUINT8> dataZ; /* Location data. */
|
UnsizedArrayOf<HBUINT8> dataZ; /* Location data. */
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_UNBOUNDED (0);
|
DEFINE_SIZE_MIN (0); /* In reality, this is UNBOUNDED() type; but since we always
|
||||||
|
* check the size externally, allow Null() object of it by
|
||||||
|
* defining it MIN() instead. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -465,7 +467,9 @@ struct glyf
|
|||||||
protected:
|
protected:
|
||||||
UnsizedArrayOf<HBUINT8> dataZ; /* Glyphs data. */
|
UnsizedArrayOf<HBUINT8> dataZ; /* Glyphs data. */
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_UNBOUNDED (0);
|
DEFINE_SIZE_MIN (0); /* In reality, this is UNBOUNDED() type; but since we always
|
||||||
|
* check the size externally, allow Null() object of it by
|
||||||
|
* defining it MIN() instead. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct glyf_accelerator_t : glyf::accelerator_t {};
|
struct glyf_accelerator_t : glyf::accelerator_t {};
|
||||||
|
Loading…
Reference in New Issue
Block a user