Opened 2 years ago

Closed 8 months ago

#10759 closed defect (wontfix)

QFG4: Misaligned decorative initial letter in 'different interpreter version' error msg

Reported by: Vhati Owned by: sluicebox
Priority: low Component: Engine: SCI
Keywords: sci32 original Cc:
Game: Quest for Glory 4

Description

ScummVM 2.1.0git3770-g15306581ab (Oct 18 2018 04:27:32)
Windows 7 64bit
QFG4 CD (English)

While troubleshooting #10758 I discovered a cosmetic glitch. When attempting to restore an autosave (created only a minute or so earlier), I got an error message.

"That game was saved under a different game or interpreter version. It cannot be restored."

For this ticket, I direct devs' attention to the message itself. The decorative initial letter "T" in "That" is double-height, as one would see at the start of a paragraph. It is laid out independently of the rest of the text.

The "T" here is misaligned. Instead of being rendered left of the "h", it is looming behind the "a". Looks like "hat" under a canopy.

File - 5kb MD5 - Full MD5
RESOURCE.000 - 263dce4aa34c49d3ad29bec889007b1c - 1364ba69e3c0abb68cc0170650a56692
RESOURCE.AUD - c39521bffb1d8b19a57394866184a0ca - 71098b9e97e20c8941c0e4812d5f906f
RESOURCE.MAP - aba367f2102e81782d961b14fbe3d630 - 801a04cc6aa5d437681a2dd0b6545248
RESOURCE.SFX - 3cf95e09dab8b11d675e0537e18b499a - 7c858d7253f86dab4cc6066013c5ecec

Attachments (2)

DifferentInterpreter.png (86.3 KB ) - added by Vhati 2 years ago.
Screenshot - Error
sci.000 (74.4 KB ) - added by Vhati 2 years ago.
SavedGame - BadAutosave

Download all attachments as: .zip

Change History (4)

by Vhati, 2 years ago

Attachment: DifferentInterpreter.png added

Screenshot - Error

by Vhati, 2 years ago

Attachment: sci.000 added

SavedGame - BadAutosave

comment:1 by Vhati, 2 years ago

Summary: Misaligned decorative initial letter in 'different interpreter version' error msgQFG4: Misaligned decorative initial letter in 'different interpreter version' error msg

comment:2 by sluicebox, 8 months ago

Keywords: sci32 original added; SCI32 removed
Owner: set to sluicebox
Resolution: wontfix
Status: newclosed

This is exactly as it occurs in the original; it's a script bug. Since it's for an error message that doesn't appear when playing the game and it's cosmetic, it's below my already unreasonably low threshold for fixing.

I spent a while digging into this because I assumed it was going to be a ScummVM bug, some kind of an edge case in text formatting or size calculations. So for anyone morbidly interested...

QFG4 added custom code to its copy of the Print class to for the large first letter in message boxes. It's activated if Print:largeAlp is true and the first character of the text is A-Z. In that case Print:addText replaces the first character in the string with a tab and that's what printed, creating room to draw the large upper case character.

I don't know why this doesn't work for the error messages in script 64994 while it works everywhere else. Once I found out this isn't a kernel bug I shut it down. The other error reported by this script don't apply to ScummVM.

"It don't matter. None of this matters." -- Carl Brutananadilewski

Note: See TracTickets for help on using tickets.