Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003246Dwarf FortressTrueTypepublic2010-09-15 23:402011-06-04 14:43
Intel E6750Vista32-bit
0003246: TrueType: Some dwarves' names are cut off at diacritics, other diacritics are turned into blocks
Preface: 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.
This seems to be true in another fort I saved earlier but did not continue playing.
0.31.13, font, names, text
related to 0003762resolved Baughn Crash on moving (k) cursor over certain spatters with TrueType (long names?) 
parent of 0003664resolved Baughn Crash when using Truetype and choosing Fortress/Group Name. 
parent of 0003946resolved Baughn Completion of artifact results in crash 
has duplicate 0003415resolved Footkerchief Dwarf name frequently announced in red, with no additional information 
has duplicate 0003776resolved Dwarfu Erased Custom name changes entire name of dwarf to "Stinth" 
has duplicate 0004490resolved Footkerchief Game crashes when scrolling bedroom assignments - TrueType crash due to dwarf name 
has duplicate 0004701resolved Dwarfu One (possibly more) dwarves have nothing listed after their name in unit view. 
related to 0003252closed Baughn Text rendered using SDL truetype font mode uses a font that lacks special characters 
Issue History
2010-09-15 23:40oolon1New Issue
2010-09-15 23:41oolon1Tag Attached: 0.31.13
2010-09-15 23:41oolon1Tag Attached: font
2010-09-15 23:41oolon1Tag Attached: names
2010-09-15 23:41oolon1Tag Attached: text
2010-09-15 23:46oolon1Note Added: 0012696
2010-09-15 23:53oolon1Note Added: 0012697
2010-09-16 00:05oolon1Note Edited: 0012697bug_revision_view_page.php?bugnote_id=0012697#r4925
2010-09-16 07:29QuietustNote Added: 0012705
2010-09-17 18:35HebaruSanIssue Monitored: HebaruSan
2010-09-25 00:53EdurenIssue Monitored: Eduren
2010-10-14 08:48Khym ChanurIssue Monitored: Khym Chanur
2010-10-16 23:54lolghurtNote Added: 0013393
2010-10-17 09:08QuietustNote Added: 0013395
2010-11-18 18:24FootkerchiefRelationship addedparent of 0003664
2010-12-01 08:36FootkerchiefRelationship addedhas duplicate 0003415
2010-12-01 08:36FootkerchiefIssue Monitored: Put
2010-12-01 08:37FootkerchiefRelationship deletedparent of 0003664
2010-12-01 08:41FootkerchiefRelationship addedrelated to 0003252
2010-12-01 08:42FootkerchiefCategoryDwarf Mode -- Interface, Text => TrueType
2010-12-02 08:00FootkerchiefRelationship addedrelated to 0003664
2011-01-07 03:52DwarfuRelationship addedhas duplicate 0003776
2011-02-21 08:30FootkerchiefRelationship addedrelated to 0003946
2011-03-22 10:13FootkerchiefRelationship addedrelated to 0003762
2011-04-10 11:18Logical2uRelationship addedhas duplicate 0004490
2011-04-10 11:19Logical2uRelationship replacedparent of 0004490
2011-04-26 11:12Logical2uRelationship addedparent of 0004576
2011-04-26 11:12Logical2uRelationship replacedparent of 0003664
2011-04-26 11:13Logical2uRelationship replacedparent of 0003946
2011-05-23 05:26BaughnNote Added: 0017826
2011-05-23 05:26BaughnStatusnew => resolved
2011-05-23 05:26BaughnFixed in Version => Next Version
2011-05-23 05:26BaughnResolutionopen => fixed
2011-05-23 05:26BaughnAssigned To => Baughn
2011-06-04 14:43PutIssue End Monitor: Put
2011-06-28 12:48DwarfuRelationship addedhas duplicate 0004701
2011-06-28 14:31DwarfuRelationship deletedparent of 0004576
2011-07-27 08:36DwarfuRelationship addedparent of 0004770
2012-02-16 14:21FootkerchiefRelationship deletedparent of 0004770
2012-03-05 08:44FootkerchiefRelationship replacedhas duplicate 0004490

2010-09-15 23:46   
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.
2010-09-15 23:53   
(edited on: 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.

2010-09-16 07:29   
It's almost certainly a failure to translate the text from codepage 437 (OEM/DOS) to the character set the font actually uses.
2010-10-16 23:54   
or the ttf file could be missing the characters
2010-10-17 09:08   
The TTF file is definitely not missing the accented characters - a quick check using charmap on Windows makes this plainly obvious.
2011-05-23 05:26   
Signed (char) overflow in the cp437-to-unicode mapping table. Fixed.