Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8781453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:18:19+00:00 2026-06-13T20:18:19+00:00

I am using gnuplot and get this warning everytime I generate a graph: Could

  • 0

I am using gnuplot and get this warning everytime I generate a graph:

Could not find/open font when opening font “arial”, using internal non-scalable font

Is there a way to suppress the warning?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:18:20+00:00Added an answer on June 13, 2026 at 8:18 pm

    This warning is generated by the gd backend I believe. Suppressing it might be a little tricky (you could try redirecting stderr of the gnuplot process), but gnuplot seems to like to write useful things to stderr, so I don’t advise that … and the builtin (non-scalable) font looks like garbage. The easiest fix is to see if your gnuplot was built with pango-cairo support. Just try:

    set term pngcairo
    

    instead of:

    set term png
    

    In this case, the font subsystem of cairo will take over rather than of gd. As a side bonus, I’ve found that I’m much happier with the cairo plots.

    If that’s not an option, you can download/find a suitable font and put it in a directory somewhere. Then you can set an environment variable GDFONTPATH to point to that directory. For example, find a truetype font that looks like Arial and put it in ~/fonts/arial.ttf. Then set your environment export GDFONTPATH=${HOME}/fonts and all should work.

    If you’re willing to live with the ugly font that gd provides, you can use the builtin fonts explicitly:

    set term png tiny
    

    or:

    set term png large
    

    See help fonts gd for more information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a graph like this one using gnuplot (or matplotlib,
Im trying to get gnuplot up running for C++ environment in XCode. Im using
I am trying to plot a graph using gnuplot. I have six text files.
I want to plot multiple rowstacked histograms on the same graph using gnuplot. A
This is a minimal working example of the code I'm using: #!/bin/bash gnuplot <<
I'm using Gnuplot to draw a graph. In the graph I drew three smooth
I am using gnuPlot library for printing a graph in C++ code. Its printing
I have an automated script that generates a graph every day using GNUPlot. The
I'm trying to plot a graph in real time using GNUplot and C++. Does
I have been trying to graph my data set using GNUPLOT, but so far

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.