mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
stylo: Use font metrics provider as a cache for font size results
This commit is contained in:
parent
e402c72d0e
commit
2febe7ccde
8 changed files with 60 additions and 24 deletions
|
@ -19547,6 +19547,8 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct gfxMissingFontRecorder([u8; 0]);
|
||||
pub const kPresContext_DefaultVariableFont_ID: u8 = 0;
|
||||
pub const kPresContext_DefaultFixedFont_ID: u8 = 1;
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsRootPresContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue