needed init for font-test
This commit is contained in:
parent
138e89df6a
commit
6fe16959c2
1 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: testFont.cc,v 1.8 2004/09/12 00:06:37 fluxgen Exp $
|
||||
// $Id$
|
||||
|
||||
#include "App.hh"
|
||||
#include "FbWindow.hh"
|
||||
|
@ -141,7 +141,9 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
FbTk::fontInit();
|
||||
|
||||
App app(displayname.c_str(), foreground, background);
|
||||
app.font().setAntialias(antialias);
|
||||
if (!app.font().load(fontname.c_str()))
|
||||
|
|
Loading…
Reference in a new issue