Opened 5 months ago

Closed 4 weeks ago

#12474 closed defect (fixed)

AGS: Text display issues (Maniac Mansion Deluxe)

Reported by: zxtheproto Owned by: dreammaster
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Game:

Description

Maniac Mansion Deluxe has some issues with its text in ScummVM, causing alignment issues with the shadow of dialogue text and artifacts on the verb object prompt text.

Original game:
https://i.imgur.com/LUQCCG1.png
https://i.imgur.com/PHcQuvX.png

ScummVM:
https://i.imgur.com/dWqR6rJ.png
https://i.imgur.com/mYSERB0.png

Steps to reproduce:

  1. Start game with any characters.
  1. Finish introduction sequence and see error with dialogue text, most prominent with long strings of text such as seen above. Certain text characters appear blurry, and occasionally pull away from the background shadow.
  1. Start gameplay. Note the blurry text at the verb/object prompt, and the recurring issue of the misaligned text background.

Version tested: Windows x86 build e3d4462b

Change History (2)

comment:1 by scureuil, 4 months ago

The same visual issues are present in the Maniac Mansion Mania fangames series (https://www.maniac-mansion-mania.com/index.php/en/spiele/episoden/staffel-1.html)

comment:2 by dreammaster, 4 weeks ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

Finally got the font to display correctly. The text drawing routine now detects if it's drawing an outline and uses the standard font the outline is for to calculate character widths when drawing the text. This fixes the problem where some outline characters were actually wider than their source counterparts, and was causing the positioning to get out of sync.

Note: See TracTickets for help on using tickets.