Small Fonts in GUI on Apple Silicon
Moderator: ScummVM Team
-
- Posts: 5
- Joined: Mon Dec 20, 2021 3:22 pm
Small Fonts in GUI on Apple Silicon
Having issues with scummvm compiled on apple silicon running big sur. Please see attached. The text is illegibly small. Just wondering if anyone had any pointers on what to edit in the source to correct this?
- Attachments
-
- scummvm.jpg (325.4 KiB) Viewed 1762 times
- eriktorbjorn
- ScummVM Developer
- Posts: 3580
- Joined: Mon Oct 31, 2005 7:39 am
Re: Small Fonts in GUI on Apple Silicon
There is a "GUI scale" setting on the Option dialog's Misc tab. I get small text like that if I change it to "Small", but if yours is already set to something larger than that I don't know.rybodiddly wrote: ↑Mon Dec 27, 2021 6:16 am Having issues with scummvm compiled on apple silicon running big sur. Please see attached. The text is illegibly small. Just wondering if anyone had any pointers on what to edit in the source to correct this?
Re: Small Fonts in GUI on Apple Silicon
If you compiled it yourself, you may be missing the freetype library. That will cause ScummVM to fallback on non-scalable fonts, which doesn't work well on high-res screens.
-
- Posts: 5
- Joined: Mon Dec 20, 2021 3:22 pm
Re: Small Fonts in GUI on Apple Silicon
Have already experiemented with the GUI scaling, and Very Large just makes the tabs etc. larger, but text remains the same. Also checked and I have the newest freetype 2.11.1 library installed via brew. Also checked my configure process and it finds FreeType2 without any issues.
- rootfather
- ScummVM Lead
- Posts: 184
- Joined: Tue Mar 31, 2015 11:59 am
- Location: Germany
- Contact:
Re: Small Fonts in GUI on Apple Silicon
Please check out the "Paths" tab in the "Options" dialog. This looks pretty much like a wrong "Theme Path" to me, breaking the font loading.
-
- Posts: 5
- Joined: Mon Dec 20, 2021 3:22 pm
Re: Small Fonts in GUI on Apple Silicon
My Paths location for Themes is directed to the following custom location: /User/<my_username>/Documents/ScummVM Themesrootfather wrote: ↑Mon Dec 27, 2021 7:08 pm Please check out the "Paths" tab in the "Options" dialog. This looks pretty much like a wrong "Theme Path" to me, breaking the font loading.
I copied the source contents scummvm-master/gui/themes/*.* to the above custom location.
Then I was able to select the remastered theme
Also checked my ScummVM Preferences located in /User/<my_username>/Library/Preferences/ScvummVM Preferences and it contains the correct theme path.
Re: Small Fonts in GUI on Apple Silicon
I think it might fail to find the fonts.dat file that is in scummvm-master/dists/engine-data/.
You can set your extrapath to point to that folder and it should it. This is also needed for some games that use files in that folder. I just checked and indeed I have the extra path pointing to that folder myself, and if I unset I get the issue you describe.
Note: When generating an app bundle all this is unnecessary as all the files needed are copied into the ScummVM.app bundle and found automatically without the need to set the theme path or extra path. However as you wrote that you used homebrew, generating the bundle will not be possible (as you will be missing some static libraries).
You can set your extrapath to point to that folder and it should it. This is also needed for some games that use files in that folder. I just checked and indeed I have the extra path pointing to that folder myself, and if I unset I get the issue you describe.
Note: When generating an app bundle all this is unnecessary as all the files needed are copied into the ScummVM.app bundle and found automatically without the need to set the theme path or extra path. However as you wrote that you used homebrew, generating the bundle will not be possible (as you will be missing some static libraries).
-
- Posts: 5
- Joined: Mon Dec 20, 2021 3:22 pm
Re: Small Fonts in GUI on Apple Silicon
That did it! I put the fonts.dat in my extras folder and it worked like a charm. Thanks so much for investigating. In regards to the bundle, I had previously tried the current bundle in the downloads section compatible with apple silicon and noticed that for some reason when the icon was placed on my dock it caused the system to use Rosetta. Was trying to stay completely apple silicon. I also noticed as you mentioned that using the make bundle command did not work with brew (specifically libfluidsynth.a, as brew only supplies dylib). Assume I will have to manually compile and set path variables to the required libraries to make the bundle.criezy wrote: ↑Tue Dec 28, 2021 12:30 pm I think it might fail to find the fonts.dat file that is in scummvm-master/dists/engine-data/.
You can set your extrapath to point to that folder and it should it. This is also needed for some games that use files in that folder. I just checked and indeed I have the extra path pointing to that folder myself, and if I unset I get the issue you describe.
Note: When generating an app bundle all this is unnecessary as all the files needed are copied into the ScummVM.app bundle and found automatically without the need to set the theme path or extra path. However as you wrote that you used homebrew, generating the bundle will not be possible (as you will be missing some static libraries).
Re: Small Fonts in GUI on Apple Silicon
This should be fixed with the 2.5.1 release now available on the download page.rybodiddly wrote: ↑Wed Dec 29, 2021 12:12 am I had previously tried the current bundle in the downloads section compatible with apple silicon and noticed that for some reason when the icon was placed on my dock it caused the system to use Rosetta. Was trying to stay completely apple silicon.
ScummVM includes a Dock plugin and I forgot to compile that one for Apple silicon in the 2.5.0 release.
-
- Posts: 5
- Joined: Mon Dec 20, 2021 3:22 pm