mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove unnecessary ServoFont type alias
This commit is contained in:
parent
45dc587d42
commit
4361f92067
2 changed files with 4 additions and 8 deletions
|
@ -16,7 +16,6 @@ use std::str;
|
|||
use std::sync::Arc;
|
||||
use std::sync::atomic::{ATOMIC_USIZE_INIT, AtomicUsize, Ordering};
|
||||
use style::computed_values::{font_stretch, font_variant, font_weight};
|
||||
use style::properties::style_structs::ServoFont;
|
||||
use text::Shaper;
|
||||
use text::glyph::{GlyphId, GlyphStore};
|
||||
use text::shaping::ShaperMethods;
|
||||
|
@ -88,8 +87,6 @@ pub struct FontMetrics {
|
|||
pub line_gap: Au,
|
||||
}
|
||||
|
||||
pub type SpecifiedFontStyle = ServoFont;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Font {
|
||||
pub handle: FontHandle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue