# Missing letters in label component

**URL:** <https://forum.defold.com/t/missing-letters-in-label-component/63925>\
**Category:** Bugs\
**Created:** [November 15, 2019, 11:40am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925 "2019-11-15T11:40:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 15, 2019, 11:40am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/1 "2019-11-15T11:40:47Z")

</div>

Not sure what happened here, but we got this from a tester. It doesn’t happen consistently, but it happened at some point during his play-through.

 ![image-2](https://forum-defold-uploads.b-cdn.net/original/3X/3/4/3435a2105416ae52777c7c114065848192d2213e.png)

It’s supposed to say “Budget Allocation” and “Available Funds:”

I checked and it’s not a Z issue. The labels are at Z 0.05 in front of the background.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 15, 2019, 12:29pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/2 "2019-11-15T12:29:43Z")

</div>

I don’t suppose you have a solid repro case @dapetcu21?

Some kind of glyph cache issue or something @JCash?

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [November 15, 2019, 12:51pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/3 "2019-11-15T12:51:30Z")

</div>

It might be a glyph cache thing, not sure why it would happen though.  
We did update from uncompressed glyph, to compressed ones, but I’d assume that all glyphs would fail then. If it would fail, I believe you’d instead see a garbled glyph (more like noise).

Are you using `label.set_text()`straight up? Or are you using any other helper functions like richtext?

Of course, it’s really tricky to find without any info other than on a user’s screen shot 😕

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 15, 2019, 5:31pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/4 "2019-11-15T17:31:04Z")

</div>

No solid repro case, unfortunately. The text is set using `label.set_text()` directly.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [November 15, 2019, 5:43pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/5 "2019-11-15T17:43:42Z")

</div>

Ok.

If you manage to reproduce it locally, you can inspect the glyph cache texture with a GPU debugger, to see if the glyphs are loaded correctly.

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [November 16, 2019, 1:11am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/6 "2019-11-16T01:11:26Z")

</div>

Are you capturing errors from testers?

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 16, 2019, 7:49am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/7 "2019-11-16T07:49:44Z")

</div>

As much as we can. Nothing in the console for the above.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 16, 2019, 11:46am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/8 "2019-11-16T11:46:19Z")

</div>

Could you maybe share the font and the . font file. Do you use the font mainly for normal text, ie a-z+numbers?

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 16, 2019, 12:20pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/9 "2019-11-16T12:20:44Z")

</div>

Here they are. Yes, mainly for normal text with the default label material.

[Archive.zip](https://defold-forum-bucket.nbg1.your-objectstorage.com/original/3X/1/7/172f9c0165000c403e5af35228345408396c40a6.zip) (45.2 KB)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 17, 2019, 7:26am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/10 "2019-11-17T07:26:10Z")

</div>

Thanks. And this happens on which desktop platform?

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 17, 2019, 9:33am UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/11 "2019-11-17T09:33:27Z")

</div>

This happened on Windows, on a laptop with integrated Intel graphics

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 17, 2019, 1:10pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/12 "2019-11-17T13:10:20Z")

</div>

Have you seen it on any other hardware?

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [November 17, 2019, 1:30pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/13 "2019-11-17T13:30:25Z")

</div>

This is the first time I’ve seen this happen.

In other news, there was this other font-related issue that we’ve noticed happening only on a particular Macbook Pro model (15" 2013 with an Nvidia 650M on macOS), but it seems different. I realised I forgot to report that one as well. It could be a richtext issue. Haven’t seen it happen since I switched to `combine_words = true`, but it could still happen, since it wasn’t a consistent repro. It’s still odd that it only ever happened on two machines of that exact model, though.

 ![img_20190822_144751540-1](https://forum-defold-uploads.b-cdn.net/original/3X/e/1/e10855e8746b403ec0823930279744e53c9f788d.jpeg) ![img_20190822_144805282-1](https://forum-defold-uploads.b-cdn.net/original/3X/5/2/52f3f296dc3aee2e0fb4223f1826485c87370543.jpeg) ![img_20190822_144910659-1](https://forum-defold-uploads.b-cdn.net/original/3X/0/c/0ccb376f7d1bbdf72918867c0192367f5e4253dd.jpeg)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [November 17, 2019, 5:12pm UTC](https://forum.defold.com/t/missing-letters-in-label-component/63925/14 "2019-11-17T17:12:20Z")

</div>

Yes, I recall seeing a bug report about that in RichText. Strange and probably not related to the missing characters.
