Skip to content

Commit f1a2855

Browse files
committed
Upgrade to latest Rust nightly
See rust-lang/rust#17853 for details.
1 parent 5313a1d commit f1a2855

File tree

2 files changed

+228
-228
lines changed

2 files changed

+228
-228
lines changed

src/face.rs

+21-21
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ pub enum KerningMode {
1818
}
1919

2020
bitflags!(flags LoadFlag: i32 {
21-
static Default = ffi::FT_LOAD_DEFAULT,
22-
static NoScale = ffi::FT_LOAD_NO_SCALE,
23-
static NoHinting = ffi::FT_LOAD_NO_HINTING,
24-
static Render = ffi::FT_LOAD_RENDER,
25-
static NoBitmap = ffi::FT_LOAD_NO_BITMAP,
26-
static VerticalLayout = ffi::FT_LOAD_VERTICAL_LAYOUT,
27-
static ForceAutohint = ffi::FT_LOAD_FORCE_AUTOHINT,
28-
static CropBitmap = ffi::FT_LOAD_CROP_BITMAP,
29-
static Pendantic = ffi::FT_LOAD_PENDANTIC,
30-
static IgnoreGlobalAdvanceWidth = ffi::FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH,
31-
static NoRecurse = ffi::FT_LOAD_NO_RECURSE,
32-
static IgnoreTransform = ffi::FT_LOAD_IGNORE_TRANSFORM,
33-
static Monochrome = ffi::FT_LOAD_MONOCHROME,
34-
static LinearDesign = ffi::FT_LOAD_LINEAR_DESIGN,
35-
static NoAutohint = ffi::FT_LOAD_NO_AUTOHINT,
36-
static LoadTargetNormal = ffi::FT_LOAD_TARGET_NORMAL,
37-
static LoadTargetLight = ffi::FT_LOAD_TARGET_LIGHT,
38-
static LoadTargetMono = ffi::FT_LOAD_TARGET_MONO,
39-
static LoadTargetLCD = ffi::FT_LOAD_TARGET_LCD,
40-
static LoadTargetLCD_V = ffi::FT_LOAD_TARGET_LCD_V,
41-
static Color = ffi::FT_LOAD_COLOR
21+
const Default = ffi::FT_LOAD_DEFAULT,
22+
const NoScale = ffi::FT_LOAD_NO_SCALE,
23+
const NoHinting = ffi::FT_LOAD_NO_HINTING,
24+
const Render = ffi::FT_LOAD_RENDER,
25+
const NoBitmap = ffi::FT_LOAD_NO_BITMAP,
26+
const VerticalLayout = ffi::FT_LOAD_VERTICAL_LAYOUT,
27+
const ForceAutohint = ffi::FT_LOAD_FORCE_AUTOHINT,
28+
const CropBitmap = ffi::FT_LOAD_CROP_BITMAP,
29+
const Pendantic = ffi::FT_LOAD_PENDANTIC,
30+
const IgnoreGlobalAdvanceWidth = ffi::FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH,
31+
const NoRecurse = ffi::FT_LOAD_NO_RECURSE,
32+
const IgnoreTransform = ffi::FT_LOAD_IGNORE_TRANSFORM,
33+
const Monochrome = ffi::FT_LOAD_MONOCHROME,
34+
const LinearDesign = ffi::FT_LOAD_LINEAR_DESIGN,
35+
const NoAutohint = ffi::FT_LOAD_NO_AUTOHINT,
36+
const LoadTargetNormal = ffi::FT_LOAD_TARGET_NORMAL,
37+
const LoadTargetLight = ffi::FT_LOAD_TARGET_LIGHT,
38+
const LoadTargetMono = ffi::FT_LOAD_TARGET_MONO,
39+
const LoadTargetLCD = ffi::FT_LOAD_TARGET_LCD,
40+
const LoadTargetLCD_V = ffi::FT_LOAD_TARGET_LCD_V,
41+
const Color = ffi::FT_LOAD_COLOR
4242
})
4343

4444
pub struct Face {

0 commit comments

Comments
 (0)