Skip to content

Conversation

@common-nighthawk
Copy link
Contributor

@common-nighthawk common-nighthawk commented Oct 17, 2016

i believe this fixes #5. it should now be possible to bring back fuzzy and wavy! (some other live fonts were also broken--like maxfour.)

load_extended_characters iterates over the last lines of the file, and tries to parse it as long as the line is not blank.

however, if i && i.empty? will not provide the expected result if the line is "" (in the file) aka nil (in ruby). rails has #blank, which would be perfect. but !i || i.empty? should work.
http://apidock.com/rails/Object/blank%3F

in short--it was the flf files with totally blank lines at the end that were breaking.

@miketierney
Copy link
Owner

The code change looks good and makes sense; I'll have to check it out when I'm off work. Thanks for submitting the PR!

@miketierney miketierney merged commit bf15977 into miketierney:master Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyramid and maxfour font is broken ?

2 participants