[hb-ft] Minor rearrange of struct members
To make clear what members the lock protects.
This commit is contained in:
parent
4e11da054d
commit
55804e8d68
|
@ -80,12 +80,12 @@
|
||||||
|
|
||||||
struct hb_ft_font_t
|
struct hb_ft_font_t
|
||||||
{
|
{
|
||||||
mutable hb_mutex_t lock;
|
|
||||||
FT_Face ft_face;
|
|
||||||
int load_flags;
|
int load_flags;
|
||||||
bool symbol; /* Whether selected cmap is symbol cmap. */
|
bool symbol; /* Whether selected cmap is symbol cmap. */
|
||||||
bool unref; /* Whether to destroy ft_face when done. */
|
bool unref; /* Whether to destroy ft_face when done. */
|
||||||
|
|
||||||
|
mutable hb_mutex_t lock;
|
||||||
|
FT_Face ft_face;
|
||||||
mutable int cached_x_scale;
|
mutable int cached_x_scale;
|
||||||
mutable hb_advance_cache_t advance_cache;
|
mutable hb_advance_cache_t advance_cache;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue