Correct the value of /LastChar in the PDF Type 1 font dictionary.

(cherry picked from 49fa8d353b commit)
This commit is contained in:
Adrian Johnson 2006-09-05 14:19:48 -04:00 committed by Behdad Esfahbod
parent 25e46ac935
commit e194c9cdbe

View file

@ -1665,7 +1665,7 @@ _cairo_pdf_surface_emit_type1_font_subset (cairo_pdf_surface_t *surface,
" /Widths [",
subset_resource.id,
subset.base_font,
font_subset->num_glyphs,
font_subset->num_glyphs - 1,
descriptor.id);
for (i = 0; i < font_subset->num_glyphs; i++)