diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-08-01 10:47:01 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-08-01 19:21:48 +0200 |
commit | daca1d999f487fd089421591061f9bf36d47f11f (patch) | |
tree | f3f51f2e26f7a5c20237c2df7ce474a24ae18d59 /src | |
parent | 400d055f3cd2eecd2cc4b91a40eac4146ec61932 (diff) |
scaled-font: Remove _cairo_ft_scaled_font_get_unscaled_font()
It is unused since 068df654daa74cdf516657af432002471a03c161.
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-ft-font.c | 12 | ||||
-rw-r--r-- | src/cairo-ft-private.h | 3 |
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); |