Skip to content

Commit

Permalink
Set the same font on both Android and desktop devices
Browse files Browse the repository at this point in the history
  • Loading branch information
pvallet committed Dec 19, 2017
1 parent d043874 commit 910fc5f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/interface_primitives/fontHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

#include "texture.h"

#ifdef __ANDROID__
#include "vera_38.h"
#define FONT_SIZE_PT 38.
#else
#include "vera_mono_39.h"
#define FONT_SIZE_PT 39.
#endif
#include "vera_38.h"
#define FONT_SIZE_PT 38.f

FontHandler::FontHandler()
: _fontSize(round(FONT_SIZE_PT / (4.f / 3.f)))
Expand Down

0 comments on commit 910fc5f

Please sign in to comment.