[base] minor
This commit is contained in:
parent
d9c44e7239
commit
69655d5bc3
|
@ -267,8 +267,7 @@ struct BaseLangSysRecord
|
||||||
|
|
||||||
bool has_data () const { return baseLangSysTag; }
|
bool has_data () const { return baseLangSysTag; }
|
||||||
|
|
||||||
const MinMax &get_min_max () const
|
const MinMax &get_min_max () const { return this+minMax; }
|
||||||
{ return this+minMax; }
|
|
||||||
|
|
||||||
bool sanitize (hb_sanitize_context_t *c, const void *base) const
|
bool sanitize (hb_sanitize_context_t *c, const void *base) const
|
||||||
{
|
{
|
||||||
|
@ -450,7 +449,7 @@ struct BASE
|
||||||
hb_tag_t language_tag,
|
hb_tag_t language_tag,
|
||||||
hb_position_t *base) const
|
hb_position_t *base) const
|
||||||
{
|
{
|
||||||
const BaseCoord *base_coord;
|
const BaseCoord *base_coord = nullptr;
|
||||||
if (unlikely (!get_axis (direction).get_baseline (baseline, script_tag, language_tag, &base_coord) &&
|
if (unlikely (!get_axis (direction).get_baseline (baseline, script_tag, language_tag, &base_coord) &&
|
||||||
base_coord && !base_coord->has_data ()))
|
base_coord && !base_coord->has_data ()))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue