Dungeon Crawl Stone Soup Tracker - DCSS
Viewing Issue Advanced Details
3728 Bug Report minor always 2011-04-05 00:00 2011-04-10 16:56
Kokor Hekkus Remote  
KiloByte CDO  
normal Console  
resolved 0.8 ancient branch  
2da05a8 done  
none    
none 0.9 ancient branch  
0003728: Graphical glitches with new characters
I'm getting several glitches with the new characters being used to represent trees, water, lava etc. They fall into two categories, and I've included a screenshot of each:

1) Artefact portions of the glyphs used appearing on other tiles which should be empty, or contain another character.

2) Overlapping glyphs

This may of course be my OS? I am running Ubuntu Hardy Heron, and:


$ uname -a
Linux asterion 2.6.24-28-generic #1 SMP Fri Feb 11 17:36:45 UTC 2011 i686 GNU/Linux

My console is a gnome terminal running bash.
png file icon crawlchar1.png [^] (75,291 bytes) 2011-04-05 00:00


png file icon crawlchar2.png [^] (72,227 bytes) 2011-04-05 00:00


txt file icon examples.txt [^] (1,567 bytes) 2011-04-05 22:35 [Show Content]
? file icon minozake.cs [^] (18,962 bytes) 2011-04-05 22:40
png file icon ubuntu-font.png [^] (204,246 bytes) 2011-04-10 15:30
Issue History
2011-04-05 00:00 Kokor Hekkus New Issue
2011-04-05 00:00 Kokor Hekkus File Added: crawlchar1.png
2011-04-05 00:00 Kokor Hekkus File Added: crawlchar2.png
2011-04-05 01:40 Kokor Hekkus Note Added: 0012139
2011-04-05 22:35 minozake File Added: examples.txt
2011-04-05 22:36 minozake Note Added: 0012163
2011-04-05 22:40 minozake File Added: minozake.cs
2011-04-05 22:47 minozake Note Edited: 0012163
2011-04-06 05:06 minozake Note Added: 0012170
2011-04-06 05:53 minozake Issue Monitored: minozake
2011-04-10 15:30 KiloByte File Added: ubuntu-font.png
2011-04-10 15:36 KiloByte Note Added: 0012325
2011-04-10 15:53 Kokor Hekkus Note Added: 0012326
2011-04-10 16:56 KiloByte Note Added: 0012327
2011-04-10 16:56 KiloByte Status new => resolved
2011-04-10 16:56 KiloByte Fixed in Branch => 0.9 development branch
2011-04-10 16:56 KiloByte Resolution open => done
2011-04-10 16:56 KiloByte Assigned To => KiloByte

Notes
(0012139)
Kokor Hekkus   
2011-04-05 01:40   
PS, gnome-terminal version is 2.22.1
(0012163)
minozake   
2011-04-05 22:36   
(edited on: 2011-04-05 22:47)
For some reason shallow water isn't represented, but it still exists. Weird
movement problems happen when I enter the shallow water. This also happens
consistently in the tutorial.

Version: Dungeon Crawl Stone Soup 0.8.0-a0-6187-geffd6b6 with Console.

OS: Source Mage GNU/Linux, Bash v4.1, xterm v255.

Save file and examples attached.

(0012170)
minozake   
2011-04-06 05:06   
Bisecting between tags 0.7.2 and 0.8.0-a1, I have found the first bad commit.

git output as follows, since I don't know how to read all of the git output (mainly the last line):


a975bb5545e51090570127d9d733d61ae6788b2b is the first bad commit
commit a975bb5545e51090570127d9d733d61ae6788b2b
Author: Adam Borowski <kilobyte@angband.pl>
Date: Fri Apr 1 00:04:31 2011 +0200

    Make cset overrides more sane.

    You don't need to specify the charset anymore, save for cset_ibm and
    cset_dec which are for compatibility with legacy config files.

    You can even use cset_ibm without char_set=ibm, it will work.

:040000 040000 fb432df06c0f375ac12e1b3a810ba3982cf3a7bf 95d2c1d68fe1004713c6801b2a75bffde49dcb28 M crawl-ref
(0012325)
KiloByte   
2011-04-10 15:36   
While this is a known bug in gnome-terminal, it happens only when it has to borrow a character from some other font. And that is why the defaults are chosen from a narrow set that is present in fonts shipped with all major platforms.

I installed Ubuntu, both current and ancient (BTW, hardy has long since lost security support, you'd better upgrade), and trees are just fine. Screenshot with maverick and hardy side-to-side attached.

Which font do you use? Ubuntu's default, DejaVu Mono Sans, has a pretty wide glyph coverage, and doesn't show such problems.
(0012326)
Kokor Hekkus   
2011-04-10 15:53   
Ah, OK. I'm using Inconsolata, which isn't a standard font. Problem understood, thanks for looking into it.
(0012327)
KiloByte   
2011-04-10 16:56   
Inconsolata seems to be one of better fonts around. Heck, I'm personally using Consolas it was based on.

I've just sent its author a request to include this character.

However, since the core bug lies elsewhere, and it works correctly with default settings, let's close this in Crawl.