|
From: Tatsuro M. <tma...@ya...> - 2009-11-08 07:51:45
|
--- Tatsuro MATSUOKA wrote: > > > --- Allin Cottrell wrote: > > > > I notice that the font-rendering is not good in this PNG file. I > > suspect that the FreeType + fontconfig backend is not being used > > in this case. To get the benefit of the change in gp_cairo.c, the > > pango and cairo libraries must be built with support for > > fontconfig, and the DLLs for freetype, fontconfig and expat must > > all be present. DLLs that work in this respect can be found at > > > > http://www.gtk.org/download-windows.html > > > > For testing purposes, it would be easy to put a debugging print > > statement into gp-cairo.c following line 703, to see if the > > FreeType backend is in fact activated. > > > The above address is the same as I have used. > > ***************** Part of my post. > I am using cairo Libraries for MinGW from > http://www.gtk.org/download-windows.html > **************** > > However what I used the is not latest version. > (Ex. Pango version of mine 1.24.5, latest 1.26.0) > > I will update libraries and try the test again. I have update the latest glib and pango. glib 2.20.5-1 -> glib_2.22.2-1 pango_1.24.5-2 -> pango_1.26.0-1 Results went worse :-(. Please see Script *********** set term pngcairo set title 'Title' set out 'testpngcairo_ChangeLog20091106_2.png' plot sin(x) set out Screen output *********** gnuplot> set term pngcairo Terminal type set to 'pngcairo' Options are ' size 640, 480 ' gnuplot> set title 'Title' gnuplot> set out 'testpngcairo_ChangeLog20091106_2.png' gnuplot> plot sin(x) Fontconfig error: Cannot load default config file (gnuplot.exe:236): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common' (gnuplot.exe:236): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin' gnuplot> set out ************ http://www.geocities.co.jp/tmgpltwin/Files/Files.html#0031 0029 testpngcairo_ChangeLog20091106.png *** previous one on win32 0030 testpngcairo_ChangeLog20091106_2.png *** this time on win32 0031 testpngcairo_ChangeLog20091106_cyg.png *** this time on cygwin 0032 wxt_ChangeLog20091106.png **** this time for wxt term on win32 As is seen in testpngcairo_ChangeLog20091106_2.png, plot area is full of screen and all labels seem to be out of plot area. This is also seen at the wxt terminal as is seen in wxt_ChangeLog20091106.png. Terminal type set to 'wxt' gnuplot> plot sin(x) Fontconfig error: Cannot load default config file (gnuplot.exe:2208): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common' (gnuplot.exe:2208): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin' Perhaps the latest pango (also glib ) libraries are too new for the fontconfig-dev_2.7.3-1 (and also for freetype_2.3.9-1, libpng_1.2.39-1) My version list at present glib_2.22.2-1 pango_1.26.0-1 cairo_1.8.8-2 fontconfig_2.7.3-1 freetype_2.3.9-1 Please tell me your version list that you have used this time change. Regards Tatsuro -------------------------------------- GyaO! - Anime, Dramas, Movies, and Music videos [FREE] http://pr.mail.yahoo.co.jp/gyao/ |