summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-08-01 10:47:01 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-08-01 19:21:48 +0200
commitdaca1d999f487fd089421591061f9bf36d47f11f (patch)
treef3f51f2e26f7a5c20237c2df7ce474a24ae18d59 /src
parent400d055f3cd2eecd2cc4b91a40eac4146ec61932 (diff)
scaled-font: Remove _cairo_ft_scaled_font_get_unscaled_font()
Diffstat (limited to 'src')
-rw-r--r--src/cairo-ft-font.c12
-rw-r--r--src/cairo-ft-private.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index c490d694..aee305b2 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -3350,18 +3350,6 @@ cairo_ft_scaled_font_unlock_face (cairo_scaled_font_t *abstract_font)
_cairo_ft_unscaled_font_unlock_face (scaled_font->unscaled);
}
-/* We expose our unscaled font implementation internally for the the
- * PDF backend, which needs to keep track of the the different
- * fonts-on-disk used by a document, so it can embed them.
- */
-cairo_unscaled_font_t *
-_cairo_ft_scaled_font_get_unscaled_font (cairo_scaled_font_t *abstract_font)
-{
- cairo_ft_scaled_font_t *scaled_font = (cairo_ft_scaled_font_t *) abstract_font;
-
- return &scaled_font->unscaled->base;
-}
-
cairo_bool_t
_cairo_ft_scaled_font_is_vertical (cairo_scaled_font_t *scaled_font)
{
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h
index ff6ad4e6..db1081dd 100644
--- a/src/cairo-ft-private.h
+++ b/src/cairo-ft-private.h
@@ -52,9 +52,6 @@ _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
*/
-cairo_private cairo_unscaled_font_t *
-_cairo_ft_scaled_font_get_unscaled_font (cairo_scaled_font_t *scaled_font);
-
cairo_private FT_Face
_cairo_ft_unscaled_font_lock_face (cairo_ft_unscaled_font_t *unscaled);