Skip to content

Unused icon font and custom fonts that are removed in FF UI, those .ttf files remain inside assets/fonts folder #7088

@jessica-fll

Description

@jessica-fll

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Hi, I have previously added my own custom fonts .ttf in the FlutterFlow UI. Later on, I have removed them because they are too large and increased my app size to 400Mb +. But after removing them in the "Typography & Icons" page (now I do not have any Custom Fonts there), those previously uploaded .ttf font files just kept coming back when I download my code from FlutterFlow. I also realized that it seems to keep all those previously custom icons as well, even later on I have deleted them using the FF UI.

Now I seem to have trouble doing GitHub commit also to my repository because this font file that I previously uploaded is just too large it seems ( it's >25Mb). Whenever I tried to commit, I just keeps running forever and no longer works. Showing the red error screen. I tried to dis-associate my GitHub in FF then re-associate it back by logging in again and it worked like once. But it just got stuck somewhere which I think is related to these large font files that I just want to delete them completely from my flutterflow branch that I have no direct access to. Please help!

Expected Behavior

When I remove all custom fonts, the source .ttf files which I have uploaded for that custom font should be removed from the projects assets/fonts folder as well. (Same with custom icons)

Steps to Reproduce

  1. Theme Settings
  2. Typography & Icons
  3. Upload a custom .ttf font file and give this custom font a name
  4. Remove this font in the "Custom Fonts" section of FlutterFlow UI (same place where I used to add them in the first place)
  5. Download the latest cold or open in VSCode, those supposedly should be removed customFont.ttf files are still there

Note: I tried re-creating the problem from a new project, but when I did it with one custom font. It was okay and it did remove the font.ttf I uploaded... But those fonts just kept coming back in my project

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4kz8r13ItIm7RA7c/tbcZKhmURHD84TL07ttYbZxUjIuPtBJh/ec/BbhJtXeHkT3lhHE6Jnn4CpfT4uPzDVPA7NgWdUbVyyJF9WjryTXq8RLXWBauwY3JCBZ9TN36myqS7oAhABNpuSmA+1FyqOeSiTnHvJ5+/Zwh9f6PHaOI=

Visual documentation

Image

In my project, I no longer have any custom font set up, but these files still show up in my Downloaded code. I just want to remove them from this assets/fonts folder

Environment

- FlutterFlow version: 6.6.65
- Platform: Mac desktop app
- Browser name and version: -  
- Operating system and version affected: macOS Tahoe 26.4.1

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions