Wabere / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

nitfol automapping improvements #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The nitfol automapping code uses plain ASCII characters. While most
compatible, garglk is fully unicode-capable, so why not exploit that?

The attached patch changes line drawing and room characters to some decent
unicode codepoints, while allowing the -mapsym option to work as before.
When  monosize is set to the same value as propsize in the INI file, the
resulting automap look is great: straight, unsegmented lines and nice
graphical location indicators. Since the built-in fonts lack the required
characters, it only works with a different font (like DejaVu Sans Mono).

Almost all characters can be seen/tested when enabling the automap in
"Dangerous Curves" (available on ifarchive) and exploring the ground floor
outside. Options "-maploc r -mapsize 60" works great for a maximised
window. Command "/automap (global)0" enables the map.

Original issue reported on code.google.com by leftda...@gmail.com on 30 Mar 2010 at 5:35

Attachments:

GoogleCodeExporter commented 8 years ago
Fantastic!

Although Liberation Mono doesn't have much in the way of Unicode support, so 
this may
send me off in search of a decent-looking monospace font that does.  There are 
so few
free ones to choose from.

Tor, Gargoyle's original creator, really dislikes Bitstream Vera / Deja Vu, so 
I'm
reluctant to include that font in any form.

Original comment by bcressey@gmail.com on 31 Mar 2010 at 12:29

GoogleCodeExporter commented 8 years ago
Fixed in r343, though the font question remains unresolved.

Original comment by bcressey@gmail.com on 17 Aug 2010 at 9:41