Fix undefined ftbit in XftFontLoadGlyphs

https://bugs.freedesktop.org/show_bug.cgi?id=42173

Fixes regression from: 6f1d7bcd

Fixed by examining original patch before rebase from:
https://bugs.freedesktop.org/show_bug.cgi?id=29151Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
parent 550b2f76
......@@ -570,6 +570,9 @@ XftFontLoadGlyphs (Display *dpy,
xftg->metrics.yOff = -TRUNC(ROUND(glyphslot->advance.y));
}
// compute the size of the final bitmap
ftbit = &glyphslot->bitmap;
width = ftbit->width;
height = ftbit->rows;
......
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