Opened 14 months ago

Closed 7 months ago

#14630 closed defect (fixed)

BACKENDS: 3DS: No text visible in any UI elements

Reported by: chrisis123 Owned by: chrisis123
Priority: high Component: Port: 3DS
Version: Keywords:
Cc: Game:

Description

In the latest daily builds on Nintendo 3DS, all text in the UI is invisible.
This occurs on both the 3dsx and the cia binary.
Games previously added run without any trouble if starting blindly.
The GUI elements also don't show correctly in in game menus (like the save ScummVM save dialog).
The latest available stable version (2.7.0) still runs fine, I don't know when this bug started to appear but it must have been some time after 2.7.0 was released.
I tested with the current daily build from ScummVM downloads: 3ds-master-65a90825 as well as one I previously downloaded some time ago, this already has the same bug: 3ds-master-3c9f33b4

I have attached a screenshot on how it looks to this bug report as well

Attachments (1)

2023-09-18_16-15-16.993_bot.bmp (225.1 KB ) - added by chrisis123 14 months ago.

Download all attachments as: .zip

Change History (10)

by chrisis123, 14 months ago

comment:1 by sev-, 14 months ago

Looks like it is missing the fonts. What happens when you switch to the classic GUI theme?

in reply to:  1 comment:2 by chrisis123, 14 months ago

Replying to sev-:

Looks like it is missing the fonts. What happens when you switch to the classic GUI theme?

The ScummVM Classic Theme (Builtin) works fine indeed, so must be something with the fonts.
I'm not a developer myself so no idea at what point the fonts are incorporated in the build process but it seems something must have changed between 2.7.0 and now... (I switched to Classic on 2.7.0 CIA and then started the nightly from the 3dsx version, didn't install the CIA but I assume it will be the same, both versions use the same config file anyway)

Last edited 14 months ago by chrisis123 (previous) (diff)

comment:3 by tag2015, 12 months ago

I dusted off my 3DS and I can confirm the issue with today's daily build.
Raising priority, hopefully somebody can take a look at this

comment:4 by tag2015, 12 months ago

Priority: normalhigh
Summary: No text visible in any UI elements on Nintendo 3DSBACKENDS: 3DS: No text visible in any UI elements

comment:5 by sev-, 11 months ago

Could somebody re-test the daily build, since we split the fonts.dat file?

in reply to:  5 comment:6 by chrisis123, 11 months ago

Replying to sev-:

Could somebody re-test the daily build, since we split the fonts.dat file?

I just tested 3ds-master-55f65e22 but unfortunately the Scummvm Modern Theme still looks the same as in the previous screenshot (no fonts are rendered) so I assume the error must be something else...

Edit: Most interestingly the inbuilt help in 2.9.0git renders text fine, just no GUI text renders...

Last edited 11 months ago by chrisis123 (previous) (diff)

comment:7 by sev-, 11 months ago

The inbuilt help uses different fonts, so the issue with the font is indirectly confirmed by this testing. Thank you!

comment:8 by hax0kartik, 8 months ago

The version of freetype2 packaged by devkitPro has an issue where it allocates too much data on the stack when ScummVM loads GUI themes. As a workaround, an older version can be used. Version 2.6.5 is known to work well. The instructions in the readme can be followed to compile an older version on freetype2.

Last edited 8 months ago by hax0kartik (previous) (diff)

comment:9 by chrisis123, 7 months ago

Owner: set to chrisis123
Resolution: fixed
Status: newclosed

I think this issue can be closed - I just tried the latest build from Github and the error (which as previously explained was due to feetype library used) is gone and all text is showing as it should.
Also this wasn't a ScummVM bug but a build config bug anyways

Note: See TracTickets for help on using tickets.