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

fix build err #390

Merged
merged 1 commit into from Apr 22, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -221,7 +221,7 @@ impl FontHandleMethods for FontHandle {
}
}

pub impl FontHandle {
pub impl<'self> FontHandle {
priv fn set_char_size(face: FT_Face, pt_size: float) -> Result<(), ()>{
let char_width = float_to_fixed_ft(pt_size) as FT_F26Dot6;
let char_height = float_to_fixed_ft(pt_size) as FT_F26Dot6;
@@ -271,7 +271,7 @@ pub impl FontHandle {
Ok(FontHandle { source: FontSourceFile(file), face: face })
}

priv fn get_face_rec(&self) -> &'self FT_FaceRec {
priv fn get_face_rec(&'self self) -> &'self FT_FaceRec {
unsafe {
&(*self.face)
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.