mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[ft] Move lock only around clip_glyph
This commit is contained in:
1 parent
2762903909
commit
583f010b05
1 file changed
+1
-1
+1
-1
@@ -848,9 +848,9 @@ hb_ft_paint_glyph (hb_font_t *font,
|
||||
/* Simple outline. */
|
||||
ft_font->lock.unlock ();
|
||||
paint_funcs->push_clip_glyph (paint_data, gid, font);
|
||||
ft_font->lock.lock ();
|
||||
paint_funcs->color (paint_data, true, foreground);
|
||||
paint_funcs->pop_clip (paint_data);
|
||||
ft_font->lock.lock ();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user