NetBSD Problem Report #50551

From dholland@netbsd.org  Mon Dec 14 11:11:05 2015
Return-Path: <dholland@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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C80FA7ACA9
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Dec 2015 11:11:05 +0000 (UTC)
Message-Id: <20151214111105.845B785E78@mail.netbsd.org>
Date: Mon, 14 Dec 2015 11:11:05 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: graphviz + cairo = sad
X-Send-Pr-Version: 3.95

>Number:         50551
>Category:       pkg
>Synopsis:       graphviz + cairo = sad
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 14 11:15:00 +0000 2015
>Closed-Date:    
>Last-Modified:  Fri Mar 01 19:30:02 +0000 2024
>Originator:     David A. Holland
>Release:        NetBSD 7.99.21 (20151120)
>Organization:
>Environment:
System: NetBSD macaran 7.99.21 NetBSD 7.99.21 (MACARAN) #31: Fri Nov 20 17:42:57 EST 2015  dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
	cairo-1.14.4
	graphviz-2.38.0nb9
>Description:

If you give graphviz a graph with labels that include a "+" character
and ask it to generate PDF, it generates PDF that contains a "-"
character instead. It also generates crappy bit-aliased PDF instead of
nice properly vectorized PDF.

Generating postscript instead avoids these problems, both of which are
caused by using the Cairo output driver. (Why graphviz has a "core" ps
driver and not a "core" PDF driver is beyond me, but it is so.)

>How-To-Repeat:

   --- foo.dot ---
digraph foo {
   n1;
   n2;
   n1 -> n2 [label="1 + 1"];
}
   ------

% dot -Tpdf foo.dot > foo.pdf
% xpdf foo.pdf
observe "1 - 1" even at high magnification.

>Fix:
Beats me.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 14 Dec 2015 11:22:51 +0000
State-Changed-Why:
I can reproduce this.
However, I don't think we'll fix this in pkgsrc. Can you please file
this at one or both of the upstreams?


From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50551
Date: Fri, 1 Mar 2024 20:25:57 +0100

 Hey David,

 did you ever file a bug upstream for this? Or does it work now?

 -- 
 Benny

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.