diff --git a/examples/Info/InfoExampleUI.cpp b/examples/Info/InfoExampleUI.cpp index 647fc4ca..6e692e0e 100644 --- a/examples/Info/InfoExampleUI.cpp +++ b/examples/Info/InfoExampleUI.cpp @@ -35,8 +35,8 @@ public: std::memset(fStrBuf, 0, sizeof(char)*(0xff+1)); fSampleRate = getSampleRate(); - fFont = createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); + loadSharedResources(); setGeometryConstraints(405, 256, true); } @@ -169,7 +169,6 @@ private: double fSampleRate; // UI stuff - FontId fFont; float fScale; // temp buf for text