fix console font

This commit is contained in:
Wolfgang Thaller 2014-09-14 23:59:35 +02:00
parent 2553c625d1
commit f4a8005a8f

View File

@ -20,6 +20,7 @@
#include "Console.h" #include "Console.h"
#include "MacUtils.h" #include "MacUtils.h"
#include "Events.h" #include "Events.h"
#include "Fonts.h"
Console *Console::currentInstance = NULL; Console *Console::currentInstance = NULL;
@ -29,10 +30,10 @@ Console::Console(GrafPtr port, Rect r)
PortSetter setport(consolePort); PortSetter setport(consolePort);
InsetRect(&bounds, 2,2); InsetRect(&bounds, 2,2);
TextFont(9); TextFont(kFontIDMonaco);
TextSize(9); TextSize(9);
cellSizeY = 10; cellSizeY = 12;
cellSizeX = CharWidth('M'); cellSizeX = CharWidth('M');
rows = (bounds.bottom - bounds.top) / cellSizeY; rows = (bounds.bottom - bounds.top) / cellSizeY;