File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ impl Default for FontTweak {
189
189
scale : 1.0 ,
190
190
y_offset_factor : 0.0 ,
191
191
y_offset : 0.0 ,
192
- baseline_offset_factor : - 0.0333 , // makes the default fonts look more centered in buttons and such
192
+ baseline_offset_factor : 0.0 ,
193
193
}
194
194
}
195
195
}
@@ -289,11 +289,8 @@ impl Default for FontDefinitions {
289
289
font_data. insert (
290
290
"emoji-icon-font" . to_owned ( ) ,
291
291
FontData :: from_static ( EMOJI_ICON ) . tweak ( FontTweak {
292
- scale : 0.88 , // make it smaller
293
-
294
- // probably not correct, but this does make texts look better (#2724 for details)
295
- y_offset_factor : 0.11 , // move glyphs down to better align with common fonts
296
- baseline_offset_factor : -0.11 , // ...now the entire row is a bit down so shift it back
292
+ scale : 0.88 , // Make it smaller
293
+ y_offset_factor : 0.04 , // Move down slightly
297
294
..Default :: default ( )
298
295
} ) ,
299
296
) ;
You can’t perform that action at this time.
0 commit comments