mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu
This commit is contained in:
parent
72370fd0ad
commit
a730b2ffe9
@ -169,7 +169,7 @@ HBGetGlyph(hb_font_t *font, void *font_data,
|
||||
const FontCallbackData *fcd =
|
||||
static_cast<const FontCallbackData*>(font_data);
|
||||
*glyph = fcd->mShaper->GetGlyph(unicode, variation_selector);
|
||||
return true;
|
||||
return *glyph != 0;
|
||||
}
|
||||
|
||||
struct HMetricsHeader {
|
||||
|
Loading…
Reference in New Issue
Block a user