mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[fvar] Make AxisRecord fields protected
This commit is contained in:
1 parent
5f870dfadb
commit
98c42b3bc7
1 file changed
+4
-2
@@ -102,13 +102,15 @@ struct AxisRecord
|
||||
info->reserved = 0;
|
||||
}
|
||||
|
||||
hb_ot_name_id_t get_name_id () const { return axisNameID; }
|
||||
|
||||
bool sanitize (hb_sanitize_context_t *c) const
|
||||
{
|
||||
TRACE_SANITIZE (this);
|
||||
return_trace (c->check_struct (this));
|
||||
}
|
||||
|
||||
public:
|
||||
protected:
|
||||
Tag axisTag; /* Tag identifying the design variation for the axis. */
|
||||
HBFixed minValue; /* The minimum coordinate value for the axis. */
|
||||
HBFixed defaultValue; /* The default coordinate value for the axis. */
|
||||
@@ -264,7 +266,7 @@ struct fvar
|
||||
if (!has_data ()) return;
|
||||
|
||||
+ get_axes ()
|
||||
| hb_map (&AxisRecord::axisNameID)
|
||||
| hb_map (&AxisRecord::get_name_id)
|
||||
| hb_sink (nameids)
|
||||
;
|
||||
|
||||
|
||||
Reference in new issue
Block a user