desmos-labs / mooncake

The first decentralized social app based on Desmos
MIT License
46 stars 14 forks source link

Font is not rendering correctly on iOS device #76

Closed kwunyeung closed 4 years ago

kwunyeung commented 4 years ago

The native iOS font SF Pro is being displayed improperly. The text looks narrower than normal and the letter spacing is too tight.

XD on the left vs iOS screen capture on the right image

This is due to the fact that Flutter is not handling the font on iOS 13+ correctly.

https://github.com/flutter/flutter/issues/43998 https://github.com/flutter/flutter/issues/60013

Interestingly, the font display correctly with Markdown.

IMG_5092

This comment may give some light. https://github.com/flutter/flutter/issues/41101#issuecomment-577036976