-
Notifications
You must be signed in to change notification settings - Fork 176
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
Ubuntu OS: Font selection of 'Fira Code' with Light style gives only 'Fira Code' regular style #4223
Comments
This is behaviour of Lazarus IDE (I get font name/style via TFontDialog only). can you please
|
I confirm issue on Ubuntu: I cannot select 'Litght' version because it don't have separate name like 'FiraCode Light', only one name here: FiraCode |
do you, guys, have these files in /usr/share/fonts/TTF?
also look here: https://unix.stackexchange.com/questions/392380/how-do-i-alias-one-of-the-weights-of-a-font-family-with-fontconfig |
I have only /usr/share/fonts/truetype but (I installed FiraCode) I cannot find Fira* |
I suppose there should be the way to select font style from the font selection dialog. I do not install fonts globally, but put font files into the
|
as a temporary solution, try to use non-variable version. (maybe uninstall variable first) |
|
I tried already. This doesn't help.
|
maybe try |
Font selection dialog still doesn't work and I have it different from you. But now I'm able to select the light-wight font manually in the Most probably this is Lasarus font issue, as I don't have problem like this with any other application I'm using: |
|
Yes, but with separate ttf files only. |
I have compiled CudaText with Qt5. Maybe your dialog is different, because you are using GTK version? |
We are limited in Lazarus - we use TFontDialog and fixed set of styles: normal/bold. |
There should be possible to use freetype library (which is cross-platform) directly or via some wrapper like LazFreeType, but probably this does not worth the time. |
lazarus issue 6 years old: "Mantis submitter username: p_daniel The same issue with weight: it's not possible to choose fonts with width different from "Regular" and "Bold". |
For some reason it doesn't work on my PC, just freezes after launch...
But he didn't provide the patch. |
what if you will run |
Well, I tried to launch cudatext this way:
and again had to kill the process, as even after 15 minutes it doesn't show any window and application had 100% CPU utilization.
For some reason the QT5 based application tried to scan the whole font directories ($HOME/.fonts as well). |
@froloffw7 |
I'm using FiraCode font and prefer Light weight font style.
Regular weght font selection
Light weght font selection
Unfortunately application doesn't follow the font selection, but always use Regular font weight.
Hereafter the Sublime text editor screenshot with FiraCode Light weight font style.
The text was updated successfully, but these errors were encountered: