Loading ...
Sorry, an error occurred while loading the content.

2266Re: Having problems setting font

Expand Messages
  • johnkorbphoto
    May 13, 2010
      Hi Steve,

      No, I downloaded the distribution and installed it.

      Is there a distribution available with the truetype font capability enabled available for download?

      Thanks,

      John

      --- In ploticus@yahoogroups.com, Steve Grubb <stevegrubb@...> wrote:
      >
      > John, ploticus' ability to use truetype fonts has to be configured when
      > ploticus is built... see the Makefile. Did you configure your version for
      > truetype fonts?
      >
      > Steve
      >
      >
      > On Fri, Apr 16, 2010 at 6:59 PM, johnkorbphoto <johnkorbphoto@...>wrote:
      >
      > >
      > >
      > > Hi,
      > >
      > > I'm running Ploticus in a Linux environment.
      > >
      > > I've installed the "liberation" font set and now I'm trying to use one of
      > > the fonts. The fonts are in the directory:
      > >
      > > /usr/share/fonts/liberation
      > >
      > > For GDFONTPATH:
      > >
      > > set GDFONTPATH=/usr/share/fonts/liberation
      > > export GDFONTPATH=/usr/share/fonts/liberation
      > >
      > > and then in my Ploticus script, near the top of the script I have:
      > >
      > > #proc areadef
      > > title: % CPU Utilization
      > > titledetails: size=24 align=C adjust=0.0,0.2 font=LiberationSerif-Regular
      > > rectangle: 1 1 8 4
      > > xscaletype: time hh:mm:ss
      > > xrange: 00:00:00 23:59:59
      > > yrange: 0 100
      > > frame: color=xAFAFAF width=1.0
      > >
      > > Please note that the "titledetails" line may wrap here, but is all on one
      > > line in the script.
      > >
      > > The actual font file name is:
      > >
      > > /usr/share/fonts/liberation/LiberationSerif-Regular.ttf
      > >
      > > When I run my script, the font used is the default, mono-space font, not
      > > the desired font.
      > >
      > > What am I doing wrong?
      > >
      > > Thanks!
      > >
      > > John
      > >
      > >
      > >
      >
    • Show all 8 messages in this topic