summaryrefslogtreecommitdiff
path: root/src/cairo-ft-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-07-13 11:01:25 +0000
committerCarl Worth <cworth@cworth.org>2005-07-13 11:01:25 +0000
commit6725cc9d7f9b44f930478c337073d372272407de (patch)
tree3f41f6887a948112a743dcea39c2376143bca706 /src/cairo-ft-private.h
parentdda555de995e2af3cc49e3e2ed9e2444c8622a55 (diff)
New predicates to allow checking for cairo_ft derivates of generic font type.
Add explicit checks for cairo_ft derivatives of generic fonts rather than just blindly assuming that's what we get.
Diffstat (limited to 'src/cairo-ft-private.h')
-rw-r--r--src/cairo-ft-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h
index 494d8369..e92048b2 100644
--- a/src/cairo-ft-private.h
+++ b/src/cairo-ft-private.h
@@ -44,6 +44,12 @@
CAIRO_BEGIN_DECLS
+cairo_bool_t
+_cairo_unscaled_font_is_ft (cairo_unscaled_font_t *unscaled_font);
+
+cairo_bool_t
+_cairo_scaled_font_is_ft (cairo_scaled_font_t *scaled_font);
+
/* These functions are needed by the PDF backend, which needs to keep track of the
* the different fonts-on-disk used by a document, so it can embed them
*/