View Issue Details

IDProjectCategoryView StatusLast Update
0003246Dwarf FortressTrueTypepublic2011-06-04 14:43
Reporteroolon1 Assigned ToBaughn  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
PlatformIntel E6750OSVistaOS Version32-bit
Product Version0.31.13 
Fixed in Version0.34.01 
Summary0003246: TrueType: Some dwarves' names are cut off at diacritics, other diacritics are turned into blocks
DescriptionPreface: I've tried out three fonts, they all display the same way.

Dwarves are appearing with names such as "D" on the [u] screen. When this dwarf is examined [v]-[Enter], the name is fully spelled out in the description screen (which is still using the tileset). The names are being truncated at certain letters using diacritics. I'm trying to see if there's a consistent character turning into an endl; sort of thing, and which are turning into blocks.

http://img706.imageshack.us/img706/8720/dftext3.png

In the screenshot, "D"'s full name should be Dôbar Godenast.

Diacritical marks causing blocks:

ï ì å è

Diacritical marks causing names and professions to be cut off:

ô

Just based on that bit of science, I think the o-circumflex is the one causing the names to be cut off. Can't find any other characters causing it.
Additional InformationThis seems to be true in another fort I saved earlier but did not continue playing.
Tags0.31.13, font, names, text

Relationships

related to 0003762 resolvedBaughn Crash on moving (k) cursor over certain spatters with TrueType (long names?) 
parent of 0003664 resolvedBaughn Crash when using Truetype and choosing Fortress/Group Name. 
parent of 0003946 resolvedBaughn Completion of artifact results in crash 
has duplicate 0003415 resolveduser6 Dwarf name frequently announced in red, with no additional information 
has duplicate 0003776 resolveduser11 Erased Custom name changes entire name of dwarf to "Stinth" 
has duplicate 0004490 resolveduser6 Game crashes when scrolling bedroom assignments - TrueType crash due to dwarf name 
has duplicate 0004701 resolveduser11 One (possibly more) dwarves have nothing listed after their name in unit view. 
related to 0003252 closedBaughn Text rendered using SDL truetype font mode uses a font that lacks special characters 

Activities

oolon1

2010-09-15 23:46

reporter   ~0012696

Actually, this is more consistent than I thought it was originally. In TrueType mode, the font displays no letters using diacritical marks properly. I have opened two saves and seen the same thing, which I somehow missed before.

Another note: I put the severity as minor because it wasn't breaking the game for me, and the names were still accessible in the status screen, which isn't using the TrueType feature.

oolon1

2010-09-15 23:53

reporter   ~0012697

Last edited: 2010-09-16 00:05

OK, I decided to see what else this affected. Now I'm causing the game to crash in the "prepare carefully" menus by creating fortress names randomly, and intentionally with the o-circumflex character. Crashing a lot in this window. I think I'll also try a fresh install without TrueType to make sure that's what's causing it.

Edit: Turned off TrueType in the init of this install, the game functions fine, no crashes in the embark screen, proper name display in game. Fresh install replicated everything. Definitely TrueType mode causing these things for me.

Quietust

2010-09-16 07:29

reporter   ~0012705

It's almost certainly a failure to translate the text from codepage 437 (OEM/DOS) to the character set the font actually uses.

lolghurt

2010-10-16 23:54

reporter   ~0013393

or the ttf file could be missing the characters

Quietust

2010-10-17 09:08

reporter   ~0013395

The TTF file is definitely not missing the accented characters - a quick check using charmap on Windows makes this plainly obvious.

Baughn

2011-05-23 05:26

manager   ~0017826

Signed (char) overflow in the cp437-to-unicode mapping table. Fixed.

Issue History

Date Modified Username Field Change
2010-09-15 23:40 oolon1 New Issue
2010-09-15 23:41 oolon1 Tag Attached: 0.31.13
2010-09-15 23:41 oolon1 Tag Attached: font
2010-09-15 23:41 oolon1 Tag Attached: names
2010-09-15 23:41 oolon1 Tag Attached: text
2010-09-15 23:46 oolon1 Note Added: 0012696
2010-09-15 23:53 oolon1 Note Added: 0012697
2010-09-16 00:05 oolon1 Note Edited: 0012697
2010-09-16 07:29 Quietust Note Added: 0012705
2010-10-16 23:54 lolghurt Note Added: 0013393
2010-10-17 09:08 Quietust Note Added: 0013395
2010-11-18 18:24 user6 Relationship added parent of 0003664
2010-12-01 08:36 user6 Relationship added has duplicate 0003415
2010-12-01 08:37 user6 Relationship deleted parent of 0003664
2010-12-01 08:41 user6 Relationship added related to 0003252
2010-12-01 08:42 user6 Category Dwarf Mode -- Interface, Text => TrueType
2010-12-02 08:00 user6 Relationship added related to 0003664
2011-01-07 03:52 user11 Relationship added has duplicate 0003776
2011-02-21 08:30 user6 Relationship added related to 0003946
2011-03-22 10:13 user6 Relationship added related to 0003762
2011-04-10 11:18 Logical2u Relationship added has duplicate 0004490
2011-04-10 11:19 Logical2u Relationship replaced parent of 0004490
2011-04-26 11:12 Logical2u Relationship added parent of 0004576
2011-04-26 11:12 Logical2u Relationship replaced parent of 0003664
2011-04-26 11:13 Logical2u Relationship replaced parent of 0003946
2011-05-23 05:26 Baughn Note Added: 0017826
2011-05-23 05:26 Baughn Status new => resolved
2011-05-23 05:26 Baughn Fixed in Version => Next Version
2011-05-23 05:26 Baughn Resolution open => fixed
2011-05-23 05:26 Baughn Assigned To => Baughn
2011-06-28 12:48 user11 Relationship added has duplicate 0004701
2011-06-28 14:31 user11 Relationship deleted parent of 0004576
2011-07-27 08:36 user11 Relationship added parent of 0004770
2012-02-16 14:21 user6 Relationship deleted parent of 0004770
2012-03-05 08:44 user6 Relationship replaced has duplicate 0004490