[cairo] crash report and question
bulia byak
buliabyak at gmail.com
Fri Oct 10 21:23:37 PDT 2008
1. I realize it's a lot of hassle to reproduce this crash as I did,
but since it's obviously caused by a font, hopefully you can reproduce
it in a simpler way. I get it when doing --export-ps from command line
using Inkscape SVN trunk, only on Windows. Please let me know where I
can upload or send the bad font and the SVG file using it. Here is the
backtrace, cairo version is 1.8.0:
(gdb) bt
#0 0x68e0f891 in _cairo_truetype_reverse_cmap ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#1 0x68e0fa78 in _cairo_truetype_index_to_ucs4 ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#2 0x68e12495 in _cairo_sub_font_glyph_lookup_unicode ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#3 0x68e128c6 in _cairo_sub_font_map_glyph ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#4 0x68e123b8 in _cairo_sub_font_create () from
C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#5 0x68e13076 in _cairo_scaled_font_subsets_map_glyph ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#6 0x68e080b8 in _cairo_pdf_operators_emit_cluster ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#7 0x68e0859f in _cairo_pdf_operators_show_text_glyphs ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#8 0x68df637c in _cairo_ps_surface_show_glyphs ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#9 0x68de3d96 in _cairo_surface_show_text_glyphs ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#10 0x68dee32e in _cairo_meta_surface_replay_internal ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#11 0x68dee4f5 in _cairo_meta_surface_replay_region ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#12 0x68deed94 in _paint_page () from
C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#13 0x68def066 in _cairo_paginated_surface_show_page ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#14 0x68de32d3 in cairo_surface_show_page ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#15 0x68dcbd42 in _cairo_gstate_show_page ()
from C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#16 0x68dc2dbb in cairo_show_page () from
C:\inkscape-src\inkscape\inkscape\libcairo-2.dll
#17 0x00728a8e in ?? ()
#18 0x04c1a680 in ?? ()
#19 0x3ff00000 in ?? ()
#20 0x00000000 in ?? ()
2. How can I set the bounding box of an EPS file produced by cairo?
Once I set the eps flag on PS surface, it seems to ignore the width
and height I set on the surface, and sets the bounding box to the
minimum extent of the mark on the page. Which is useful in some cases,
but in my case I want to explicitly have my own "0 0 width height"
bbox. What's the trick?
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
More information about the cairo
mailing list