A patch of print command to support PDF output
Tetsuro KURITA
tkurita at mac.com
Wed Jan 9 19:42:24 CST 2008
It looks that print command of Octave 3.0.0 does not have PDF support.
I have mentioned about recent Octave 2.9.x droped PDF support when I was
using octave 2.9.9 and latest version was 2.9.10. I am not a chaser of
octave. I could not make a patch for latest version.
Now I am using version 3.0.0. I make two patches for the latest version.
One is for print.m. The other is for drawnow.m to add 'pdf terminal' as an
enhanced terminal.
Also I found a problem related font handling of plot title after applying
patch.
The command
print -dpdf "test.pdf"
cause to display following error message.
Couldn't find font helvetica, falling back to Times-Roman
Only font of plot title in the generated pdf file is 'Times-Roman' and
fonts of other strings are 'Helvetica'
I think octave send like following command.
set title "title" font 'helvetica'
This font specification cause same error message in gnuplot. The first
letter of font name should be upper case as follows.
set title "title" font 'Helvetica'
=======================================================
Tetsuro KURITA
E-mail: tkurita at mac.com
http://homepage.mac.com/tkurita/scriptfactory/en/
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print.m.patch
Type: application/octet-stream
Size: 1814 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080110/32e008bc/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawnow.m.patch
Type: application/octet-stream
Size: 863 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080110/32e008bc/attachment-0001.obj
More information about the Help-octave
mailing list