mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 03:33:53 +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(
|
||||
FontTweak {
|
||||
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,
|
||||
},
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user