From 2bded7fe213fe999a243172dd770e0c97869db64 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 31 May 2007 14:57:48 +0000 Subject: [PATCH] (Ffont_get): Use font driver to determine otf capability. (adjust_anchor): Check if driver defines anchor_point before using. --- src/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font.c b/src/font.c index 15a3f8b99ad..965bf3f4b6f 100644 --- a/src/font.c +++ b/src/font.c @@ -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; -- 2.39.5