font trouble when printing bitmaps
Ben Abbott
bpabbott at mac.com
Sun Nov 9 21:42:27 CST 2008
On Nov 9, 2008, at 10:24 PM, Dmitri A. Sergatskov wrote:
> On Sun, Nov 9, 2008 at 8:25 PM, Ben Abbott <bpabbott at mac.com> wrote:
>> I'm running the developers sources from a few days ago.
>>
>> Apparently, I don't have my font configuration isn't working
>> properly. Can
>> someone who is knowledgeable of such things give me an
>> explanation ... or
>> better yet describe how to fix it?
>>
>> octave:14> plot(1:10)
>> octave:15> print(gcf,'-djpg','test.jpg')
>> gdImageStringFT: Could not find/open font while printing string 0
>> with font
>> Times-Roman
>
> You need to point GDFONTPATH to the directory that has these fonts.
> E.g.:
>
> $ GDFONTPATH=/Library/Fonts octave
>
> Dmitri.
> --
Excuse my ignorance, but what sort of files will be present in the
directory?
My /Library/Fonts contians ttf and dfont files, which apparently is
not what is needed.
Ben
More information about the Octave-maintainers
mailing list