Clone in a terminal:
Commit 464b467
Johan Mattsson - 2014-04-06T18:57:49+00:00
464b46794cf7790ca42211bc3fc4a73bdbee1563johan.mattsson.m@gmail.com

Build on Windows

Changed files (2)

Diff

diff --git a/libbirdfont/BirdFontPart.vala b/libbirdfont/BirdFontPart.valaindex 9f2cca9..3dc7889 100644--- a/libbirdfont/BirdFontPart.vala+++ b/libbirdfont/BirdFontPart.vala@@ -130,8 +130,8 @@ class BirdFontPart : GLib.Object{ 			 					foreach (Glyph g in gc.get_version_list ().glyphs) { 						try {-							write_glyph (bf, gc, g, os);-							write_glyph_background_image (bf, gc, g, os);+							write_glyph (bf, gc, g);+							write_glyph_background_image (bf, gc, g); 						} catch (GLib.Error e) { 							warning (e.message); 						}@@ -210,10 +210,11 @@ class BirdFontPart : GLib.Object{ 		return s; 	} -	void write_glyph (BirdFontFile bf, GlyphCollection gc, Glyph g, DataOutputStream os) throws GLib.Error {+	void write_glyph (BirdFontFile bf, GlyphCollection gc, Glyph g) throws GLib.Error { 		string file_name; 		string dir_name;-	+		DataOutputStream os;+	  		file_name = get_glyph_base_file_name (g); 		dir_name = (!)file_name.get_char ().to_string (); 					@@ -226,7 +227,7 @@ class BirdFontPart : GLib.Object{ 		os.close (); 	} -	void write_glyph_background_image (BirdFontFile bf, GlyphCollection gc, Glyph g, DataOutputStream os) throws GLib.Error {+	void write_glyph_background_image (BirdFontFile bf, GlyphCollection gc, Glyph g) throws GLib.Error { 		string file_name; 		string dir_name; 		GlyphBackgroundImage bg;diff --git a/libbirdfont/OpenFontFormat/load_font.c b/libbirdfont/OpenFontFormat/load_font.cindex b7f6e9e..d0451f0 100644--- a/libbirdfont/OpenFontFormat/load_font.c+++ b/libbirdfont/OpenFontFormat/load_font.c@@ -771,7 +771,7 @@ GString* get_bf_font (FT_Face face, char* file, int* err) { 			g_string_append (glyph, "\t</glyph>\n"); 			g_string_append_printf (glyph, "</collection>\n"); 		} else {-			g_warning ("Ignoring control character, %d.", (uint)charcode);+			g_warning ("Ignoring control character, %d.", (guint)charcode); 		}  		g_string_append (bf, glyph->str);

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112