return active_drivers;
}
-#if defined (HAVE_XFT) || defined (HAVE_FREETYPE)
+#if (defined HAVE_XFT || defined HAVE_FREETYPE) && !defined USE_CAIRO
static void
fset_font_data (struct frame *f, Lisp_Object val)
return NILP (val) ? NULL : xmint_pointer (XCDR (val));
}
-#endif /* HAVE_XFT || HAVE_FREETYPE */
+#endif /* (HAVE_XFT || HAVE_FREETYPE) && !USE_CAIRO */
/* Sets attributes on a font. Any properties that appear in ALIST and
BOOLEAN_PROPERTIES or NON_BOOLEAN_PROPERTIES are set on the font.
return pat;
}
+#ifndef USE_CAIRO
+
Lisp_Object
ftfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
{
FT_Done_Size (ftfont_info->ft_size);
}
+#endif /* !USE_CAIRO */
+
int
ftfont_has_char (Lisp_Object font, int c)
{
}
}
+#ifndef USE_CAIRO
+
unsigned
ftfont_encode_char (struct font *font, int c)
{
metrics->width = width;
}
+#endif /* !USE_CAIRO */
+
int
ftfont_get_bitmap (struct font *font, unsigned int code, struct font_bitmap *bitmap, int bits_per_pixel)
{
static void syms_of_ftfont_for_pdumper (void);
+#ifndef USE_CAIRO
+
static struct font_driver const ftfont_driver =
{
/* We can't draw a text without device dependent functions. */
.combining_capability = ftfont_combining_capability,
};
+#endif /* !USE_CAIRO */
+
void
syms_of_ftfont (void)
{
return Qnil;
}
+#if defined HAVE_NTGUI && !defined CYGWIN
+
/* Handle a mouse click at X/Y on the tab bar of TTY frame F. If the
click was on the tab bar and was handled, populate the EVENT
structure, store it in keyboard queue, and return true; otherwise
return true;
}
+#endif /* HAVE_NTGUI && !CYGWIN */
\f