summaryrefslogtreecommitdiff
path: root/src/cairo-win32-font.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2007-02-23 22:14:42 +1030
committerAdrian Johnson <ajohnson@redneon.com>2007-02-23 22:14:42 +1030
commit27312591fe7ce14f65aac88ee7206ddcf3cbd0b1 (patch)
tree2a48abc31db2324ccedf295f61132bd59c144d71 /src/cairo-win32-font.c
parent3b168e45510e02caf54e4b3cd0df76df6420d304 (diff)
Win32: Fix _cairo_win32_scaled_font_map_glyphs_to_unicode return type
Diffstat (limited to 'src/cairo-win32-font.c')
-rw-r--r--src/cairo-win32-font.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cairo-win32-font.c b/src/cairo-win32-font.c
index e1f5e2ca..42a55b0f 100644
--- a/src/cairo-win32-font.c
+++ b/src/cairo-win32-font.c
@@ -1281,7 +1281,7 @@ _cairo_win32_scaled_font_load_truetype_table (void *abstract_font,
return status;
}
-static cairo_int_status_t
+static void
_cairo_win32_scaled_font_map_glyphs_to_unicode (void *abstract_font,
cairo_scaled_font_subset_t *font_subset)
{
@@ -1289,12 +1289,10 @@ _cairo_win32_scaled_font_map_glyphs_to_unicode (void *abstract_font,
unsigned int i;
if (scaled_font->glyph_indexing)
- return CAIRO_INT_STATUS_UNSUPPORTED;
+ return;
for (i = 0; i < font_subset->num_glyphs; i++)
font_subset->to_unicode[i] = font_subset->glyphs[i];
-
- return CAIRO_STATUS_SUCCESS;
}
static void