* forgot to remove my log-messages (sorry)

This commit is contained in:
ardi@ist-einmalig.de 2009-06-15 15:37:18 +00:00
parent f354a915d7
commit 0cb02386ee
2 changed files with 1 additions and 14 deletions

View File

@ -207,7 +207,6 @@ void FreeTypeGX::setDefaultMode() {
* @param pointSize The desired point size this wrapper's configured font face.
* @param cacheAll Optional flag to specify if all font characters should be cached when the class object is created. If specified as false the characters only become cached the first time they are used. If not specified default value is false.
*/
#include <unistd.h>
uint16_t FreeTypeGX::loadFont(char* fontPath, uint8_t* fontBuffer, FT_Long bufferSize, FT_UInt pointSize, bool cacheAll) {
this->unloadFont();
this->ftPointSize = pointSize;

View File

@ -120,22 +120,10 @@ main(int argc, char *argv[])
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);
WPAD_SetVRes(WPAD_CHAN_ALL, screenwidth, screenheight);
printf("\n\n load Font\n");
fontSystem = new FreeTypeGX();
char *fontPath=0;
asprintf(&fontPath, "%sfont.ttf", CFG.theme_path);
printf(" from: %s\n", fontPath);
printf(" 5\n");
sleep(1);
printf(" 4\n");
sleep(1);
printf(" 3\n");
sleep(1);
printf(" 2\n");
sleep(1);
printf(" 1\n");
sleep(1);
printf(" 0\n");
fontSystem->loadFont(fontPath, font_ttf, font_ttf_size, 0);
fontSystem->setCompatibilityMode(FTGX_COMPATIBILITY_DEFAULT_TEVOP_GX_PASSCLR | FTGX_COMPATIBILITY_DEFAULT_VTXDESC_GX_NONE);
free(fontPath);