Pawel
March 8, 2025, 2:49pm
1
WARNING:RENDER: Entire font glyph cache (1024 x 2048) is filled in a single frame 2988 ('1' 49). Consider increasing the cache for /assets/poppins/poppins_shadow.fontc
What does this warning mean?
Related to this possibly?
opened 03:40PM - 11 Nov 24 UTC
bug
engine
font
Fonts with 0 in cache_width and cache_height are sometimes flickering in bundles… . This only appears to happen in bundles, not in builds triggered in editor.
When the issue occurs in a debug bundle, you get a message like:
```
WARNING:RENDER: Entire font glyph cache (1024 x 2048) is filled in a single frame 11374 (' ' 53412). Consider increasing the cache for <fontfile>
```
If you set the font cache_width and cache_height to 1024 x 2048 in an editor build, the issue does not appear. However, if you set it to a low value (e.g. 512 x 512) you do get the flickering and warning message.
### Steps to reproduce
Repro project:
[glyph_repro.zip](https://github.com/user-attachments/files/17704487/glyph_repro.zip)
Repro bundle:
[glyph_bundle.zip](https://github.com/user-attachments/files/17704491/glyph_bundle.zip)
Potentially related to https://github.com/defold/defold/issues/9631
<table>
<tr><td>Build time</td><td>2024-11-08T09:48:06.519625</td></tr>
<tr><td>Defold channel</td><td>editor-alpha</td></tr>
<tr><td>Defold editor sha</td><td>415b7a13d96c14dcce3239089b33736cfba4325e</td></tr>
<tr><td>Defold engine sha</td><td>edfdbe31830c1f8aa4d96644569ae87a8ea32672</td></tr>
<tr><td>Defold version</td><td>1.9.4</td></tr>
<tr><td>GPU</td><td>NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2</td></tr>
<tr><td>GPU Driver</td><td>4.6.0 NVIDIA 560.94</td></tr>
<tr><td>Java version</td><td>17.0.5+8</td></tr>
<tr><td>OS arch</td><td>amd64</td></tr>
<tr><td>OS name</td><td>Windows 10</td></tr>
<tr><td>OS version</td><td>10.0</td></tr>
<table>
1 Like
Pawel
March 8, 2025, 3:11pm
3
Yes, thank you! The fonts are being used in labels and those labels are indeed flickering
1 Like
Workaround is to manually set a large cache size.