Calculate line height smaller than line spacing correctly