Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embedded font is not loaded -> it uses a fallback // tested with SpaceRace #18945

Open
Benman2785 opened this issue Dec 12, 2024 · 1 comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working text Issues relating to text rendering/input

Comments

@Benman2785
Copy link

Describe the bug

maybe related to: #16880

it doesnt matter if selfhosted or desktop

Image

Expected behavior

Image

Content Location

here: https://hoffmeister.li/flash-games/Space_Race.html
swf: https://hoffmeister.li/flash-games/swf/Space_Race.swf

Affected platform

Desktop app

Operating system

Win11 24H2

Browser

Firefox/Chrome

Additional information

No response

@kjarosh
Copy link
Member

kjarosh commented Dec 12, 2024

The root cause why this does not work is that the symbol is not available in Ruffle during Font instantiation (MainFont). It becomes available later, but it's too late.

@kjarosh kjarosh added text Issues relating to text rendering/input A-avm2 Area: AVM2 (ActionScript 3) labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working text Issues relating to text rendering/input
Projects
None yet
Development

No branches or pull requests

2 participants