Clone in a terminal:
Commit aeca635
Johan Mattsson - 2012-09-15T19:11:20+00:00
aeca6358616385bcbe342932a854b48a4861d0fajohan.mattsson.m@gmail.com

Create valid TTF even if they include space character

Changed files (1)

Diff

diff --git a/src/OpenFontFormatWriter.vala b/src/OpenFontFormatWriter.valaindex 1c31711..5cbbc75 100644--- a/src/OpenFontFormatWriter.vala+++ b/src/OpenFontFormatWriter.vala@@ -1590,7 +1590,11 @@ class GlyfTable : Table { 			if (g.unichar_code <= 27) { // skip control characters
 				continue;
 			}
-			
+
+			if (g.unichar_code == 32) { // skip space
+				continue;
+			}
+						
 			if (g.name == ".notdef") {
 				continue;
 			}

Contact

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