Whitespace corrections
This commit is contained in:
@@ -163,9 +163,9 @@ namespace lime {
|
||||
Font *font = Font::FromFile (val_string (fontFace));
|
||||
if (font) {
|
||||
|
||||
value v = alloc_float ((intptr_t)font);
|
||||
val_gc (v, lime_font_destroy);
|
||||
return v;
|
||||
value v = alloc_float ((intptr_t)font);
|
||||
val_gc (v, lime_font_destroy);
|
||||
return v;
|
||||
|
||||
} else {
|
||||
|
||||
@@ -551,4 +551,4 @@ extern "C" int lime_register_prims () {
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,16 +273,16 @@ namespace lime {
|
||||
} else {
|
||||
|
||||
FT_Face face;
|
||||
error = FT_New_Face (library, fontFace, 0, &face);
|
||||
|
||||
if (error == FT_Err_Unknown_File_Format) {
|
||||
|
||||
printf ("Invalid font type\n");
|
||||
|
||||
} else if (error) {
|
||||
|
||||
printf ("Failed to load font face %s\n", fontFace);
|
||||
error = FT_New_Face (library, fontFace, 0, &face);
|
||||
|
||||
if (error == FT_Err_Unknown_File_Format) {
|
||||
|
||||
printf ("Invalid font type\n");
|
||||
|
||||
} else if (error) {
|
||||
|
||||
printf ("Failed to load font face %s\n", fontFace);
|
||||
|
||||
} else {
|
||||
|
||||
return new Font(face);
|
||||
@@ -756,4 +756,4 @@ namespace lime {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user