Details Ticket 1028


Comment | Reply | Take | Open


Serial Number 1028
Subject PNG driver - d.barscale
Area none
Queue grass
Requestors neteler@itc.it
Owner none
Status resolved
Last User Contact Wed Apr 24 16:55:44 2002 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Apr 24 17:25:19 2002 (6 yr ago)
Created Wed Apr 24 14:43:57 2002 (6 yr ago)

Transaction History Ticket 1028


Wed, Apr 24 2002 14:43:57    Request created by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 24 Apr 2002 14:43:53 +0200
From Markus Neteler <neteler@itc.it>
To grass-bugs@intevation.de
Subject PNG driver - d.barscale
Message-ID <20020424144353.A14513@itc.it>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
X-Spam-Status No, hits=0 required=5 tests=
Bug report:

A (minor) problem is that the fonts used in d.barscale
are not consistent in PNG driver (CELL driver not tested).

When placing a barscale with d.barscale in a GRASS monitor,
the size of "N" (north) and the number at the right (e.g. 10km)
are consistent. The same settings in PNG driver lead to a
too large number at the right.
See
http://mpa.itc.it/markus/tmp/pngdriver.jpg

Nothing severe, but not nice.

 Markus


Wed, Apr 24 2002 15:00:16    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15558.44029.421755.779460@cerise.nosuchdomain.co.uk>
Date Wed, 24 Apr 2002 13:58:37 +0100
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1028] (grass) PNG driver - d.barscale
In-Reply-To <20020424124357.6C45713A1C@lists.intevation.de>
References <20020424124357.6C45713A1C@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Request Tracker wrote:

> A (minor) problem is that the fonts used in d.barscale
> are not consistent in PNG driver (CELL driver not tested).
> 
> When placing a barscale with d.barscale in a GRASS monitor,
> the size of "N" (north) and the number at the right (e.g. 10km)
> are consistent. The same settings in PNG driver lead to a
> too large number at the right.

I am unable to reproduce this.

I am also unable to see how this could happen; the text code isn't
part of the individual drivers, it's common to all of them.

Can you provide the region information, and the size of the monitors?

-- 
Glynn Clements <glynn.clements@virgin.net>


Wed, Apr 24 2002 16:55:44    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15558.50936.528684.255494@cerise.nosuchdomain.co.uk>
Date Wed, 24 Apr 2002 15:53:44 +0100
To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1028] (grass) PNG driver - d.barscale
In-Reply-To <15558.44029.421755.779460@cerise.nosuchdomain.co.uk>
References <20020424124357.6C45713A1C@lists.intevation.de> <15558.44029.421755.779460@cerise.nosuchdomain.co.uk>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Glynn Clements wrote:

> > A (minor) problem is that the fonts used in d.barscale
> > are not consistent in PNG driver (CELL driver not tested).
> > 
> > When placing a barscale with d.barscale in a GRASS monitor,
> > the size of "N" (north) and the number at the right (e.g. 10km)
> > are consistent. The same settings in PNG driver lead to a
> > too large number at the right.
> 
> I am unable to reproduce this.
> 
> I am also unable to see how this could happen; the text code isn't
> part of the individual drivers, it's common to all of them.
> 
> Can you provide the region information, and the size of the monitors?

OK, I see what's happened; The PNG monitor is actually significantly
taller than the image which you provided.

The text at the RHS of the bar is text, which is sized as 1/40th of
the frame' height. The North symbol at the LHS is line art, and is
sized in pixels.

I've fixed the text size at 14 pixels.

-- 
Glynn Clements <glynn.clements@virgin.net>


Wed, Apr 24 2002 17:15:51    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 24 Apr 2002 17:15:47 +0200
From Markus Neteler <neteler@itc.it>
To Glynn Clements <glynn.clements@virgin.net>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1028] (grass) PNG driver - d.barscale
Message-ID <20020424171547.G14513@itc.it>
Mail-Followup-To Glynn Clements <glynn.clements@virgin.net>, Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20020424124357.6C45713A1C@lists.intevation.de> <15558.44029.421755.779460@cerise.nosuchdomain.co.uk> <15558.50936.528684.255494@cerise.nosuchdomain.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.2.5.1i
In-Reply-To <15558.50936.528684.255494@cerise.nosuchdomain.co.uk>; from glynn.clements@virgin.net on Wed, Apr 24, 2002 at 03:53:44PM +0100
X-Spam-Status No, hits=0 required=5 tests=
On Wed, Apr 24, 2002 at 03:53:44PM +0100, Glynn Clements wrote:
> 
> Glynn Clements wrote:
> 
> > > A (minor) problem is that the fonts used in d.barscale
> > > are not consistent in PNG driver (CELL driver not tested).
> > > 
> > > When placing a barscale with d.barscale in a GRASS monitor,
> > > the size of "N" (north) and the number at the right (e.g. 10km)
> > > are consistent. The same settings in PNG driver lead to a
> > > too large number at the right.
> > 
> > I am unable to reproduce this.
> > 
> > I am also unable to see how this could happen; the text code isn't
> > part of the individual drivers, it's common to all of them.
> > 
> > Can you provide the region information, and the size of the monitors?
> 
> OK, I see what's happened; The PNG monitor is actually significantly
> taller than the image which you provided.
> 
> The text at the RHS of the bar is text, which is sized as 1/40th of
> the frame' height. The North symbol at the LHS is line art, and is
> sized in pixels.
> 
> I've fixed the text size at 14 pixels.

Glynn,

as usual a perfect solution. Thanks,

 Markus

PS: I'll close the report.


Wed, Apr 24 2002 17:25:19    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request