[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font size in print output -> PATCH
From: |
Eric Chassande-Mottin |
Subject: |
Re: font size in print output -> PATCH |
Date: |
Wed, 7 Apr 2010 02:05:44 -0800 (PST) |
PS: forgot to give an illustration (note: require to fix path to fonts
beforehand)
export GDFONTPATH=/usr/share/fonts/truetype/msttcorefonts
address@hidden:~$ ls $GDFONTPATH
Andale_Mono.ttf comicbd.ttf Georgia_Bold_Italic.ttf
[...]
address@hidden:~$ octave3.2 -q
octave3.2:2> plot(1:10);print("-dpng","-Farial:30","test.png"); system("echo
$GDFONTPATH"); system("echo $GNUPLOT_DEFAULT_GDFONT"); system("xloadimage
test.png");
/usr/share/fonts/truetype/msttcorefonts
test.png is 1200x900 PNG image, color type PALETTE, 8 bit
Using DirectColor visual
Building XImage...done
--
View this message in context:
http://n4.nabble.com/font-size-in-print-output-tp1634071p1754121.html
Sent from the Octave - General mailing list archive at Nabble.com.