NetBSD Problem Report #47423
From www@NetBSD.org Wed Jan 9 05:16:59 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id BB8BD63EBD5
for <gnats-bugs@gnats.NetBSD.org>; Wed, 9 Jan 2013 05:16:59 +0000 (UTC)
Message-Id: <20130109051658.AF5F163EBD5@www.NetBSD.org>
Date: Wed, 9 Jan 2013 05:16:58 +0000 (UTC)
From: george@galis.org
Reply-To: george@galis.org
To: gnats-bugs@NetBSD.org
Subject: graphviz does not list fontconfig as a dependancy
X-Send-Pr-Version: www-1.0
>Number: 47423
>Category: pkg
>Synopsis: graphviz does not list fontconfig as a dependancy
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: sno
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 05:20:00 +0000 2013
>Closed-Date: Sat Mar 30 19:41:25 +0000 2019
>Last-Modified: Sat Mar 30 19:41:25 +0000 2019
>Originator: George Georgalis
>Release: pkgin 0.6.2.2 for NetBSD-6.0 i386 (using SQLite 3.7.10)
>Organization:
>Environment:
NetBSD atom.wsnat 6.0 NetBSD 6.0 (GENERIC) i386
>Description:
While trying to resolve rendering issues with graphviz, fonts are bitmap vs TrueType, it was discovered that fonts/fontconfig is not registered as a dependency.
>How-To-Repeat:
pkgin in graphviz
cat >simple.dot <<EOF
digraph {
node [fontname=helvetica]
p -> f1
f1 -> f2
}
EOF
dot -v -Tpdf simple.dot > simple.pdf
>Fix:
Installing fontconfig does not solve the problem but it is a necessary step toward a solution.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sno
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Tue, 15 Jan 2013 00:30:26 +0000
Responsible-Changed-Why:
Assign to maintainer.
From: George Georgalis <george@galis.org>
To: gnats-bugs@netbsd.org
Cc: sno@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, reed@netbsd.org
Subject: Re: pkg/47423 (graphviz does not list fontconfig as a dependancy)
Date: Tue, 15 Jan 2013 12:21:37 -0800
Further efforts on this issue are at
http://thread.gmane.org/gmane.comp.video.graphviz/8207/focus=8209
That thread looks toward a fontconfig (mis) configuration... while
that discussion is accessing Helvetica fonts, the bigger problem is no
true type fonts at all, in graphviz.
In the past, true type fonts just worked when graphviz was compiled from pkgsrc.
It may have succeeded by using tex-latex-bin dependencies that are not
properly resolved today. For example I see "The bundle is part of the
LaTeX `required' set of packages." in the tex-psnfss package
description, though it doesn't get picked up as a dependency of
tex-latex-bin.
--
George Georgalis, (415) 894-2710, http://www.galis.org/
State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sat, 30 Mar 2019 12:06:55 +0000
State-Changed-Why:
Can you please share the output of the suggested `dot' invocation?
E.g., here doing what described in `How-To-Repeat:' leads to:
fontname: "helvetica" resolved to: (ps:pango Helvetica, REGULAR) (PangoCairoFcFont) "Helvetica, Regular" *no pathname available*
...and indeed the produced PDF doesn't seem to have TrueType fonts.
Adjusting simple.dot to use another font, e.g.:
node [fontname="Luxi Mono"]
...and rerunning dot leads to:
fontname: "Luxi Mono" resolved to: (PangoCairoFcFont) "Luxi Mono, Regular" /usr/X11R7/lib/X11/fonts/TTF/luximr.ttf
So it seems that TrueType fonts are used (but I can probably missing something!).
Thank you!
From: George Georgalis <george@galis.org>
To: gnats-bugs@netbsd.org
Cc: sno@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
leot@netbsd.org
Subject: Re: pkg/47423 (graphviz does not list fontconfig as a dependancy)
Date: Sat, 30 Mar 2019 12:26:10 -0700
--00000000000028d403058554c3e3
Content-Type: text/plain; charset="UTF-8"
Fonts from 5 years ago... if I find another problem I'll open another issue!
Feel free to close for me.
-George
On Sat, Mar 30, 2019 at 5:06 AM <leot@netbsd.org> wrote:
> Synopsis: graphviz does not list fontconfig as a dependancy
>
> State-Changed-From-To: open->feedback
> State-Changed-By: leot@NetBSD.org
> State-Changed-When: Sat, 30 Mar 2019 12:06:55 +0000
> State-Changed-Why:
> Can you please share the output of the suggested `dot' invocation?
>
> E.g., here doing what described in `How-To-Repeat:' leads to:
>
> fontname: "helvetica" resolved to: (ps:pango Helvetica, REGULAR)
> (PangoCairoFcFont) "Helvetica, Regular" *no pathname available*
>
> ...and indeed the produced PDF doesn't seem to have TrueType fonts.
>
> Adjusting simple.dot to use another font, e.g.:
>
> node [fontname="Luxi Mono"]
>
> ...and rerunning dot leads to:
>
> fontname: "Luxi Mono" resolved to: (PangoCairoFcFont) "Luxi Mono,
> Regular" /usr/X11R7/lib/X11/fonts/TTF/luximr.ttf
>
> So it seems that TrueType fonts are used (but I can probably missing
> something!).
>
>
> Thank you!
>
>
>
>
--
George Georgalis, (415) 894-2710, http://www.galis.org/
--00000000000028d403058554c3e3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Fonts from 5 years ago... if I find another problem I=
'll open another issue!</div><div>Feel free to close for me.</div><div>=
-George<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas=
s=3D"gmail_attr">On Sat, Mar 30, 2019 at 5:06 AM <<a href=3D"mailto:leot=
@netbsd.org">leot@netbsd.org</a>> wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">Synopsis: graphviz does not list fontconfig as =
a dependancy<br>
<br>
State-Changed-From-To: open->feedback<br>
State-Changed-By: leot@NetBSD.org<br>
State-Changed-When: Sat, 30 Mar 2019 12:06:55 +0000<br>
State-Changed-Why:<br>
Can you please share the output of the suggested `dot' invocation?<br>
<br>
E.g., here doing what described in `How-To-Repeat:' leads to:<br>
<br>
=C2=A0fontname: "helvetica" resolved to: (ps:pango=C2=A0 Helvetic=
a,=C2=A0 REGULAR) (PangoCairoFcFont) "Helvetica, Regular" *no pat=
hname available*<br>
<br>
...and indeed the produced PDF doesn't seem to have TrueType fonts.<br>
<br>
Adjusting simple.dot to use another font, e.g.:<br>
<br>
=C2=A0node [fontname=3D"Luxi Mono"]<br>
<br>
...and rerunning dot leads to:<br>
<br>
=C2=A0fontname: "Luxi Mono" resolved to: (PangoCairoFcFont) "=
;Luxi Mono, Regular" /usr/X11R7/lib/X11/fonts/TTF/luximr.ttf<br>
<br>
So it seems that TrueType fonts are used (but I can probably missing someth=
ing!).<br>
<br>
<br>
Thank you!<br>
<br>
<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">George Georgalis, (415) 894-2710, <a href=3D"http://www.gal=
is.org/" target=3D"_blank">http://www.galis.org/</a><br><br></div>
--00000000000028d403058554c3e3--
State-Changed-From-To: feedback->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Sat, 30 Mar 2019 19:41:25 +0000
State-Changed-Why:
Close (helvetica is still problematic but other ttf fonts seems to
work).
Thank you George for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.