#1114 cant get fonts on ubuntu 12.04

closed
nobody
None
5
2012-05-30
2012-04-12
Nikolay Golub
No

in ubuntu 12.04 gnuplot 4.4 patchlevel 3 can build chart with scpecific font
for example this commands doesn't change anything in a chart.

set terminal png truecolor font "./fonts/lucida_sans_unicode.ttf" 10 size 780,464
set xtics font "./fonts/lucida_sans_unicode.ttf,9"

this fonts are placed in this directory. gnuplot doesn't produce any erros.

Discussion

  • Ethan Merritt
    Ethan Merritt
    2012-04-12

    Font handling for the png terminal is done entirely by libgd.
    I suggest you look at the libgd documentation for clues as to what might be going wrong. Recent versions of libgd can be configured to use the fontconfig utitlity rather than pure file names, but I don't know whether that is true for the version shipped with Ubuntu. You might try specifying just font "Lucida".

     
  • Ethan Merritt
    Ethan Merritt
    2012-05-30

    • status: open --> closed