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

config.4coder: default_font_name not loading arial.ttf #248

Closed
mrmixer opened this issue May 14, 2020 · 2 comments
Closed

config.4coder: default_font_name not loading arial.ttf #248

mrmixer opened this issue May 14, 2020 · 2 comments
Labels
bug The issue is a straight up bug, performance bug, crash bug, etc

Comments

@mrmixer
Copy link

mrmixer commented May 14, 2020

Version: 4.1.5

Repro Steps (Including a snippet of any potentially related customization code)
Set the default_font_name to C:\windows\fonts\arial.ttf and start 4coder.

Description of the Result
The default font will be use (or at least a font that is not arial, monospaced with serif).

Additional notes
At least some other proportional fonts seem to work, for example C:\windows\fonts\LiberationSans-Regular.ttf.
The result is the same if I copy the files in 4coder's fonts directory.

Another issue is that if I specify the name of a font, for example Arial Normal , 4coder starts with a small font (that isn't the one requested). It's not clear if you can specify a font name in default_font_name or if it requires a font FILE name.

A last notes (not really related) is that loading proportional fonts seems a lot slower than monospaced fonts. It's a fraction of a second but noticeable. I'm mentioning it because when launching 4coder from remedybg, it become a lot worst, sometimes up to 10 seconds (but it seems random) where the 4coder window title reads GRAPHICS. I will report this to remedybg's dev.

System
OS: Windows 7 64bit

@mrmixer mrmixer added the bug The issue is a straight up bug, performance bug, crash bug, etc label May 14, 2020
@aolo2
Copy link

aolo2 commented May 15, 2020

Might be related to #205 (?)

@mrmixer
Copy link
Author

mrmixer commented May 18, 2020

After trying to set a font in 4.1.6, I couldn't set any font yesterday.
I tried again today to try to figure out what was happening and everything seems to work. So it was more likely me doing something wrong or an issue with my system.

@mrmixer mrmixer closed this as completed May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a straight up bug, performance bug, crash bug, etc
Projects
None yet
Development

No branches or pull requests

2 participants