fixed underlines

macos-click-through
Keith Simmons 5 years ago
parent 934d63b278
commit e8e69f757e

@ -164,6 +164,6 @@ impl CachingShaper {
pub fn underline_position(&mut self) -> f32 {
let metrics = self.metrics();
metrics.underline_position
-metrics.underline_position * self.base_size / metrics.units_per_em as f32
}
}

Loading…
Cancel
Save