I Just made a simple tutorial for inserting custom fonts on Mac or wherever OS with snowB Bitmap Font Generator https://snowb.org/
first insert the code on your app, I made a regular and alternate font options
class MyAppView extends WatchUi.WatchFace { var valueFont; function initialize() { WatchFace.initialize(); } function onLayout(dc) { if (getProperty("FontB")) { valueFont = WatchUi.loadResource(Rez.Fonts.SSS18); }else{ valueFont = Gfx.FONT_NUMBER_THAI_HOT; } } function value(dc, v) { if (v != null) { dc.drawText((dc.getWidth()/2), (dc.getHeight()/2), valueFont, v, Gfx.TEXT_JUSTIFY_CENTER|Gfx.TEXT_JUSTIFY_VCENTER); } }
second insert the font.xml on resources folder
<resources> <fonts> <font id="SSS18" filename="fonts/SSS18.fnt" filter="0123456789:./% "/> </fonts> </resources>
third and most important drop font files on fonts folder check this settings on the .fnt file
info face="FormationSansRegular-Regular" size=20 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=0,0 common lineHeight=20 base=20 scaleW=111 scaleH=111 pages=1 packed=0 page id=0 file="SSS18.png"
I think it's working ok
https://apps.garmin.com/en-US/apps/ccd89285-d4f8-4e2d-a832-56afd0ac1913