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

minus sign does not appear #14761

Closed
chadock62 opened this issue Jan 15, 2024 · 5 comments · Fixed by #18353
Closed

minus sign does not appear #14761

chadock62 opened this issue Jan 15, 2024 · 5 comments · Fixed by #18353
Labels
bug Something isn't working text Issues relating to text rendering/input

Comments

@chadock62
Copy link

Describe the bug

hi!
in a serie of questions for pupils, minus sign does never appear . Plus, divide or multiply are ok...
Here is a picture of it, and the swf zipped !
Thanks a lot
Franck
2024-01-15 11 49 10

Expected behavior

Show the sign minus, so that kids could choose right answer!

Content Location

exo307.zip

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Brave

Additional information

No response

@chadock62 chadock62 added the bug Something isn't working label Jan 15, 2024
@Lord-McSweeney Lord-McSweeney added the text Issues relating to text rendering/input label Jan 15, 2024
@n0samu
Copy link
Member

n0samu commented Jan 17, 2024

Hi @chadock62, this happens because your SWF's text fields are set to use device fonts, but Ruffle on the web cannot use device fonts, so it falls back to its own "fake device font" which does not include the minus sign character . And your SWF's embedded Tahoma font does not include this character either. The easiest way to fix this problem would be to instead use the almost identical-looking en dash character , which is included in Ruffle's fake device font and the SWF's embedded Tahoma font. Or you could add the minus sign character to the SWF's embedded Tahoma font and set the text fields to use the embedded font instead of device fonts. Or if you are unable to republish the SWF, a third option would be to follow the instructions in our FAQ to create a separate SWF containing a complete copy of the Tahoma font, then configure Ruffle to load that as a device font.

@n0samu
Copy link
Member

n0samu commented Jan 17, 2024

I've edited the SWF for you according to the second method I described (adding the character to the SWF's Tahoma font and setting the text fields to use it). Hope this helps! exo307.zip

@chadock62
Copy link
Author

chadock62 commented Jan 17, 2024 via email

@n0samu
Copy link
Member

n0samu commented Jan 18, 2024

Yes, you should follow the instructions in the FAQ to create an SWF containing the required font and configure Ruffle to load it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working text Issues relating to text rendering/input
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants