mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Better font alignment
This commit is contained in:
parent
e1e74f65f8
commit
40fb9a1f6b
@ -140,7 +140,7 @@ pub(super) fn font_definitions() -> FontDefinitions {
|
|||||||
FontData::from_static(include_bytes!("../../fonts/Inconsolata-Regular.ttf")).tweak(
|
FontData::from_static(include_bytes!("../../fonts/Inconsolata-Regular.ttf")).tweak(
|
||||||
FontTweak {
|
FontTweak {
|
||||||
scale: 1.22, // This font is smaller than DejaVuSans
|
scale: 1.22, // This font is smaller than DejaVuSans
|
||||||
y_offset_factor: -0.21, // and too low
|
y_offset_factor: -0.18, // and too low
|
||||||
y_offset: 0.0,
|
y_offset: 0.0,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user