octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font trouble when printing bitmaps


From: Dmitri A. Sergatskov
Subject: Re: font trouble when printing bitmaps
Date: Sun, 9 Nov 2008 21:24:16 -0600

On Sun, Nov 9, 2008 at 8:25 PM, Ben Abbott <address@hidden> 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.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]