[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined reference to ftfont_variation_glyphs
From: |
Sebastian Rose |
Subject: |
Re: undefined reference to ftfont_variation_glyphs |
Date: |
Fri, 27 Mar 2009 22:39:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> This is the fix I used (and that works fine):
>
> Could you resend it in "unified diff" (or "context diff") format, please?
Unified:
<sh:/.../emacs-CVS/emacs> cvs diff -u src/ftfont.c
Index: src/ftfont.c
===================================================================
RCS file: /sources/emacs/emacs/src/ftfont.c,v
retrieving revision 1.45
diff -u -r1.45 ftfont.c
--- src/ftfont.c 11 Feb 2009 09:45:14 -0000 1.45
+++ src/ftfont.c 27 Mar 2009 21:34:17 -0000
@@ -381,8 +381,15 @@
int *, int *));
static Lisp_Object ftfont_otf_capability P_ ((struct font *));
static Lisp_Object ftfont_shape P_ ((Lisp_Object));
+
+#ifdef HAVE_LIBOTF
+#ifdef HAVE_M17N_FLT
+#ifdef HAVE_OTF_GET_VARIATION_GLYPHS
static int ftfont_variation_glyphs P_ ((struct font *, int c,
unsigned variations[256]));
+#endif /* HAVE_OTF_GET_VARIATION_GLYPHS */
+#endif /* HAVE_M17N_FLT */
+#endif /* HAVE_LIBOTF */
struct font_driver ftfont_driver =
{
@@ -422,11 +429,15 @@
NULL,
#endif /* not (HAVE_M17N_FLT && HAVE_LIBOTF) */
NULL, /* check */
+#ifdef HAVE_LIBOTF
+#ifdef HAVE_M17N_FLT
#ifdef HAVE_OTF_GET_VARIATION_GLYPHS
ftfont_variation_glyphs
#else
NULL
#endif
+#endif
+#endif
};
extern Lisp_Object QCname;
</#part>
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: address@hidden, address@hidden
Http: www.emma-stil.de
Re: undefined reference to ftfont_variation_glyphs, Chong Yidong, 2009/03/27
Re: undefined reference to ftfont_variation_glyphs, Kenichi Handa, 2009/03/30