pkgsrc-Bugs archive

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

pkg/54624: PDF export in graphics/gnuplot broken

>Number:         54624
>Category:       pkg
>Synopsis:       PDF export in graphics/gnuplot broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 14:20:00 +0000 2019
>Originator:     Joern Clausen
Bielefeld University
PDF export in graphics/gnuplot is completely broken. Fonts for labels are not calculated correctly, resulting in a distorted/unusable output. It's hard to describe, see examples below.

I can't find any bug upstream that seems to describe this problem, so it might be a problem in pkgsrc.
Feed this to gnuplot:

set terminal pdf
set output 'gnuplot-bug.pdf'
plot sin(x)

or use

set terminal pdf font "Helvetica,8" size 28cm,20cm

It should generate warnings like

warning: Warning - difficulty fitting plot titles into key
warning: Terminal canvas area too small to hold plot.
         Check plot boundary and font sizes.

This has been tested with


on both NetBSD 8.1 and Solaris 11.3.

Home | Main Index | Thread Index | Old Index