Commit 2bded7fe authored by Jason Rumney's avatar Jason Rumney
Browse files

(Ffont_get): Use font driver to determine otf capability.

(adjust_anchor): Check if driver defines anchor_point before using.
parent b724906a
......@@ -1667,7 +1667,7 @@ void
adjust_anchor (struct font *font, OTF_Anchor *anchor,
unsigned code, int size, int *x, int *y)
if (anchor->AnchorFormat == 2)
if (anchor->AnchorFormat == 2 && font->driver->anchor_point)
int x0, y0;
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