implement getStringWidth() for xpcc::GraphicDisplay