【fix】修复字体缺失

This commit is contained in:
2026-04-07 16:35:15 +08:00
parent 6692d9f65d
commit ca64c9bccf
8 changed files with 72 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
info face="face" size=133 info face="face" size=133
common lineHeight=133 scaleW=444 scaleH=402 pages=1 common lineHeight=133 scaleW=555 scaleH=402 pages=1
page id=0 file="font_coin_add.png" page id=0 file="font_coin_add.png"
chars count=12 chars count=13
char id=57 x=0 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=57 x=0 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
char id=53 x=111 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=53 x=111 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
char id=46 x=222 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=46 x=222 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
@@ -14,3 +14,4 @@ char id=51 x=0 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=
char id=50 x=111 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=50 x=111 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
char id=49 x=222 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=49 x=222 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
char id=48 x=333 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15 char id=48 x=333 y=268 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15
char id=43 x=444 y=0 width=110 height=133 xoffset=0 yoffset=0 xadvance=110 page=0 chnl=15

View File

@@ -13,6 +13,17 @@
"fontSize": 133, "fontSize": 133,
"atlasName": "font_coin_add.png", "atlasName": "font_coin_add.png",
"fontDefDictionary": { "fontDefDictionary": {
"43": {
"rect": {
"x": 444,
"y": 0,
"width": 110,
"height": 133
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 110
},
"45": { "45": {
"rect": { "rect": {
"x": 111, "x": 111,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 160 KiB

View File

@@ -46,9 +46,9 @@
"offsetY": -0.5, "offsetY": -0.5,
"trimX": 0, "trimX": 0,
"trimY": 2, "trimY": 2,
"width": 443, "width": 554,
"height": 399, "height": 399,
"rawWidth": 444, "rawWidth": 555,
"rawHeight": 402, "rawHeight": 402,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
@@ -61,16 +61,16 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-221.5, -277,
-199.5, -199.5,
0, 0,
221.5, 277,
-199.5, -199.5,
0, 0,
-221.5, -277,
199.5, 199.5,
0, 0,
221.5, 277,
199.5, 199.5,
0 0
], ],
@@ -85,30 +85,30 @@
"uv": [ "uv": [
0, 0,
400, 400,
443, 554,
400, 400,
0, 0,
1, 1,
443, 554,
1 1
], ],
"nuv": [ "nuv": [
0, 0,
0.0024875621890547263, 0.0024875621890547263,
0.9977477477477478, 0.9981981981981982,
0.0024875621890547263, 0.0024875621890547263,
0, 0,
0.9950248756218906, 0.9950248756218906,
0.9977477477477478, 0.9981981981981982,
0.9950248756218906 0.9950248756218906
], ],
"minPos": [ "minPos": [
-221.5, -277,
-199.5, -199.5,
0 0
], ],
"maxPos": [ "maxPos": [
221.5, 277,
199.5, 199.5,
0 0
] ]

View File

@@ -1,16 +1,17 @@
info face="face" size=100 info face="face" size=100
common lineHeight=100 scaleW=340 scaleH=303 pages=1 common lineHeight=100 scaleW=425 scaleH=303 pages=1
page id=0 file="font_coin_sub.png" page id=0 file="font_coin_sub.png"
chars count=12 chars count=13
char id=54 x=0 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=54 x=0 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=53 x=85 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=53 x=85 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=56 x=170 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=56 x=170 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=51 x=0 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=51 x=0 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=43 x=85 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=45 x=85 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=46 x=170 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=43 x=170 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=49 x=255 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=46 x=255 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=55 x=255 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=49 x=255 y=101 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=48 x=0 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=55 x=0 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=57 x=85 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=48 x=85 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=50 x=170 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=57 x=170 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=52 x=255 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15 char id=50 x=255 y=202 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15
char id=52 x=340 y=0 width=84 height=100 xoffset=0 yoffset=0 xadvance=84 page=0 chnl=15

View File

@@ -14,6 +14,17 @@
"atlasName": "font_coin_sub.png", "atlasName": "font_coin_sub.png",
"fontDefDictionary": { "fontDefDictionary": {
"43": { "43": {
"rect": {
"x": 170,
"y": 101,
"width": 84,
"height": 100
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 84
},
"45": {
"rect": { "rect": {
"x": 85, "x": 85,
"y": 101, "y": 101,
@@ -26,8 +37,8 @@
}, },
"46": { "46": {
"rect": { "rect": {
"x": 170, "x": 255,
"y": 101, "y": 0,
"width": 84, "width": 84,
"height": 100 "height": 100
}, },
@@ -37,7 +48,7 @@
}, },
"48": { "48": {
"rect": { "rect": {
"x": 0, "x": 85,
"y": 202, "y": 202,
"width": 84, "width": 84,
"height": 100 "height": 100
@@ -49,7 +60,7 @@
"49": { "49": {
"rect": { "rect": {
"x": 255, "x": 255,
"y": 0, "y": 101,
"width": 84, "width": 84,
"height": 100 "height": 100
}, },
@@ -59,7 +70,7 @@
}, },
"50": { "50": {
"rect": { "rect": {
"x": 170, "x": 255,
"y": 202, "y": 202,
"width": 84, "width": 84,
"height": 100 "height": 100
@@ -81,8 +92,8 @@
}, },
"52": { "52": {
"rect": { "rect": {
"x": 255, "x": 340,
"y": 202, "y": 0,
"width": 84, "width": 84,
"height": 100 "height": 100
}, },
@@ -114,8 +125,8 @@
}, },
"55": { "55": {
"rect": { "rect": {
"x": 255, "x": 0,
"y": 101, "y": 202,
"width": 84, "width": 84,
"height": 100 "height": 100
}, },
@@ -136,7 +147,7 @@
}, },
"57": { "57": {
"rect": { "rect": {
"x": 85, "x": 170,
"y": 202, "y": 202,
"width": 84, "width": 84,
"height": 100 "height": 100

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

@@ -46,9 +46,9 @@
"offsetY": 0.5, "offsetY": 0.5,
"trimX": 1, "trimX": 1,
"trimY": 0, "trimY": 0,
"width": 337, "width": 422,
"height": 302, "height": 302,
"rawWidth": 340, "rawWidth": 425,
"rawHeight": 303, "rawHeight": 303,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
@@ -61,16 +61,16 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-168.5, -211,
-151, -151,
0, 0,
168.5, 211,
-151, -151,
0, 0,
-168.5, -211,
151, 151,
0, 0,
168.5, 211,
151, 151,
0 0
], ],
@@ -85,30 +85,30 @@
"uv": [ "uv": [
1, 1,
303, 303,
338, 423,
303, 303,
1, 1,
1, 1,
338, 423,
1 1
], ],
"nuv": [ "nuv": [
0.0029411764705882353, 0.002352941176470588,
0.0033003300330033004, 0.0033003300330033004,
0.9941176470588236, 0.9952941176470588,
0.0033003300330033004, 0.0033003300330033004,
0.0029411764705882353, 0.002352941176470588,
1, 1,
0.9941176470588236, 0.9952941176470588,
1 1
], ],
"minPos": [ "minPos": [
-168.5, -211,
-151, -151,
0 0
], ],
"maxPos": [ "maxPos": [
168.5, 211,
151, 151,
0 0
] ]