Skip to content

Commit

Permalink
Published 0.16.0
Browse files Browse the repository at this point in the history
- Updated dependencies
- bitflags 1.0.0 puts variants under struct namespace
  • Loading branch information
bvssvni committed Oct 15, 2017
1 parent 19761d9 commit 860c605
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,7 +1,7 @@
[package]

name = "freetype-rs"
version = "0.15.0"
version = "0.16.0"
authors = ["Coeuvre <coeuvre@gmail.com>"]
keywords = ["freetype", "font", "glyph"]
description = "Bindings for FreeType font library"
Expand All @@ -16,7 +16,7 @@ name = "freetype"

[dependencies]

bitflags = "0.9.1"
bitflags = "1.0.0"
libc = "0.2.1"
freetype-sys = "0.6.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/glyph_outline.rs
Expand Up @@ -28,7 +28,7 @@ fn main() {
let face = library.new_face(font, 0).unwrap();

face.set_char_size(40 * 64, 0, 50, 0).unwrap();
face.load_char(character, ft::face::NO_SCALE).unwrap();
face.load_char(character, ft::face::LoadFlag::NO_SCALE).unwrap();

let glyph = face.glyph();
let metrics = glyph.metrics();
Expand Down
2 changes: 1 addition & 1 deletion examples/single_glyph.rs
Expand Up @@ -42,7 +42,7 @@ fn main() {
let face = library.new_face(font, 0).unwrap();

face.set_char_size(40 * 64, 0, 50, 0).unwrap();
face.load_char(character, ft::face::RENDER).unwrap();
face.load_char(character, ft::face::LoadFlag::RENDER).unwrap();

let glyph = face.glyph();
let x = glyph.bitmap_left() as usize;
Expand Down

0 comments on commit 860c605

Please sign in to comment.