Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter (3.13.0) web build fails with Codepoint 32 not found in font #628

Open
josh-burton opened this issue Aug 16, 2023 · 9 comments
Open

Comments

@josh-burton
Copy link

Related issue filed in the Flutter repo: flutter/flutter#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.
@azinmapar
Copy link

any solution??

@azinmapar
Copy link

downgrading flutter solved my problem

@jerrypaulsam
Copy link

Anyone got a proper solution?

@spydon
Copy link

spydon commented Aug 21, 2023

The solution is landing in a Flutter hotfix version very soon:
flutter/flutter#132711 (comment)

@mhmzdev
Copy link

mhmzdev commented Aug 22, 2023

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

@RoyalBosS-Ayush
Copy link

Any solution? Facing same!

@spydon
Copy link

spydon commented Apr 4, 2024

Any solution? Facing same!

It should have been solved, which Flutter version are you on?

@josh-burton
Copy link
Author

Also note that if you are using fluent icons on Flutter web, you should really use my branch from this PR: #642

This enables true tree shaking of the icons. Without this the fluent font files will be quite large.

@RoyalBosS-Ayush
Copy link

Any solution? Facing same!

It should have been solved, which Flutter version are you on?

3.22.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants