Hi,
I'm trying to build a custom watch face and I'm struggling to use a custom font and size it. I created a number font using BMFont (based on roboto).
When I use the font, the number are always huge even if I set the font size to 32 in BMFont.
I tried to print Graphics.getFontHeight(Graphics.roboto900) in my code and it returns 256 so it appears that there is an issue.
Here is the font file:
info face="Roboto" size=91 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=0,0 outline=0 common lineHeight=91 base=91 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 page id=0 file="Roboto_0.png" chars count=11 char id=52 x=0 y=0 width=51 height=69 xoffset=2 yoffset=21 xadvance=54 page=0 chnl=15 char id=55 x=51 y=0 width=48 height=69 xoffset=3 yoffset=21 xadvance=54 page=0 chnl=15 char id=50 x=0 y=69 width=47 height=70 xoffset=4 yoffset=20 xadvance=54 page=0 chnl=15 char id=56 x=99 y=0 width=45 height=71 xoffset=4 yoffset=20 xadvance=54 page=0 chnl=15 char id=53 x=47 y=69 width=45 height=70 xoffset=6 yoffset=21 xadvance=54 page=0 chnl=15 char id=54 x=92 y=71 width=45 height=70 xoffset=5 yoffset=21 xadvance=54 page=0 chnl=15 char id=48 x=144 y=0 width=44 height=71 xoffset=5 yoffset=20 xadvance=54 page=0 chnl=15 char id=51 x=137 y=71 width=44 height=71 xoffset=4 yoffset=20 xadvance=54 page=0 chnl=15 char id=57 x=0 y=142 width=44 height=71 xoffset=4 yoffset=20 xadvance=54 page=0 chnl=15 char id=49 x=44 y=142 width=28 height=70 xoffset=7 yoffset=20 xadvance=54 page=0 chnl=15 char id=58 x=181 y=71 width=12 height=53 xoffset=6 yoffset=38 xadvance=24 page=0 chnl=15
Any help aprreciated, I did not find any answer for now.
Thanks