3 ms·
>- Flutter widgets can be made pixel perfect replicas of native UI components. How can I make flutter use native font rendering? I've played around with it a b
by mahkoh 5y ago
>- Flutter widgets can be made pixel perfect replicas of native UI components.
How can I make flutter use native font rendering? I've played around with it a bit and fonts look completely off, don't respect my systems hinting settings, etc.
- Comevius 5y agoLow PPI displays require subpixel antialiasing which is not yet supported. https://github.com/flutter/flutter/issues/63043 https://github.com/flutter/flutter/issues/63043
- mahkoh 5y agoThat is unrelated to my question. I'm using hinting and have everything sub-pixel-related disabled. If flutter does not support this, then flutter cannot look native.
- Comevius 5y agoFlutter uses Skia, Harfbuzz and FreeType under the hood. The last two is used by almost every other software for text shaping and rasterization. You should open an issue if your font configuration is not applied, although on Android, iOS and macOS font hinting is not relevant, and I think on Linux fontconfig is used. I don't know about Windows.