From 5900d824e93be44a852741ca093d88023e2a516a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 18 Mar 2018 13:44:37 +0000 Subject: Android: Fixed bug when deleting complex clipping areas Tested FLTK schemes - nice! Fixed crashbug in timer Fixed crashbug in mouse handler git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Android/Fl_Android_Graphics_Font.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/Android/Fl_Android_Graphics_Font.cxx') diff --git a/src/drivers/Android/Fl_Android_Graphics_Font.cxx b/src/drivers/Android/Fl_Android_Graphics_Font.cxx index 7f17e8911..55136e73e 100644 --- a/src/drivers/Android/Fl_Android_Graphics_Font.cxx +++ b/src/drivers/Android/Fl_Android_Graphics_Font.cxx @@ -341,7 +341,9 @@ Fl_Android_Font_Descriptor::~Fl_Android_Font_Descriptor() */ float Fl_Android_Font_Descriptor::get_advance(uint32_t c) { - // TODO: should we use the cahced value in the Bytemap? + // TODO: should we use the cached value in the Bytemap? + // Yes, we should, because if FLTK requests the width of a character, it is + // more than likely to render that character soon after. return pFontSource->get_advance(c, size); } -- cgit v1.2.3