# Characters of TTF font are vanishing

**URL:** <https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863>\
**Category:** Watchapp/Face Developers Corner\
**Created:** [June 5, 2026, 6:54pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863 "2026-06-05T18:54:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pyfox](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Pyfox](https://forum.repebble.com/u/Pyfox)\
**Post date:** [June 5, 2026, 6:54pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/1 "2026-06-05T18:54:11Z")

</div>

Heyho,

I am using Alloy and have an issue with vanishing symbols of a font. I have packaged a symbol that has several segments as a TTF font. The reason of not using a SVG is that I want to be able to dynamically change the colors. The full logo is shown for “0”, each single segment is mapped from 1-8.

So far it works, but when I make the font big so that it can surround the content, some segments are vanishing. Does somebody have an idea why this is happening?

In the picture you can see the issue: I have rendered the “0” (=full symbol) with white in the background. On top are the segments, each colored differently. For the white segments, the single segment is rendered. When I reduce font size, the non-rendered segments will appear again. They are also perfectly in place.

 ![image](https://canada1.discourse-cdn.com/flex033/uploads/pebble1/original/1X/ba0454b168def0195f1dad015d8038b18ef5a3f7.png)

---

<div class="post-metadata">

**Author:** ![Flynn](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.repebble.com/flynn/32/73_2.png) [@Flynn](https://forum.repebble.com/u/Flynn)\
**Post date:** [June 5, 2026, 8:58pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/2 "2026-06-05T20:58:31Z")

</div>

For what it’s worth, you can change the color dynamically of an SVG font.

Edit: Actually, I don’t know if you can do that in Alloy. For sure in C

---

<div class="post-metadata">

**Author:** ![Flynn](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.repebble.com/flynn/32/73_2.png) [@Flynn](https://forum.repebble.com/u/Flynn)\
**Post date:** [June 5, 2026, 9:01pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/3 "2026-06-05T21:01:09Z")

</div>

Is any portion of the segments outside the bounds of the screen? Maybe it’s preemptively clipping everything or something like that.

---

<div class="post-metadata">

**Author:** ![Pyfox](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Pyfox](https://forum.repebble.com/u/Pyfox)\
**Post date:** [June 8, 2026, 8:09pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/4 "2026-06-08T20:09:36Z")

</div>

When I reduce the font size to 320 instead of 325, all segments are shown. Even if I move the vanishing segments to the right they still are shown, so I guess it is not outside of the drawing area.

Good to know that it is possible to change the color in C, so maybe I migrate the project. I guess it should also help regarding compatibility anyway!

---

<div class="post-metadata">

**Author:** ![Flynn](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.repebble.com/flynn/32/73_2.png) [@Flynn](https://forum.repebble.com/u/Flynn)\
**Post date:** [June 8, 2026, 8:13pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/5 "2026-06-08T20:13:18Z")

</div>

I’d suggest subwitting a bug report somewhere. Moddable is the company that handles Alloy, I don’t know if they have a separate repo or something. I can’t find anything on it. But maybe it’d be sufficient to submit an issue on the Core Devices PebbleOS repo 🤷

---

<div class="post-metadata">

**Author:** ![NoahK](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@NoahK](https://forum.repebble.com/u/NoahK)\
**Post date:** [June 8, 2026, 8:39pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/6 "2026-06-08T20:39:07Z")

</div>

> [@Flynn](#):
>
> Moddable is the company that handles Alloy, I don’t know if they have a separate repo or something. I can’t find anything on it.

[Moddable-OpenSource/moddable on GitHub](https://github.com/Moddable-OpenSource/moddable)

---

<div class="post-metadata">

**Author:** ![Pyfox](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Pyfox](https://forum.repebble.com/u/Pyfox)\
**Post date:** [June 10, 2026, 6:54pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/7 "2026-06-10T18:54:03Z")

</div>

I have created a bug report and a feature request in the repo, let’s see if they say I should post it elsewhere

---

<div class="post-metadata">

**Author:** ![Pyfox](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@Pyfox](https://forum.repebble.com/u/Pyfox)\
**Post date:** [July 8, 2026, 4:30pm UTC](https://forum.repebble.com/t/characters-of-ttf-font-are-vanishing/863/8 "2026-07-08T16:30:38Z")

</div>

After a very nice exchange with the developer, both of the issues have been adressed: Characters of big TTF fonts are not vanishing anymore on the one side, on the other side, SVG/PDC drawing got an extended API that allows changing colors and visibility of segments, which can be addressed by the colors of the segments as shown [here](https://github.com/Moddable-OpenSource/pebble-examples/blob/main/hellopoco-pdc-process/src/embeddedjs/main.js)
