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:
3007ffa
)
[graphite2] Bail if grface is NULL
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 25 Aug 2011 20:46:21 +0000
(22:46 +0200)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 25 Aug 2011 20:46:21 +0000
(22:46 +0200)
src/hb-graphite2.cc
patch
|
blob
|
history
diff --git
a/src/hb-graphite2.cc
b/src/hb-graphite2.cc
index
df97175
..
dfeab9f
100644
(file)
--- a/
src/hb-graphite2.cc
+++ b/
src/hb-graphite2.cc
@@
-227,6
+227,7
@@
hb_graphite_shape (hb_font_t *font,
buffer->guess_properties ();
hb_gr_font_data_t *data = _hb_gr_font_get_data (font);
+ if (!data->grface) return FALSE;
unsigned int charlen;
hb_glyph_info_t *bufferi = hb_buffer_get_glyph_infos (buffer, &charlen);