<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - PDF documents using Charter Type 1 font not printed and previewed correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71151#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - PDF documents using Charter Type 1 font not printed and previewed correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71151">bug 71151</a>
from <span class="vcard"><a class="email" href="mailto:gpoo@gnome.org" title="Germán Poo-Caamaño <gpoo@gnome.org>"> <span class="fn">Germán Poo-Caamaño</span></a>
</span></b>
<pre>I had printed the document to a file (using poppler-glib-demo), and
indeed some glyphs were missing. Using pdftocairo -png works fine,
but it crashed when using -pdf. See the backtrace:
Starting program: /home/gpoo/code/evince/install/bin/pdftocairo -pdf
evince-charter.pdf foo.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0xb7c632bf in _cairo_winansi_to_glyphname (glyph=541348384) at
cairo-type1-glyph-names.c:404
404 if (winansi_encoding_offset[glyph])
#0 0xb7c632bf in _cairo_winansi_to_glyphname (glyph=541348384) at
cairo-type1-glyph-names.c:404
#1 0xb7c63aa2 in write_used_glyphs (font=0xbfffdf00, glyph_number=55,
name=0x80bd8f0 "dieresis 61 RD
^3\246;\271\340\341\222m\321\340\353럩\315d\224\aW\365\263\352%\032˻\336\376q\244\230\060m\252\276\377\n1\232\032\063\206sٷ\301qǬ\342\016f\016\001\341\350\237
ND\n/germandbls 186 RD k\353.\330\004\031
\003\234\335\330\034W\231\365/T}z\304O\212\030\375\241\332\035\344\344\260\\\276\363Ku)\264\254\066Oܷ=\362\350+HY!]\325\370\200e\274
j\362\340\373G!\215ـ\213g\211W2\f\205\003-P\\\177", name_length=8,
charstring=0x80bd8ff
"^3\246;\271\340\341\222m\321\340\353럩\315d\224\aW\365\263\352%\032˻\336\376q\244\230\060m\252\276\377\n1\232\032\063\206sٷ\301qǬ\342\016f\016\001\341\350\237
ND\n/germandbls 186 RD k\353.\330\004\031
\003\234\335\330\034W\231\365/T}z\304O\212\030\375\241\332\035\344\344\260\\\276\363Ku)\264\254\066Oܷ=\362\350+HY!]\325\370\200e\274
j\362\340\373G!\215ـ\213g\211W2\f\205\003-P\\\177", charstring_length=61) at
cairo-type1-subset.c:1147
#2 0xb7c634c3 in cairo_type1_font_subset_for_each_glyph (font=0xbfffdf00,
dict_start=<optimized out>, dict_end=0x80bdb4a "",
func=0xb7c63920 <write_used_glyphs>, dict_out=0xbfffe150) at
cairo-type1-subset.c:1237
#3 0xb7c65b7d in cairo_type1_font_subset_write_private_dict (
name=0x80b6281 "/Encoding StandardEncoding def\n/FontBBox {-161 -236 1193
963} readonly def\ncurrentdict end\ncurrentfile
eexec\n\331\326oc*H\022\373\256\211\370\245\217(v\036r\261\377\305bP\203\003K>\032\334\335\340/\244\264J\350\363\247\270W\207\310",
<incomplete sequence \311>, font=0xbfffdf00) at cairo-type1-subset.c:1489
#4 cairo_type1_font_subset_write (
name=0x80b6281 "/Encoding StandardEncoding def\n/FontBBox {-161 -236 1193
963} readonly def\ncurrentdict end\ncurrentfile
eexec\n\331\326oc*H\022\373\256\211\370\245\217(v\036r\261\377\305bP\203\003K>\032\334\335\340/\244\264J\350\363\247\270W\207\310",
<incomplete sequence \311>, font=0xbfffdf00) at cairo-type1-subset.c:1596
#5 cairo_type1_font_subset_generate (
name=0x80b6281 "/Encoding StandardEncoding def\n/FontBBox {-161 -236 1193
963} readonly def\ncurrentdict end\ncurrentfile
eexec\n\331\326oc*H\022\373\256\211\370\245\217(v\036r\261\377\305bP\203\003K>\032\334\335\340/\244\264J\350\363\247\270W\207\310",
<incomplete sequence \311>, abstract_font=0xbfffdf00) at
cairo-type1-subset.c:1668
#6 _cairo_type1_subset_init (type1_subset=<optimized out>,
name=0x80b6281 "/Encoding StandardEncoding def\n/FontBBox {-161 -236 1193
963} readonly def\ncurrentdict end\ncurrentfile
eexec\n\331\326oc*H\022\373\256\211\370\245\217(v\036r\261\377\305bP\203\003K>\032\334\335\340/\244\264J\350\363\247\270W\207\310",
<incomplete sequence \311>, scaled_font_subset=0xbfffe334, hex_encode=0) at
cairo-type1-subset.c:1733
#7 0xb7ca9214 in _cairo_pdf_surface_emit_type1_font_subset
(font_subset=0xbfffe334, surface=0x8098640) at cairo-pdf-surface.c:5043
#8 _cairo_pdf_surface_emit_unscaled_font_subset (closure=0x8098640,
font_subset=0xbfffe334) at cairo-pdf-surface.c:5570
#9 _cairo_pdf_surface_emit_unscaled_font_subset (font_subset=0xbfffe334,
closure=0x8098640) at cairo-pdf-surface.c:5556
#10 0xb7c5d8ea in _cairo_sub_font_collect (closure=0xbfffe364, entry=0x80a7050)
at cairo-scaled-font-subsets.c:746
#11 _cairo_scaled_font_subsets_foreach_internal (font_subsets=<optimized out>,
font_subset_callback=<optimized out>,
closure=0x8098640, type=CAIRO_SUBSETS_FOREACH_UNSCALED) at
cairo-scaled-font-subsets.c:1067
#12 0xb7ca3c1c in _cairo_pdf_surface_emit_font_subsets (surface=0x8098640) at
cairo-pdf-surface.c:5612
#13 _cairo_pdf_surface_finish (abstract_surface=0x8098640) at
cairo-pdf-surface.c:1949
#14 0xb7c3dcfa in _cairo_surface_finish (surface=0x8098640) at
cairo-surface.c:1007
#15 0xb7c3eaa3 in *INT_cairo_surface_finish (surface=0x8098640) at
cairo-surface.c:1054
#16 *INT_cairo_surface_finish (surface=0x8098640) at cairo-surface.c:1038
#17 0xb7c105a6 in _cairo_paginated_surface_finish (abstract_surface=0x8099e00)
at cairo-paginated-surface.c:213
#18 0xb7c3dcfa in _cairo_surface_finish (surface=0x8099e00) at
cairo-surface.c:1007
#19 0xb7c3eaa3 in *INT_cairo_surface_finish (surface=0x8099e00) at
cairo-surface.c:1054
#20 *INT_cairo_surface_finish (surface=0x8099e00) at cairo-surface.c:1038
#21 0x080500cb in endDocument () at pdftocairo.cc:628
#22 main (argc=3, argv=0xbfffe6c4) at pdftocairo.cc:1042</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>