Handle when glyphs don't exist on mac

This commit is contained in:
Brian Anderson 2012-09-06 19:38:06 -07:00
parent 2f6868bbbe
commit 19e1e39acc

View file

@ -86,7 +86,10 @@ struct QuartzNativeFont/& {
}
};
assert result != false; // FIXME: error handling
if !result {
// No glyph for this character
return None;
}
CFRelease(ctfont);