X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4c1d83d373b4a0737da668945d1ddb3278b6c3b7..d3538d6f7a92223cbd938c7b9be3cd9f618af60d:/main/enigma-gdi.cpp diff --git a/main/enigma-gdi.cpp b/main/enigma-gdi.cpp index 003a3cc8..9c3eed9d 100644 --- a/main/enigma-gdi.cpp +++ b/main/enigma-gdi.cpp @@ -68,7 +68,7 @@ int main() pal[a | 0x10] = (0x111111 * a) | 0xFF; p.setPalette(pal, 0, 256); - fontRenderClass::getInstance()->AddFont("/usr/share/fonts/arial.ttf", "Arial", 100); + fontRenderClass::getInstance()->AddFont(FONTDIR "/arial.ttf", "Regular", 100); p.resetClip(gRegion(eRect(0, 0, 720, 576))); @@ -102,7 +102,7 @@ int main() p.setBackgroundColor(gColor(0x1f)); p.setForegroundColor(gColor(0x10)); - ePtr fnt = new gFont("Arial", 70); + ePtr fnt = new gFont("Regular", 70); p.setFont(fnt); p.renderText(eRect(100, 100, 500, 200), "Hello welt!");