From: Jason Rumney Date: Thu, 31 May 2007 14:57:48 +0000 (+0000) Subject: (Ffont_get): Use font driver to determine otf capability. X-Git-Tag: emacs-pretest-23.0.90~8295^2~472 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bded7fe213fe999a243172dd770e0c97869db64;p=emacs.git (Ffont_get): Use font driver to determine otf capability. (adjust_anchor): Check if driver defines anchor_point before using. --- 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;