font trouble when printing bitmaps

Dmitri A. Sergatskov dasergatskov at gmail.com
Sun Nov 9 23:02:11 CST 2008


On Sun, Nov 9, 2008 at 9:42 PM, Ben Abbott <bpabbott at mac.com> wrote:

>>> 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.
>

GD needs to know where true-type fonts are.
Why do you think this is not what is needed?

> Ben
>

Dmitri.
--


More information about the Octave-maintainers mailing list