Skip to content

Commit

Permalink
Feature/custom fonts 416 (#22)
Browse files Browse the repository at this point in the history
Move 416 watchfaces on custom fonts
  • Loading branch information
Laverlin authored Sep 14, 2023
1 parent 50d15b8 commit 001dc13
Show file tree
Hide file tree
Showing 25 changed files with 981 additions and 180 deletions.
14 changes: 14 additions & 0 deletions resources-round-416x416/big-digits-416.fnt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
info face="JetBrains Mono ExtraBold" size=-100 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=4 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=132 base=102 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=0 redChnl=0 greenChnl=0 blueChnl=0
page id=0 file="big-digits-416_0.png"
chars count=10
char id=48 x=50 y=0 width=48 height=75 xoffset=6 yoffset=28 xadvance=60 page=0 chnl=15
char id=49 x=148 y=74 width=48 height=73 xoffset=8 yoffset=29 xadvance=60 page=0 chnl=15
char id=50 x=200 y=0 width=49 height=74 xoffset=5 yoffset=28 xadvance=60 page=0 chnl=15
char id=51 x=0 y=75 width=49 height=74 xoffset=5 yoffset=29 xadvance=60 page=0 chnl=15
char id=52 x=196 y=74 width=47 height=73 xoffset=5 yoffset=29 xadvance=60 page=0 chnl=15
char id=53 x=49 y=75 width=48 height=74 xoffset=6 yoffset=29 xadvance=60 page=0 chnl=15
char id=54 x=98 y=0 width=51 height=74 xoffset=4 yoffset=29 xadvance=60 page=0 chnl=15
char id=55 x=97 y=75 width=51 height=73 xoffset=4 yoffset=29 xadvance=60 page=0 chnl=15
char id=56 x=0 y=0 width=50 height=75 xoffset=5 yoffset=28 xadvance=60 page=0 chnl=15
char id=57 x=149 y=0 width=51 height=74 xoffset=4 yoffset=28 xadvance=60 page=0 chnl=15
Binary file added resources-round-416x416/big-digits-416_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources-round-416x416/big-digits-416_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
660 changes: 660 additions & 0 deletions resources-round-416x416/hint-416.fnt

Large diffs are not rendered by default.

Binary file added resources-round-416x416/hint-416_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions resources-round-416x416/icons-416.fnt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
info face="MS Sans Serif" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=4 padding=0,0,0,0 spacing=0,0 outline=0
common lineHeight=32 base=26 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=0 redChnl=0 greenChnl=0 blueChnl=0
page id=0 file="icons-416_0.png"
chars count=39
char id=32 x=128 y=153 width=2 height=1 xoffset=0 yoffset=31 xadvance=7 page=0 chnl=15
char id=65 x=0 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=66 x=32 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=67 x=64 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=68 x=96 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=69 x=128 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=70 x=160 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=71 x=192 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=72 x=224 y=0 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=73 x=0 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=74 x=32 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=78 x=64 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=79 x=96 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=80 x=128 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=81 x=160 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=82 x=192 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=83 x=224 y=32 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=84 x=0 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=85 x=32 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=86 x=64 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=87 x=96 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=88 x=128 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=89 x=160 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=97 x=192 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=98 x=224 y=64 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=99 x=128 y=128 width=25 height=25 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15
char id=100 x=0 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=101 x=32 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=102 x=153 y=128 width=25 height=25 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15
char id=114 x=64 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=115 x=96 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=118 x=128 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=119 x=160 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=120 x=192 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=121 x=224 y=96 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=122 x=0 y=128 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=123 x=32 y=128 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=124 x=64 y=128 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
char id=125 x=96 y=128 width=32 height=32 xoffset=0 yoffset=0 xadvance=32 page=0 chnl=15
Binary file added resources-round-416x416/icons-416_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 21 additions & 15 deletions resources-round-416x416/layout.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<resources>

<font id="msss16_font" filename="../resources/msss16Font.fnt" antialias="true" />
<font id="icon_font" filename="../resources/IconFontLarge.fnt" antialias="true"/>
<font id="icon_font" filename="icons-416.fnt" antialias="true"/>
<font id="vertical_font" filename="../resources/verticalFontLarge.fnt" antialias="true"/>
<font id="unicode_mss16_font" filename="../resources/unicode_mss16.fnt" antialias="true"/>
<font id="digits" filename="big-digits-416.fnt" antialias="true"/>
<font id="text" filename="text-416.fnt" antialias="true"/>
<font id="hint" filename="hint-416.fnt" antialias="true"/>

<!-- Epix 2 -->

Expand All @@ -19,39 +21,43 @@
100 => msss16_font
101 => icon_font
102 => vertical_font
103 => Custom Digits
104 => Custom Text
105 => Custom Hint
align: 0 => Gfx.TEXT_JUSTIFY_RIGHT
1 => Gfx.TEXT_JUSTIFY_CENTER
2 => Gfx.TEXT_JUSTIFY_LEFT
-->
<jsonData id="l_city_left">{"x":[63], "y":[51], "c":[2], "f":[0], "a":[2], "t":[null], "fun":0}</jsonData>
<jsonData id="l_city_center">{"x":[208], "y":[51], "c":[2], "f":[0], "a":[1], "t":[null], "fun":0}</jsonData>
<jsonData id="l_city_left">{"x":[69], "y":[54], "c":[2], "f":[105], "a":[2], "t":[null], "fun":0}</jsonData>
<jsonData id="l_city_center">{"x":[208], "y":[54], "c":[2], "f":[105], "a":[1], "t":[null], "fun":0}</jsonData>

<jsonData id="l_date">{"x":[198, 150, 90], "y":[185, 185, 185], "c":[1, 2, 1], "f":[1, 1, 1], "a":[0, 0, 0], "t":[null, null, null], "fun":3, "cor":[null, -10, -14]}</jsonData>
<jsonData id="l_date">{"x":[198, 150, 90], "y":[175, 175, 175], "c":[1, 2, 1], "f":[104, 104, 104], "a":[0, 0, 0], "t":[null, null, null], "fun":3, "cor":[null, -10, -14]}</jsonData>

<jsonData id="l_time">{"x":[157, 157], "y":[60, 217], "c":[0, 0], "f":[7, 7], "a":[0, 0], "t":[null, null], "fun":4, "tb":null}</jsonData>
<jsonData id="l_time">{"x":[157, 157], "y":[63, 220], "c":[0, 0], "f":[103, 103], "a":[0, 0], "t":[null, null], "fun":4, "tb":null}</jsonData>

<jsonData id="l_pmam">{"x":[195], "y":[154], "c":[0], "f":[100], "a":[0], "t":[null], "fun":5}</jsonData>
<jsonData id="l_pmam">{"x":[195], "y":[152], "c":[0], "f":[105], "a":[0], "t":[null], "fun":5, "tb": null}</jsonData>

<jsonData id="l_sec">{"x":[197], "y":[289], "c":[0], "f":[1], "a":[0], "t":[null], "fun":6}</jsonData>
<jsonData id="l_sec">{"x":[197], "y":[279], "c":[0], "f":[104], "a":[0], "t":[null], "fun":6}</jsonData>

<jsonData id="l_temp">
{"x":[223, 233, 348, 366], "y":[84, 92, 84, 94], "c":[1, 2, 1, 2], "f":[1, 101, 1, 0], "a":[2, 2, 0, 0], "t":[null, null, null, null], "fun":7, "cor": [null, 2, null, null]}
{"x":[223, 233, 348, 366], "y":[74, 92, 74, 97], "c":[1, 2, 1, 2], "f":[104, 101, 104, 105], "a":[2, 2, 0, 0], "t":[null, null, null, null], "fun":7, "cor": [null, 2, null, null], "tb": null}
</jsonData>
<jsonData id="l_wind">
{"x":[223, 233, 310], "y":[130, 138, 130], "c":[1, 2, 0], "f":[1, 0, 101], "a":[2, 2, 2], "t":[null, null, null], "fun":8, "cor": [null, 3, 17]}
{"x":[223, 233, 340], "y":[120, 143, 140], "c":[1, 2, 0], "f":[104, 105, 101], "a":[2, 2, 2], "t":[null, null, null], "fun":8, "cor": [null, 3, null], "tb": null}
</jsonData>

<jsonData id="l_bt">{"x":[200], "y":[250], "c":[0], "f":[101], "a":[0], "t":[null], "fun":9}</jsonData>

<jsonData id="l_field3">{"x":[223, 317], "y":[187, 195], "c":[1, 2], "f":[1, 0], "a":[2, 2], "t":[null, null], "fun":10, "lcor" : 6}</jsonData>
<jsonData id="l_field4">{"x":[223, 317], "y":[242, 249], "c":[1, 2], "f":[1, 0], "a":[2, 2], "t":[null, null], "fun":11, "lcor" : 3}</jsonData>
<jsonData id="l_field5">{"x":[223, 317], "y":[290, 298], "c":[1, 2], "f":[1, 0], "a":[2, 2], "t":[null, null], "fun":12, "lcor" : 3}</jsonData>
<jsonData id="l_field3">{"x":[223, 337], "y":[177, 200], "c":[1, 2], "f":[104, 105], "a":[2, 2], "t":[null, null], "fun":10, "lcor" : 6}</jsonData>
<jsonData id="l_field4">{"x":[223, 337], "y":[232, 254], "c":[1, 2], "f":[104, 105], "a":[2, 2], "t":[null, null], "fun":11, "lcor" : 3}</jsonData>
<jsonData id="l_field5">{"x":[223, 337], "y":[280, 303], "c":[1, 2], "f":[104, 105], "a":[2, 2], "t":[null, null], "fun":12, "lcor" : 3}</jsonData>

<jsonData id="l_battery">{"x":[195, 195, 195, 195], "y":[95, 117, 132, 144], "c":[2, 2, 2, 2], "f":[102, 102, 102, 102], "a":[0, 0, 0, 0], "t":[null, null, null, null], "fun":13, "tb":null}</jsonData>

<jsonData id="l_bottom_line1">{"x":[117, 148, 222, 258, 280, 316], "y":[342, 342, 342, 342, 342, 342], "c":[0, 1, 0, 2, 0, 2], "f":[101, 101, 101, 0, 101, 0], "a":[2, 2, 2, 2, 2, 2], "fun":14, "tb":null}</jsonData>
<jsonData id="l_bottom_line2">{"x":[260, 290, 85, 120, 140, 175], "y":[342, 342, 342, 342, 342, 342], "c":[0, 1, 0, 2, 0, 2], "f":[101, 101, 101, 0, 101, 0], "a":[2, 2, 2, 2, 2, 2], "fun":14, "tb":null}</jsonData>
<jsonData id="l_bottom_line1">{"x":[117, 148, 222, 256, 280, 314], "y":[347, 347, 347, 350, 347, 350], "c":[0, 1, 0, 2, 0, 2], "f":[101, 101, 101, 105, 101, 105], "a":[2, 2, 2, 2, 2, 2], "fun":14, "tb":null}</jsonData>
<jsonData id="l_bottom_line2">{"x":[260, 290, 85, 118, 140, 173], "y":[347, 347, 347, 350, 347, 350], "c":[0, 1, 0, 2, 0, 2], "f":[101, 101, 101, 105, 101, 105], "a":[2, 2, 2, 2, 2, 2], "fun":14, "tb":null}</jsonData>

<jsonData id="l_line">{"x":[208, 208],"y":[93, 323]}</jsonData>

Expand Down
Loading

0 comments on commit 001dc13

Please sign in to comment.