-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
mangohud: invalid font_file
declaration
#308
Comments
font_file
declarationfont_file
declaration
cc: @NovaViper
Is this not caused by the stylix/modules/mangohud/hm.nix Lines 12 to 13 in b5f4ca4
options rather than the removed In that case, considering MangoHud's special gaming use case, we could simply add a scaling factor option to the |
@trueNAHO Hey sorry for the delay! The small text seems to be caused by the Edit: Can definitely confirm it is those two settings! I forced them both to be 24 and the GUI is large again! |
What unit are The Stylix options are in points (1 point = 1⅓ pixels). |
It uses ImGUI under the hood so it should be pixels. This line sets the font scaling accordingly with a factor of 1⅓ I took some screenshots and measured the glyph sizes, and it looks like both the size and scaling need to have the 1⅓ factor applied for the glyph size in pixels to be correct. Not sure why the pt->px scaling needs to be applied twice It should also be noted that the sizing measurements also included the drop shadow to reach the correct glyph size, which is 1px thick at 10pt and 2px thick at 16pt. I'd almost want to bump the scaling up a touch so that the font size corresponds to the non decorative component of the text. |
About
This tracking issue manages the
font_file
hotfix, resolving:Steps
font_file
#307mangohud: declare 'font_file'
The text was updated successfully, but these errors were encountered: