Merge pull request #46 from keigen-shu/master

Update font code on Linux and UI examples.
Fix a typo causing FlatFont to segfault when used.