Opened 10 years ago

Closed 10 years ago

#6801 closed defect (fixed)

ZVISION: Bad word-wrapping in original save dialog

Reported by: eriktorbjorn Owned by: RichieSams
Priority: normal Component: Engine: ZVision
Version: Keywords:
Cc: Game: Zork Nemesis

Description

Current Git snapshot of ScummVM, English version of the game from DVD version of ZGI

When using the original save dialog, and trying to save over a previously used save slot, the game asks you to confirm that this is what you want to do. The message isn't corrently word-wrapped however, as seen in the attached picture.

The message that it's trying to show is "<FONT Garamond BOLD on JUSTIFY center POINT 30 RED 200 GREEN 50 BLUE 50>Notice: <RED 100>You are about to overwrite a previously saved game. <BLUE 200>Continue? (y/n)<RED 255 GREEN 255 BLUE 255>"

As far as I can tell, the error happens in part because the line break is supposed to happen right after a formatting tag.

This is giving me a horrible sense of déjà vu, because word-wrapping was something I could never get to work right back in the eighties, when I dreamed of writing my own text adventure from scratch. :-)

Ticket imported from: bugs/6801.

Attachments (1)

word-wrapping.png (5.7 KB ) - added by eriktorbjorn 10 years ago.

Download all attachments as: .zip

Change History (6)

by eriktorbjorn, 10 years ago

Attachment: word-wrapping.png added

comment:1 by RichieSams, 10 years ago

Owner: set to RichieSams

comment:2 by RichieSams, 10 years ago

http://i.imgur.com/uTXr4IX.png

I've re-written the text wrapping code. I'm still in the process of getting everything cleaned up. but it looks to be working.

comment:3 by RichieSams, 10 years ago

Resolution: fixed

comment:4 by RichieSams, 10 years ago

Should be fixed with commit a851fa8e

comment:5 by RichieSams, 10 years ago

Status: newclosed
Note: See TracTickets for help on using tickets.