|
From: Tatsuro M. <tma...@ya...> - 2010-11-15 01:49:59
|
Hello What version gnuplot are you using now? Which platform are you using ? The png terminal depends on the libgd. >From version 4.4 of gnuplot, - External support library libgd version 2.0.36 introduces a new method of font selection using the fontconfig utitily. We try to automatically accommodate this, but it has not been extensively tested. Anyway, for the traditional style font selection (before 4.4), please read help gd The environmental variable GDFONTPATH is important. For the font selection via fontconfig are also used for the wxt, pngcairo, and pdfcairo. The existence and location of etc/fonts/fonts.conf is important. --- Jon wrote: > Hello Guys, > > I tried to generate png file. I firstly tried > > convert aaa.eps -resize 640 480 aaa.png > > outside gnuplot, but the plot is smeared out due to magnification. > > So, I tried to generate png file within gnuplot using set term png, but it > complains > > gdImageStringFT: Could not find/open font while printing string Experiment > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Experiment > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Calculation > with font Times-Roman > gdImageStringFT: Could not find/open font while printing string Calculation > with font Times-Roman > ... > > I did some google search and found that it could be that png cannot find the > required path to the font, so I included the path as the following, > > set term png font "/home/.../fmaker55/fminit/fontdir/Times-Roman.pfa" 12 > enhanced > > this is the only Times-Roman file I can find in the computer with ttf or pfa > surrfix. > > But it still complains the same thing. > > Any idea to help me solve the png generation problem? > > Thanks a lot! > > Sincerely, > Jon > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |