bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu

This commit is contained in:
Jonathan Kew 2012-05-21 21:05:36 +01:00
parent 72370fd0ad
commit a730b2ffe9

View File

@ -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 {