Added more function implementations copied from MOAIFont.