Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #57

Merged
merged 6 commits into from
Oct 11, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions src/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ pub enum KerningMode {
}

bitflags!(flags LoadFlag: i32 {
static Default = ffi::FT_LOAD_DEFAULT,
static NoScale = ffi::FT_LOAD_NO_SCALE,
static NoHinting = ffi::FT_LOAD_NO_HINTING,
static Render = ffi::FT_LOAD_RENDER,
static NoBitmap = ffi::FT_LOAD_NO_BITMAP,
static VerticalLayout = ffi::FT_LOAD_VERTICAL_LAYOUT,
static ForceAutohint = ffi::FT_LOAD_FORCE_AUTOHINT,
static CropBitmap = ffi::FT_LOAD_CROP_BITMAP,
static Pendantic = ffi::FT_LOAD_PENDANTIC,
static IgnoreGlobalAdvanceWidth = ffi::FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH,
static NoRecurse = ffi::FT_LOAD_NO_RECURSE,
static IgnoreTransform = ffi::FT_LOAD_IGNORE_TRANSFORM,
static Monochrome = ffi::FT_LOAD_MONOCHROME,
static LinearDesign = ffi::FT_LOAD_LINEAR_DESIGN,
static NoAutohint = ffi::FT_LOAD_NO_AUTOHINT,
static LoadTargetNormal = ffi::FT_LOAD_TARGET_NORMAL,
static LoadTargetLight = ffi::FT_LOAD_TARGET_LIGHT,
static LoadTargetMono = ffi::FT_LOAD_TARGET_MONO,
static LoadTargetLCD = ffi::FT_LOAD_TARGET_LCD,
static LoadTargetLCD_V = ffi::FT_LOAD_TARGET_LCD_V,
static Color = ffi::FT_LOAD_COLOR
const DEFAULT = ffi::FT_LOAD_DEFAULT,
const NO_SCALE = ffi::FT_LOAD_NO_SCALE,
const NO_HINTING = ffi::FT_LOAD_NO_HINTING,
const RENDER = ffi::FT_LOAD_RENDER,
const NO_BITMAP = ffi::FT_LOAD_NO_BITMAP,
const VERTICAL_LAYOUT = ffi::FT_LOAD_VERTICAL_LAYOUT,
const FORCE_AUTOHINT = ffi::FT_LOAD_FORCE_AUTOHINT,
const CROP_BITMAP = ffi::FT_LOAD_CROP_BITMAP,
const PEDANTIC = ffi::FT_LOAD_PEDANTIC,
const IGNORE_GLOBAL_ADVANCE_WITH = ffi::FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH,
const NO_RECURSE = ffi::FT_LOAD_NO_RECURSE,
const IGNORE_TRANSFORM = ffi::FT_LOAD_IGNORE_TRANSFORM,
const MONOCHROME = ffi::FT_LOAD_MONOCHROME,
const LINEAR_DESIGN = ffi::FT_LOAD_LINEAR_DESIGN,
const NO_AUTOHINT = ffi::FT_LOAD_NO_AUTOHINT,
const TARGET_NORMAL = ffi::FT_LOAD_TARGET_NORMAL,
const TARGET_LIGHT = ffi::FT_LOAD_TARGET_LIGHT,
const TARGET_MONO = ffi::FT_LOAD_TARGET_MONO,
const TARGET_LCD = ffi::FT_LOAD_TARGET_LCD,
const TARGET_LCD_V = ffi::FT_LOAD_TARGET_LCD_V,
const COLOR = ffi::FT_LOAD_COLOR
})

pub struct Face {
Expand Down
Loading