[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
font trouble when printing bitmaps
From: |
Dmitri A. Sergatskov |
Subject: |
font trouble when printing bitmaps |
Date: |
Sun, 9 Nov 2008 23:02:11 -0600 |
On Sun, Nov 9, 2008 at 9:42 PM, Ben Abbott <address@hidden> 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.
--