NetBSD Problem Report #54624
From www@netbsd.org Thu Oct 17 14:17:04 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5FB097A25B
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Oct 2019 14:17:04 +0000 (UTC)
Message-Id: <20191017141703.6DB3E7A27B@mollari.NetBSD.org>
Date: Thu, 17 Oct 2019 14:17:03 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: PDF export in graphics/gnuplot broken
X-Send-Pr-Version: www-1.0
>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
>Last-Modified: Tue Nov 12 07:55:00 +0000 2019
>Originator: Joern Clausen
>Release:
>Organization:
Bielefeld University
>Environment:
>Description:
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.
>How-To-Repeat:
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
gnuplot-5.2.7nb1
cairo-1.16.0
on both NetBSD 8.1 and Solaris 11.3.
>Fix:
>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/54624: PDF export in graphics/gnuplot broken
Date: Mon, 11 Nov 2019 19:08:27 +0000
Is this another casualty of Pango 1.44 dropping support for bitmap
fonts?
https://gitlab.gnome.org/GNOME/pango/issues/386
https://github.com/harfbuzz/harfbuzz/issues/1897
http://gnats.netbsd.org/54682
Helvetica in a vanilla Xorg setup is a bitmap font.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54624 CVS commit: pkgsrc/devel/bugzilla
Date: Mon, 11 Nov 2019 20:36:04 +0000
Module Name: pkgsrc
Committed By: maya
Date: Mon Nov 11 20:36:04 UTC 2019
Modified Files:
pkgsrc/devel/bugzilla: Makefile distinfo
Added Files:
pkgsrc/devel/bugzilla/patches: patch-Bugzilla_Util.pm
Log Message:
bugzilla: workaround build issue with Perl 5.30.
It doesn't like this one line of code. Unclear why. Fails with
an undefined reference to utf8::SWASHNEW.
But all it does is remove BiDi control characters, so we can remove it.
Bump PKGREVISION
PR pkg/54624
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/devel/bugzilla/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/bugzilla/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bugzilla/patches/patch-Bugzilla_Util.pm
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: =?UTF-8?Q?Clausen=2c_J=c3=b6rn?= <joern.clausen@uni-bielefeld.de>
To: <gnats-bugs@netbsd.org>, <pkg-manager@netbsd.org>,
<gnats-admin@netbsd.org>, <pkgsrc-bugs@netbsd.org>
Cc:
Subject: Re: pkg/54624: PDF export in graphics/gnuplot broken
Date: Tue, 12 Nov 2019 08:49:52 +0100
> Is this another casualty of Pango 1.44 dropping support for bitmap
> fonts?
That's very well possible. Helvetica is only available as bitmap font on
the systems I tested it (NetBSD and Solaris). When I use e.g. "Luxi
Sans" on NetBSD, the fonts are rendered okay, this font is available as
Type 1 and TTF. When I use "Utopia", unfortunately a bitmap version of
that font is used instead of the Type 1 version. So at the moment only
vector fonts seem to work that don't also have a bitmap variant.
--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum
https://www.uni-bielefeld.de/bits
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.