cocos2d/cocos2d-x — pull request #1931 by Weeds (2013-01-30 00:55:07+00:00)
Title: [Linux] fixed loading truetype fonts from resource directory

We should use CCFileUtils to get the full path to font resources.
Additionally the input font is converted to lowercase for checking if it is
a ttf file. So we can also load .TTF or .tTf files.