The change ensures that returned glyph exists in the current font. Signed-off-by: Maksim Salau <maksim.salau@gmail.com>