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: Ben Abbott
Subject: Re: font trouble when printing bitmaps
Date: Sun, 09 Nov 2008 22:42:27 -0500


On Nov 9, 2008, at 10:24 PM, Dmitri A. Sergatskov wrote:

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

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




reply via email to

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