Hacker News new | ask | show | jobs
by mahkoh 1581 days 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.

1 comments

Low PPI displays require subpixel antialiasing which is not yet supported.

https://github.com/flutter/flutter/issues/63043

That 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.
Flutter 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.