[GRASS-dev] d.font -l: please sort alphabetically

Markus:

Now some tests:

..

# EPS
d.out.file map form=eps res=4
gv map.eps

Note the paper= or size= options for d.out.file are probably much more useful
for ps/eps format output.

Ehm, would it be possible to sort the output (sorry for bothering)?

[...]
Paul mentioned that the stroke fonts have no long description. It would be nice
if someone could write those and insert somehow as their names can be a little
cryptic. Another nice idea is to write a little d.font && d.text script that
demonstrates what those all look like and post it + a screenshot of the result
to the wiki. (sorry can't help, I'm supposed to be AWOL right now)

Hamish

____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Hamish wrote:

Another nice idea is to write a little d.font && d.text script that
demonstrates what those all look like and post it + a screenshot of the
result to the wiki. (sorry can't help, I'm supposed to be AWOL right now)

I vaguely remember that there is such a script somewhere in the GRASS 5 source
code?

Hamish

____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

Hamish wrote:

Hamish wrote:

Another nice idea is to write a little d.font && d.text script that
demonstrates what those all look like and post it + a screenshot of the
result to the wiki. (sorry can't help, I'm supposed to be AWOL right now)

I vaguely remember that there is such a script somewhere in the GRASS 5 source
code?

http://grass.itc.it/gdp/html_grass5/html/show.fonts.sh.html

Maciek

On Sun, 29 Jul 2007, Hamish wrote:

Paul mentioned that the stroke fonts have no long description. It would be nice
if someone could write those and insert somehow as their names can be a little

I've fixed that now (since last week). There is a file fonts.table installed into $GISBASE/etc/fonts that contains all the names (actually I got them from the d.font man page!). The names in this file are picked up by g.mkfontcap when scanning for stroke fonts.

cryptic. Another nice idea is to write a little d.font && d.text script that
demonstrates what those all look like and post it + a screenshot of the result
to the wiki. (sorry can't help, I'm supposed to be AWOL right now)

There's show.fonts.sh but it would be better to parse the output of
d.font -L. I'll look at it if I get time.

Paul

On Sun, 29 Jul 2007, Hamish wrote:

Paul mentioned that the stroke fonts have no long description. It would be nice
if someone could write those and insert somehow as their names can be a little
cryptic. Another nice idea is to write a little d.font && d.text script that
demonstrates what those all look like and post it + a screenshot of the result
to the wiki. (sorry can't help, I'm supposed to be AWOL right now)

I've written a short Perl script (see attached) that sort of does that. It would be nice to refine it and make it automatically create multiple PNG files or something like that. At the minute probably best to run it with large resolution PNG output, then resample to a lower resolution and split into pieces before putting on display anywhere.

Paul

(attachments)

show.fonts.pl (605 Bytes)