GNOME Bugzilla – Bug 488935
Bug with VDX import in WinXp (libpangocairo too old)
Last modified: 2009-01-11 19:47:41 UTC
Steps to reproduce: 1. According to Ian Redfern, it works with Ubuntu Linux 7.10 2. When I try to open a vdx file I have the error "Pango-ERROR**:Unable to create Win32 cairo scaled font. This means out of memory or a cairo/fontconfig/FreeType bug aborting..." 3. I have Dia 0.96-1 on WinXP SP2 Stack trace: Other information:
I'm suspecting a problem with Pango/cairo when given an invalid font size (e.g. 0). Can you provide the crashing VDX file so we ca be sure?
Created attachment 97844 [details] A crashing VDX file with Dia
Dia (not only) on Linux spits out ** (lt-dia:21819): DEBUG: g=0.000046 too small ** (lt-dia:21819): DEBUG: g=0.000046 too small ** (lt-dia:21819): DEBUG: g=0.000046 too small ** (lt-dia:21819): DEBUG: g=0.000046 too small when looading the file. Neither the windows nor the linux version of current SVN are crashing on me.
Created attachment 120494 [details] Error dialogBox ScreenShot
Hi I have the same problem Win XP SP3 Dia 0.96.1
I can reproduce the crash with Dia-0-96.1-7 from . Part of the problem are the old cairo and pango versions. At least the crash can be avoided by updating the dependencies to a newer versions. Steffen: I've checked with Pango-1-18 without updateing gtk+, but your installer should probably be updated to use Gtk+-2-12 including all it's updated dependencies (good for upcoming version 0.97, too). This will also help to get rid of the freetype dependency which was dragged in by libpangocairo or libcairo, IMO by accident. See e.g.: http://lists.cairographics.org/archives/cairo/2007-June/010907.html
Hans, thanks for the information. For the 0.97 build, I'm on new GTK+ libraries anyway. However, it definitely seems to be time for another 0.96.1 installer - I think that there are also some security related issues in the libraries.
indeed the crash is fixed with Dia-0-96.1-9, thanks Steffen. VDX text import works much better with upcoming 0.97, though.