Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fallbacks for font sizes when getting font from Span on Android (#…
…5680) Spans have a 0 font size by default, and on Android this means the font is literally 0 in size and won't appear. If you had an attribute set other than None, it was hitting a code path here to get the font from the span and used the 0 size incorrectly. This should ensure the font size falls back to first the Formatted string or target control the font is to be used in, and then to the system default font size from the FontManager if necessary so that the span shows up. This fixes the android part of #5576 Co-authored-by: Rui Marinho <[email protected]>
- Loading branch information