Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003246Dwarf FortressTrueTypepublic2010-09-15 23:402011-06-04 14:43
Assigned ToBaughn 
PlatformIntel E6750OSVistaOS Version32-bit
Product Version0.31.13 
Target VersionFixed 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. [^]

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
Attached Files

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

-  Notes
oolon1 (reporter)
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.
oolon1 (reporter)
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.

Quietust (reporter)
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.
lolghurt (reporter)
2010-10-16 23:54

or the ttf file could be missing the characters
Quietust (reporter)
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.
Baughn (manager)
2011-05-23 05:26

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 View Revisions
2010-09-16 07:29 Quietust Note Added: 0012705
2010-09-17 18:35 HebaruSan Issue Monitored: HebaruSan
2010-09-25 00:53 Eduren Issue Monitored: Eduren
2010-10-14 08:48 Khym Chanur Issue Monitored: Khym Chanur
2010-10-16 23:54 lolghurt Note Added: 0013393
2010-10-17 09:08 Quietust Note Added: 0013395
2010-11-18 18:24 Footkerchief Relationship added parent of 0003664
2010-12-01 08:36 Footkerchief Relationship added has duplicate 0003415
2010-12-01 08:36 Footkerchief Issue Monitored: Put
2010-12-01 08:37 Footkerchief Relationship deleted parent of 0003664
2010-12-01 08:41 Footkerchief Relationship added related to 0003252
2010-12-01 08:42 Footkerchief Category Dwarf Mode -- Interface, Text => TrueType
2010-12-02 08:00 Footkerchief Relationship added related to 0003664
2011-01-07 03:52 Dwarfu Relationship added has duplicate 0003776
2011-02-21 08:30 Footkerchief Relationship added related to 0003946
2011-03-22 10:13 Footkerchief 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-04 14:43 Put Issue End Monitor: Put
2011-06-28 12:48 Dwarfu Relationship added has duplicate 0004701
2011-06-28 14:31 Dwarfu Relationship deleted parent of 0004576
2011-07-27 08:36 Dwarfu Relationship added parent of 0004770
2012-02-16 14:21 Footkerchief Relationship deleted parent of 0004770
2012-03-05 08:44 Footkerchief Relationship replaced has duplicate 0004490

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker