Commit 59501605 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu

* src/ftcrfont.c (ftcrfont_open): Skip zero glyph index.

parent fb3b78f7
Pipeline #1763 failed with stage
in 50 minutes and 43 seconds
......@@ -190,7 +190,7 @@ ftcrfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
{
if (glyphs != &stack_glyph)
cairo_glyph_free (glyphs);
else
else if (stack_glyph.index)
{
int this_width =
ftcrfont_glyph_extents (font, stack_glyph.index, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment