|
From: Jon <dev...@gm...> - 2014-02-26 04:03:24
|
Dear All, When I use set term png, it always gives the following warning Could not find/open font when opening font "arial", using internal non-scalable font and the plot generated is quite ugly as compared to say what python generates. I would like to know how I could possibly remove this warning, and improve the plot quality. The system I use is linux, more details please let me know which command to use to find it out. Thanks, Sincerely, John |
|
From: Ethan A M. <eam...@gm...> - 2014-02-26 04:09:14
|
On Tuesday, 25 February 2014 10:03:17 PM Jon wrote: > Dear All, > > When I use set term png, it always gives the following warning > > Could not find/open font when opening font "arial", using internal > non-scalable font > > and the plot generated is quite ugly as compared to say what python > generates. I would like to know how I could possibly remove this warning, > and improve the plot quality. - install the font? - pick a different font? See "help fonts gd" > The system I use is linux, more details > please let me know which command to use to find it out. > > Thanks, > > Sincerely, > John |
|
From: Craig D. <def...@bo...> - 2014-02-26 04:35:54
|
I have the same issue. I "solved" it by using pngcairo instead of png. For some reason, pngcairo finds the macOS fonts, while png appears not to. On Feb 25, 2014, at 10:03 PM, Jon <dev...@gm...> wrote: > Dear All, > > When I use set term png, it always gives the following warning > > Could not find/open font when opening font "arial", using internal > non-scalable font > > and the plot generated is quite ugly as compared to say what python > generates. I would like to know how I could possibly remove this warning, > and improve the plot quality. The system I use is linux, more details > please let me know which command to use to find it out. > > Thanks, > > Sincerely, > John > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Jon <dev...@gm...> - 2014-02-26 04:58:24
|
Dear Ethan, Thanks for your help, I don't want to bother the system manager, thus I turned to the other way. But gnuplot does not return and entry for "help fonts gd" or other similar helps, is there further help? Thanks, On Tue, Feb 25, 2014 at 10:09 PM, Ethan A Merritt <eam...@gm...>wrote: > On Tuesday, 25 February 2014 10:03:17 PM Jon wrote: > > Dear All, > > > > When I use set term png, it always gives the following warning > > > > Could not find/open font when opening font "arial", using internal > > non-scalable font > > > > and the plot generated is quite ugly as compared to say what python > > generates. I would like to know how I could possibly remove this warning, > > and improve the plot quality. > > - install the font? > - pick a different font? > > See "help fonts gd" > > > > The system I use is linux, more details > > please let me know which command to use to find it out. > > > > Thanks, > > > > Sincerely, > > John > > |
|
From: Ethan A M. <eam...@gm...> - 2014-02-26 05:05:16
|
On Tuesday, 25 February 2014 10:58:18 PM Jon wrote: > Dear Ethan, > > Thanks for your help, I don't want to bother the system manager, thus I > turned to the other way. But gnuplot does not return and entry for "help > fonts gd" or other similar helps, Then it must have been installed incorrectly. > is there further help? http://gnuplot.sourceforge.net/docs_4.6/gnuplot.pdf "Fonts" on page 32 In a nutshell put this in ~/.cshrc setenv GDFONTPATH /directory/where/your/fonts/live setenv GNUPLOT_DEFAULT_GDFONT yourpreferredfontname Or the bash equivalent, if you are using bash. Ethan > > Thanks, > > > > > On Tue, Feb 25, 2014 at 10:09 PM, Ethan A Merritt <eam...@gm...>wrote: > > > On Tuesday, 25 February 2014 10:03:17 PM Jon wrote: > > > Dear All, > > > > > > When I use set term png, it always gives the following warning > > > > > > Could not find/open font when opening font "arial", using internal > > > non-scalable font > > > > > > and the plot generated is quite ugly as compared to say what python > > > generates. I would like to know how I could possibly remove this warning, > > > and improve the plot quality. > > > > - install the font? > > - pick a different font? > > > > See "help fonts gd" > > > > > > > The system I use is linux, more details > > > please let me know which command to use to find it out. > > > > > > Thanks, > > > > > > Sincerely, > > > John > > > > |
|
From: Tom L. <tl...@cp...> - 2014-02-26 17:14:53
|
On 25 Feb 2014, at 21:03, Jon <dev...@gm...> wrote: > Dear All, > > When I use set term png, it always gives the following warning > > Could not find/open font when opening font "arial", using internal > non-scalable font Jon- (and perhaps Craig, since you /are/ on MacOS) maybe completely off-the-mark, but my homebrew install of gnuplot on MacOSX suffered from non-scalable font problems. The cause turned out to be the compile options for libgd, which by default was being built without freetype, as I understood it. The fix- on a Mac, using the homebrew package manager- was: brew install libgd --with-freetype May help someone?! ~T |