[GRASS-dev] [bug #4905] (grass) gis.m: d.text.freetype does not allow spaces in text

this bug's URL: http://intevation.de/rt/webrt?serial_num=4905
-------------------------------------------------------------------------

Subject: gis.m: d.text.freetype does not allow spaces in text

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060724

As the postscript text layers do not survive saving the map display to a graphics file, I am trying to use d.text.freetype as a command.

This works perfectly until the text I want to display contains spaces. When I use the following command line:

d.text.freetype -n -b text="Population totale" east_north=2,95 size=3 col=black path=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

I get:

Sorry <totale"> is not a valid option

I have tried with single quotes and brackets, but I get the same error.

Moritz

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=4905

Subject: gis.m: d.text.freetype does not allow spaces in text

As the postscript text layers do not survive saving the map display
to a graphics file, I am trying to use d.text.freetype as a command.

This works perfectly until the text I want to display contains
spaces. When I use the following command line:

d.text.freetype -n -b text="Population totale" east_north=2,95 size=3 col=black path=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

I get:

Sorry <totale"> is not a valid option

I have tried with single quotes and brackets, but I get the same error.

Using braces works, i.e.

  d.text.freetype -n -b {text=Population totale} ...

There doesn't appear to actually be a space, but the same problem
occurs when running d.text.freetype from the command line, i.e. it's a
problem with d.text.freetype.

--
Glynn Clements <glynn@gclements.plus.com>

Moritz,

If you save as EPS, the postscript text will save too.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Wed, 26 Jul 2006 17:26:07 +0200 (CEST)
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] [bug #4905] (grass) gis.m: d.text.freetype does not allow
spaces in text

this bug's URL: http://intevation.de/rt/webrt?serial_num=4905
-------------------------------------------------------------------------

Subject: gis.m: d.text.freetype does not allow spaces in text

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060724

As the postscript text layers do not survive saving the map display to a
graphics file, I am trying to use d.text.freetype as a command.

This works perfectly until the text I want to display contains spaces. When I
use the following command line:

d.text.freetype -n -b text="Population totale" east_north=2,95 size=3
col=black path=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

I get:

Sorry <totale"> is not a valid option

I have tried with single quotes and brackets, but I get the same error.

Moritz

-------------------------------------------- Managed by Request Tracker

Michael Barton wrote:

Moritz,

If you save as EPS, the postscript text will save too.

But then you lose transparency... :frowning:

Moritz

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Wed, 26 Jul 2006 17:26:07 +0200 (CEST)
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] [bug #4905] (grass) gis.m: d.text.freetype does not allow
spaces in text

this bug's URL: http://intevation.de/rt/webrt?serial_num=4905
-------------------------------------------------------------------------

Subject: gis.m: d.text.freetype does not allow spaces in text

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060724

As the postscript text layers do not survive saving the map display to a
graphics file, I am trying to use d.text.freetype as a command.

This works perfectly until the text I want to display contains spaces. When I
use the following command line:

d.text.freetype -n -b text="Population totale" east_north=2,95 size=3
col=black path=/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

I get:

Sorry <totale"> is not a valid option

I have tried with single quotes and brackets, but I get the same error.

Moritz

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev