added offline maki support
measure text height in tooltip