01-11-2021, 05:30 AM
Jeff,
What is the size of the font you are using? I'm not sure it's double spacing so much as the line spacing used by the edit text control is not matching the line spacing that I'm using when rendering the text annotation. If you create multiple text annotations in a row and they all have the same spacing once you are done editing, then it's exactly that. As mentioned in https://zubersoft.com/mobilesheets/forum...949&page=3, I'm working on adjusting the line height calculation to reduce the spacing. I was using Android's getFontMetricsInt which is the recommended font's interline spacing, but apparently this is too large, so I'm going to try calculating the line height a different way that will hopefully be more consistent with what the edit control is using.
Mike
What is the size of the font you are using? I'm not sure it's double spacing so much as the line spacing used by the edit text control is not matching the line spacing that I'm using when rendering the text annotation. If you create multiple text annotations in a row and they all have the same spacing once you are done editing, then it's exactly that. As mentioned in https://zubersoft.com/mobilesheets/forum...949&page=3, I'm working on adjusting the line height calculation to reduce the spacing. I was using Android's getFontMetricsInt which is the recommended font's interline spacing, but apparently this is too large, so I'm going to try calculating the line height a different way that will hopefully be more consistent with what the edit control is using.
Mike