Solved: Adding ttf fonts show no Preview when adding Resource

Creating a watchface and am trying to add font Resources.

  1. Tried multiple fonts (Nunito from Google Fonts, Font Squirrel, Bunny.net)
  2. Tried multiple browsers (Chrome and Edge)
  3. No preview appears after upload — just blank white bar
  4. Build fails with “Unsupported font format”
  5. Compatibility set to both “Latest” and “2.7” — same result

Advice?

Thanks.

Edit: I fixed it by adding [ ] around the specified Characters, so user error.

Edit2: This fix only solved the blank Preview issue. I can’t get a Build to work with a font Resource, even if the script build works fine if there’s no Resource, and I’m not using the Resource in the script. So far no dice on using add-on fonts.

Edit3: Got the custom font working on the local native SDK, so appears to be an issue with CloudPebble.

1 Like

Is this on CloudPebble or using local SDK?If it’s on CloudPebble, can you share some screenshots of the problem?

1 Like

On CloudPebble.

Screenshots of the Add Resource screens. You can see Preview is blank.

(new poster so can only add 1 media file at a time)

1 Like

I saw your fix above, nice. Should we change the UI to make that more clear? What would you recommend?

1 Like

Actually my “fix” only solved the Preview being blank. I’ve had zero luck getting a Build to work if I simply create a Resource with a font. Jumped through MANY hoops trying to get this to work and no dice. I’ve used 2 different AI (Claude and Gemini) for hours, and so far a dead end. To clarify I have a script that works fine with built-in system fonts. But if I add a font Resource that script aborts on the Build without using the custom font. Any advice?

1 Like

have you tested your code with the native sdk? Installing the Pebble SDK // Pebble Developers Does it work there?

1 Like

No, I haven’t used a native SDK. Is there a good chance it would be different than CloudPebble?

1 Like

I got it working on the native SDK. The desired custom font did load, and is working in the emulator. So all good for now.

1 Like

@jimbo I think I just fixed the issue on CloudPebble. Do you mind trying again?

1 Like

Hey, just saw this reply. Yes, I can report that I got CloudPebble working just fine with a custom font. Good work. I do find the Resource setup page a bit confusing, but did figure out how to add multiple font sizes, Build and Emulator worked as expected.

Thanks.

1 Like