File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 28
28
- name : Install
29
29
run : |
30
30
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections;
31
- sudo apt-get install ttf-mscorefonts-installer;
31
+ sudo apt-get install ttf-mscorefonts-installer libfontconfig-dev ;
32
32
- name : Build
33
33
run : cargo build
34
34
- name : Tests
Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ impl Canvas {
107
107
src_stride >= src_size. x( ) as usize * src_format. bytes_per_pixel( ) as usize ,
108
108
"src_stride must be >= than src_size.x()"
109
109
) ;
110
-
111
110
112
111
let dst_rect = RectI :: new ( dst_point, src_size) ;
113
112
let dst_rect = dst_rect. intersection ( RectI :: new ( Vector2I :: default ( ) , self . size ) ) ;
Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ pub fn rasterize_glyph_with_full_hinting_subpixel() {
847
847
)
848
848
. unwrap ( ) ;
849
849
check_L_shape ( & canvas) ;
850
-
850
+
851
851
// Test with larger canvas
852
852
let mut canvas = Canvas :: new ( Vector2I :: new ( 100 , 100 ) , Format :: Rgb24 ) ;
853
853
font. rasterize_glyph (
@@ -862,7 +862,6 @@ pub fn rasterize_glyph_with_full_hinting_subpixel() {
862
862
check_L_shape ( & canvas) ;
863
863
}
864
864
865
-
866
865
#[ cfg( all( feature = "source" , target_family = "windows" ) ) ]
867
866
#[ test]
868
867
pub fn rasterize_glyph ( ) {
@@ -943,7 +942,6 @@ pub fn rasterize_empty_glyph_on_empty_canvas() {
943
942
. unwrap ( ) ;
944
943
}
945
944
946
-
947
945
#[ cfg( feature = "source" ) ]
948
946
#[ test]
949
947
pub fn font_transform ( ) {
You can’t perform that action at this time.
0 commit comments