mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 07:44:22 +08:00
Fix bold fonts on Linux
I'm not sure how this performs on other platforms, but on mine it needs at least 63 weight for bold. This is because there is a normal font at weight 40 and a bold font at weight 85. From 63+ it rounds to the bold font with the closest weight then. Contributes to issue CURA-6025.
This commit is contained in:
parent
66aeb2d1dd
commit
c92a0f1fd4
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"large_bold": {
|
"large_bold": {
|
||||||
"size": 1.35,
|
"size": 1.35,
|
||||||
"weight": 60,
|
"weight": 63,
|
||||||
"family": "Noto Sans"
|
"family": "Noto Sans"
|
||||||
},
|
},
|
||||||
"medium": {
|
"medium": {
|
||||||
@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"medium_bold": {
|
"medium_bold": {
|
||||||
"size": 1.16,
|
"size": 1.16,
|
||||||
"weight": 60,
|
"weight": 63,
|
||||||
"family": "Noto Sans"
|
"family": "Noto Sans"
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"default_bold": {
|
"default_bold": {
|
||||||
"size": 0.95,
|
"size": 0.95,
|
||||||
"weight": 60,
|
"weight": 63,
|
||||||
"family": "Noto Sans"
|
"family": "Noto Sans"
|
||||||
},
|
},
|
||||||
"default_italic": {
|
"default_italic": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user