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)
Change History (6)
by , 10 years ago
Attachment: | word-wrapping.png added |
---|
comment:1 by , 10 years ago
Owner: | set to |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Resolution: | → fixed |
---|
comment:5 by , 10 years ago
Status: | new → closed |
---|
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.