File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use crate::Error::{MalformedFont, Unimplemented};
3
3
use crate :: { glyf, Context , MaxpData } ;
4
4
use std:: borrow:: Cow ;
5
5
6
+ /// CFF2 fonts will currently be converted into TTF fonts.
6
7
pub fn subset ( ctx : & mut Context ) -> crate :: Result < ( ) > {
7
8
let mut maxp_data = MaxpData :: default ( ) ;
8
9
Original file line number Diff line number Diff line change 1
- use crate :: interjector:: skrifa:: SkrifaInterjector ;
2
-
3
1
pub ( crate ) enum Interjector < ' a > {
4
2
Dummy ,
5
3
#[ cfg( feature = "variable_fonts" ) ]
6
- Skrifa ( SkrifaInterjector < ' a > ) ,
4
+ Skrifa ( skrifa :: SkrifaInterjector < ' a > ) ,
7
5
}
8
6
9
7
#[ cfg( feature = "variable_fonts" ) ]
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ mod read;
85
85
mod remapper;
86
86
mod write;
87
87
88
- use crate :: interjector:: skrifa:: SkrifaInterjector ;
89
88
use crate :: interjector:: Interjector ;
90
89
use crate :: read:: { Readable , Reader } ;
91
90
pub use crate :: remapper:: GlyphRemapper ;
@@ -158,8 +157,12 @@ fn prepare_context<'a>(
158
157
Interjector :: Dummy
159
158
} else {
160
159
Interjector :: Skrifa (
161
- SkrifaInterjector :: new ( data, index, variation_coordinates)
162
- . ok_or ( MalformedFont ) ?,
160
+ interjector:: skrifa:: SkrifaInterjector :: new (
161
+ data,
162
+ index,
163
+ variation_coordinates,
164
+ )
165
+ . ok_or ( MalformedFont ) ?,
163
166
)
164
167
} ;
165
168
You can’t perform that action at this time.
0 commit comments