projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d425e1
)
Make face immutable in hb_font_set_face()
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 5 Jul 2019 20:45:15 +0000
(13:45 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 5 Jul 2019 20:45:15 +0000
(13:45 -0700)
src/hb-font.cc
patch
|
blob
|
history
diff --git
a/src/hb-font.cc
b/src/hb-font.cc
index
f450d88
..
5727247
100644
(file)
--- a/
src/hb-font.cc
+++ b/
src/hb-font.cc
@@
-1601,6
+1601,7
@@
hb_font_set_face (hb_font_t *font,
hb_face_t *old = font->face;
+ hb_face_make_immutable (face);
font->face = hb_face_reference (face);
hb_face_destroy (old);