We need to know whether the glyph exists, so we can fallback to composing / decomposing. Assuming that glyph==0 means "doesn't exist" wouldn't work for applications like Pango that want to use different "doesn't exist" glyph codes for different characters. An explicit return value fixes that.pull/1/head
parent
8e07f93ab4
commit
0fd8c2f1be
6 changed files with 43 additions and 26 deletions
Loading…
Reference in new issue