fluentui-system-icons
fluentui-system-icons copied to clipboard
Flutter (3.13.0) web build fails with `Codepoint 32 not found in font`
Related issue filed in the Flutter repo: https://github.com/flutter/flutter/issues/132711
Since updating to Flutter 3.13.0, my web release builds are now failing.
This seems to be caused by using this package, but I'm not certain if it's only this package or all custom font packages.
The error message when building is:
Codepoint 32 not found in font, aborting.
Target web_release_bundle failed: IconTreeShakerException: Font subsetting failed with exit code 255.
any solution??
downgrading flutter solved my problem
Anyone got a proper solution?
The solution is landing in a Flutter hotfix version very soon: https://github.com/flutter/flutter/issues/132711#issuecomment-1684152978
Facing same issue The web app is on production and I had to do some hotfixes, I'm hating myself for updating to latest SDK!!
A temporary solution was to pass --no-tree-shake-icons
flag with flutter build web --release
for now.
flutter build web --release --no-tree-shake-icons
Any solution? Facing same!
Any solution? Facing same!
It should have been solved, which Flutter version are you on?
Also note that if you are using fluent icons on Flutter web, you should really use my branch from this PR: https://github.com/microsoft/fluentui-system-icons/pull/642
This enables true tree shaking of the icons. Without this the fluent font files will be quite large.