[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using fonts with the print command
From: |
John W. Eaton |
Subject: |
Using fonts with the print command |
Date: |
Sun, 09 Mar 2008 22:11:37 -0400 |
On 9-Mar-2008, Dave T wrote:
| If for some reason, setting GDFONTPATH doesn't work, you can specify
| the full path to the font. It's a yucky hack, but it works. I
| discovered thru trial and error that there seems to be some magical
| length limit on the path name.
Other than limits imposed by your OS or the filesystem you ar using,
there shouldn't be any limits on the length of a filename. If there
is, you should report it as a bug to the address@hidden list. But
before you do, please read http://www.octave.org/bugs.html to see what
information to include in your report so that someone might actually
be able to reproduce and fix the problem.
| When I did this in octave:
|
| title ('My plot', 'FontName',
"/usr/share/fonts/truetype/ttf-mgopen/MgOpenModernaBold.ttf");
|
| I got an error.
What error?
| So I copied the font file to a directory with a
| shorter name and shortened the file name as well:
|
| title ('My plot', 'FontName', "/home/dave/Fonts/MdrnaBd.ttf");
|
| This works just fine.
jwe