I'm consfused about the BMFont importer behavior (engine source code)

Godot Version

4.x

Question

I have a bmfont (a .fnt and its .png image files) in my project. It works as expected without problems, but when I clone it on another computer, or delete the .godot folder, godot silently replaces the .import of the image and sets it to skip the file.
I couldn’t find a solution online, so I checked the source code and found this:

Why does it skip the images when they load correctly (it explicitly checks err == OK before skipping)? Am I missing something?

Thanks in advance!

The images are embedded, and converted if needed, in the imported font file so the original images aren’t needed anymore.

You can change the import settings of the images if you need them for something else but the font won’t use those images.

That makes sense. It’s the red X in the file icon that made me think it was broken.

I don’t need the images, so it’s okay for this project, but if I ever wanted to use them I would need to reimport them every time godot regererates the cache.

Anyway, I’ll switch to using Image Font so making changes is easier.

Thank you!