From aeee75db838d04660c80f9d9f9b592999aad0005 Mon Sep 17 00:00:00 2001 From: Jany Belluz Date: Sun, 3 Apr 2016 21:27:03 +0200 Subject: [PATCH] Fix bad generation of CSS declarations ...due to excess verbosity from FontForge. --- validate-generate | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validate-generate b/validate-generate index a9c5b83..86bd631 100755 --- a/validate-generate +++ b/validate-generate @@ -16,6 +16,7 @@ import fontforge; font = fontforge.open("Sources/${basename}.sfd"); # Extract interesting informations +print("---") print(font.fontname) print(font.familyname) print(font.fullname) @@ -34,6 +35,8 @@ EOF ) error=$? +output="${output##*--- +}" old_IFS="$IFS" IFS=' '