mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
minor: coding style
This commit is contained in:
parent
ed94e41065
commit
2e7c1239c8
1 changed files with 3 additions and 3 deletions
|
@ -210,11 +210,11 @@ hb_ot_get_glyph_name (hb_font_t *font HB_UNUSED,
|
|||
void *user_data HB_UNUSED)
|
||||
{
|
||||
const hb_ot_face_t *ot_face = (const hb_ot_face_t *) font_data;
|
||||
hb_bool_t ret = ot_face->post->get_glyph_name (glyph, name, size);
|
||||
if (ot_face->post->get_glyph_name (glyph, name, size)) return true;
|
||||
#ifndef HB_NO_OT_FONT_CFF
|
||||
if (!ret) ret = ot_face->cff1->get_glyph_name (glyph, name, size);
|
||||
if (ot_face->cff1->get_glyph_name (glyph, name, size)) return true;
|
||||
#endif
|
||||
return ret;
|
||||
return false;
|
||||
}
|
||||
static hb_bool_t
|
||||
hb_ot_get_glyph_from_name (hb_font_t *font HB_UNUSED,
|
||||
|
|
Loading…
Add table
Reference in a new issue