diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-12-19 21:52:49 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-12-19 21:55:06 +0100 |
commit | 46d2ce085ea47f7f9b86ec74858c6cc1317b04a6 (patch) | |
tree | 59cc09832d87fbf1d832b32f3f32278019040017 | |
parent | ce8e21440062677df64095cc630d62d57173a07e (diff) | |
download | display_modpack-46d2ce085ea47f7f9b86ec74858c6cc1317b04a6.tar.gz display_modpack-46d2ce085ea47f7f9b86ec74858c6cc1317b04a6.tar.bz2 display_modpack-46d2ce085ea47f7f9b86ec74858c6cc1317b04a6.zip |
Multiple fonts and UTF chars support
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | font_lib/API.md | 57 | ||||
-rw-r--r-- | font_lib/README.md | 4 | ||||
-rw-r--r-- | font_lib/font_default.lua | 12 | ||||
-rw-r--r-- | font_lib/init.lua | 239 | ||||
-rw-r--r-- | font_lib/textures/font_default_0000.png (renamed from font_lib/textures/font_lib_00.png) | bin | 145 -> 145 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0020.png (renamed from font_lib/textures/font_lib_20.png) | bin | 281 -> 281 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0021.png (renamed from font_lib/textures/font_lib_21.png) | bin | 299 -> 299 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0022.png (renamed from font_lib/textures/font_lib_22.png) | bin | 290 -> 290 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0023.png (renamed from font_lib/textures/font_lib_23.png) | bin | 304 -> 304 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0024.png (renamed from font_lib/textures/font_lib_24.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0025.png (renamed from font_lib/textures/font_lib_25.png) | bin | 312 -> 312 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0026.png (renamed from font_lib/textures/font_lib_26.png) | bin | 319 -> 319 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0027.png (renamed from font_lib/textures/font_lib_27.png) | bin | 290 -> 290 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0028.png (renamed from font_lib/textures/font_lib_28.png) | bin | 303 -> 303 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0029.png (renamed from font_lib/textures/font_lib_29.png) | bin | 301 -> 301 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002a.png (renamed from font_lib/textures/font_lib_2a.png) | bin | 289 -> 289 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002b.png (renamed from font_lib/textures/font_lib_2b.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002c.png (renamed from font_lib/textures/font_lib_2c.png) | bin | 290 -> 290 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002d.png (renamed from font_lib/textures/font_lib_2d.png) | bin | 287 -> 287 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002e.png (renamed from font_lib/textures/font_lib_2e.png) | bin | 289 -> 289 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_002f.png (renamed from font_lib/textures/font_lib_2f.png) | bin | 299 -> 299 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0030.png (renamed from font_lib/textures/font_lib_30.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0031.png (renamed from font_lib/textures/font_lib_31.png) | bin | 300 -> 300 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0032.png (renamed from font_lib/textures/font_lib_32.png) | bin | 312 -> 312 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0033.png (renamed from font_lib/textures/font_lib_33.png) | bin | 313 -> 313 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0034.png (renamed from font_lib/textures/font_lib_34.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0035.png (renamed from font_lib/textures/font_lib_35.png) | bin | 317 -> 317 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0036.png (renamed from font_lib/textures/font_lib_36.png) | bin | 312 -> 312 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0037.png (renamed from font_lib/textures/font_lib_37.png) | bin | 308 -> 308 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0038.png (renamed from font_lib/textures/font_lib_38.png) | bin | 300 -> 300 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0039.png (renamed from font_lib/textures/font_lib_39.png) | bin | 315 -> 315 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003a.png (renamed from font_lib/textures/font_lib_3a.png) | bin | 289 -> 289 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003b.png (renamed from font_lib/textures/font_lib_3b.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003c.png (renamed from font_lib/textures/font_lib_3c.png) | bin | 290 -> 290 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003d.png (renamed from font_lib/textures/font_lib_3d.png) | bin | 290 -> 290 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003e.png (renamed from font_lib/textures/font_lib_3e.png) | bin | 289 -> 289 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_003f.png (renamed from font_lib/textures/font_lib_3f.png) | bin | 310 -> 310 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0040.png (renamed from font_lib/textures/font_lib_40.png) | bin | 323 -> 323 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0041.png (renamed from font_lib/textures/font_lib_41.png) | bin | 313 -> 313 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0042.png (renamed from font_lib/textures/font_lib_42.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0043.png (renamed from font_lib/textures/font_lib_43.png) | bin | 320 -> 320 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0044.png (renamed from font_lib/textures/font_lib_44.png) | bin | 308 -> 308 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0045.png (renamed from font_lib/textures/font_lib_45.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0046.png (renamed from font_lib/textures/font_lib_46.png) | bin | 305 -> 305 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0047.png (renamed from font_lib/textures/font_lib_47.png) | bin | 327 -> 327 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0048.png (renamed from font_lib/textures/font_lib_48.png) | bin | 304 -> 304 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0049.png (renamed from font_lib/textures/font_lib_49.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004a.png (renamed from font_lib/textures/font_lib_4a.png) | bin | 304 -> 304 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004b.png (renamed from font_lib/textures/font_lib_4b.png) | bin | 320 -> 320 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004c.png (renamed from font_lib/textures/font_lib_4c.png) | bin | 298 -> 298 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004d.png (renamed from font_lib/textures/font_lib_4d.png) | bin | 317 -> 317 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004e.png (renamed from font_lib/textures/font_lib_4e.png) | bin | 315 -> 315 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_004f.png (renamed from font_lib/textures/font_lib_4f.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0050.png (renamed from font_lib/textures/font_lib_50.png) | bin | 309 -> 309 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0051.png (renamed from font_lib/textures/font_lib_51.png) | bin | 322 -> 322 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0052.png (renamed from font_lib/textures/font_lib_52.png) | bin | 303 -> 303 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0053.png (renamed from font_lib/textures/font_lib_53.png) | bin | 316 -> 316 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0054.png (renamed from font_lib/textures/font_lib_54.png) | bin | 301 -> 301 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0055.png (renamed from font_lib/textures/font_lib_55.png) | bin | 299 -> 299 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0056.png (renamed from font_lib/textures/font_lib_56.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0057.png (renamed from font_lib/textures/font_lib_57.png) | bin | 313 -> 313 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0058.png (renamed from font_lib/textures/font_lib_58.png) | bin | 308 -> 308 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0059.png (renamed from font_lib/textures/font_lib_59.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005a.png (renamed from font_lib/textures/font_lib_5a.png) | bin | 307 -> 307 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005b.png (renamed from font_lib/textures/font_lib_5b.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005c.png (renamed from font_lib/textures/font_lib_5c.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005d.png (renamed from font_lib/textures/font_lib_5d.png) | bin | 298 -> 298 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005e.png (renamed from font_lib/textures/font_lib_5e.png) | bin | 303 -> 303 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_005f.png (renamed from font_lib/textures/font_lib_5f.png) | bin | 286 -> 286 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0060.png (renamed from font_lib/textures/font_lib_60.png) | bin | 284 -> 284 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0061.png (renamed from font_lib/textures/font_lib_61.png) | bin | 316 -> 316 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0062.png (renamed from font_lib/textures/font_lib_62.png) | bin | 307 -> 307 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0063.png (renamed from font_lib/textures/font_lib_63.png) | bin | 307 -> 307 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0064.png (renamed from font_lib/textures/font_lib_64.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0065.png (renamed from font_lib/textures/font_lib_65.png) | bin | 313 -> 313 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0066.png (renamed from font_lib/textures/font_lib_66.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0067.png (renamed from font_lib/textures/font_lib_67.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0068.png (renamed from font_lib/textures/font_lib_68.png) | bin | 305 -> 305 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0069.png (renamed from font_lib/textures/font_lib_69.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006a.png (renamed from font_lib/textures/font_lib_6a.png) | bin | 293 -> 293 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006b.png (renamed from font_lib/textures/font_lib_6b.png) | bin | 311 -> 311 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006c.png (renamed from font_lib/textures/font_lib_6c.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006d.png (renamed from font_lib/textures/font_lib_6d.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006e.png (renamed from font_lib/textures/font_lib_6e.png) | bin | 308 -> 308 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_006f.png (renamed from font_lib/textures/font_lib_6f.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0070.png (renamed from font_lib/textures/font_lib_70.png) | bin | 315 -> 315 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0071.png (renamed from font_lib/textures/font_lib_71.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0072.png (renamed from font_lib/textures/font_lib_72.png) | bin | 303 -> 303 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0073.png (renamed from font_lib/textures/font_lib_73.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0074.png (renamed from font_lib/textures/font_lib_74.png) | bin | 304 -> 304 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0075.png (renamed from font_lib/textures/font_lib_75.png) | bin | 295 -> 295 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0076.png (renamed from font_lib/textures/font_lib_76.png) | bin | 300 -> 300 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0077.png (renamed from font_lib/textures/font_lib_77.png) | bin | 304 -> 304 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0078.png (renamed from font_lib/textures/font_lib_78.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_0079.png (renamed from font_lib/textures/font_lib_79.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_007a.png (renamed from font_lib/textures/font_lib_7a.png) | bin | 296 -> 296 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_007b.png (renamed from font_lib/textures/font_lib_7b.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_007c.png (renamed from font_lib/textures/font_lib_7c.png) | bin | 134 -> 134 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_007d.png (renamed from font_lib/textures/font_lib_7d.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_007e.png (renamed from font_lib/textures/font_lib_7e.png) | bin | 294 -> 294 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_008a.png (renamed from font_lib/textures/font_lib_8a.png) | bin | 316 -> 316 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_008d.png (renamed from font_lib/textures/font_lib_8d.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00a1.png (renamed from font_lib/textures/font_lib_a1.png) | bin | 139 -> 139 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00b1.png (renamed from font_lib/textures/font_lib_b1.png) | bin | 139 -> 139 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00bf.png (renamed from font_lib/textures/font_lib_bf.png) | bin | 144 -> 144 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c1.png (renamed from font_lib/textures/font_lib_c1.png) | bin | 160 -> 160 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c2.png (renamed from font_lib/textures/font_lib_c2.png) | bin | 158 -> 158 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c3.png (renamed from font_lib/textures/font_lib_c3.png) | bin | 161 -> 161 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c4.png (renamed from font_lib/textures/font_lib_c4.png) | bin | 158 -> 158 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c5.png (renamed from font_lib/textures/font_lib_c5.png) | bin | 165 -> 165 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c6.png (renamed from font_lib/textures/font_lib_c6.png) | bin | 162 -> 162 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c7.png (renamed from font_lib/textures/font_lib_c7.png) | bin | 327 -> 327 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c8.png (renamed from font_lib/textures/font_lib_c8.png) | bin | 152 -> 152 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00c9.png (renamed from font_lib/textures/font_lib_c9.png) | bin | 150 -> 150 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ca.png (renamed from font_lib/textures/font_lib_ca.png) | bin | 151 -> 151 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00cb.png (renamed from font_lib/textures/font_lib_cb.png) | bin | 147 -> 147 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00cc.png (renamed from font_lib/textures/font_lib_cc.png) | bin | 137 -> 137 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00cd.png (renamed from font_lib/textures/font_lib_cd.png) | bin | 138 -> 138 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ce.png (renamed from font_lib/textures/font_lib_ce.png) | bin | 142 -> 142 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00cf.png (renamed from font_lib/textures/font_lib_cf.png) | bin | 140 -> 140 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d0.png (renamed from font_lib/textures/font_lib_d0.png) | bin | 158 -> 158 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d1.png (renamed from font_lib/textures/font_lib_d1.png) | bin | 160 -> 160 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d2.png (renamed from font_lib/textures/font_lib_d2.png) | bin | 160 -> 160 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d3.png (renamed from font_lib/textures/font_lib_d3.png) | bin | 161 -> 161 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d4.png (renamed from font_lib/textures/font_lib_d4.png) | bin | 163 -> 163 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d5.png (renamed from font_lib/textures/font_lib_d5.png) | bin | 163 -> 163 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d6.png (renamed from font_lib/textures/font_lib_d6.png) | bin | 160 -> 160 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d7.png (renamed from font_lib/textures/font_lib_d7.png) | bin | 136 -> 136 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d8.png (renamed from font_lib/textures/font_lib_d8.png) | bin | 162 -> 162 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00d9.png (renamed from font_lib/textures/font_lib_d9.png) | bin | 146 -> 146 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00da.png (renamed from font_lib/textures/font_lib_da.png) | bin | 145 -> 145 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00db.png (renamed from font_lib/textures/font_lib_db.png) | bin | 150 -> 150 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00dc.png (renamed from font_lib/textures/font_lib_dc.png) | bin | 150 -> 150 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00dd.png (renamed from font_lib/textures/font_lib_dd.png) | bin | 155 -> 155 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e0.png (renamed from font_lib/textures/font_lib_e0.png) | bin | 317 -> 317 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e1.png (renamed from font_lib/textures/font_lib_e1.png) | bin | 314 -> 314 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e2.png (renamed from font_lib/textures/font_lib_e2.png) | bin | 316 -> 316 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e3.png (renamed from font_lib/textures/font_lib_e3.png) | bin | 319 -> 319 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e4.png (renamed from font_lib/textures/font_lib_e4.png) | bin | 317 -> 317 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e5.png (renamed from font_lib/textures/font_lib_e5.png) | bin | 318 -> 318 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e6.png (renamed from font_lib/textures/font_lib_e6.png) | bin | 323 -> 323 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e7.png (renamed from font_lib/textures/font_lib_e7.png) | bin | 311 -> 311 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e8.png (renamed from font_lib/textures/font_lib_e8.png) | bin | 319 -> 319 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00e9.png (renamed from font_lib/textures/font_lib_e9.png) | bin | 312 -> 312 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ea.png (renamed from font_lib/textures/font_lib_ea.png) | bin | 318 -> 318 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00eb.png (renamed from font_lib/textures/font_lib_eb.png) | bin | 316 -> 316 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ec.png (renamed from font_lib/textures/font_lib_ec.png) | bin | 302 -> 302 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ed.png (renamed from font_lib/textures/font_lib_ed.png) | bin | 292 -> 292 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ee.png (renamed from font_lib/textures/font_lib_ee.png) | bin | 298 -> 298 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ef.png (renamed from font_lib/textures/font_lib_ef.png) | bin | 300 -> 300 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f2.png (renamed from font_lib/textures/font_lib_f2.png) | bin | 307 -> 307 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f4.png (renamed from font_lib/textures/font_lib_f4.png) | bin | 312 -> 312 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f5.png (renamed from font_lib/textures/font_lib_f5.png) | bin | 311 -> 311 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f6.png (renamed from font_lib/textures/font_lib_f6.png) | bin | 305 -> 305 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f7.png (renamed from font_lib/textures/font_lib_f7.png) | bin | 134 -> 134 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00f9.png (renamed from font_lib/textures/font_lib_f9.png) | bin | 298 -> 298 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00fa.png (renamed from font_lib/textures/font_lib_fa.png) | bin | 298 -> 298 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00fb.png (renamed from font_lib/textures/font_lib_fb.png) | bin | 307 -> 307 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00fc.png (renamed from font_lib/textures/font_lib_fc.png) | bin | 297 -> 297 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00fd.png (renamed from font_lib/textures/font_lib_fd.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | font_lib/textures/font_default_00ff.png (renamed from font_lib/textures/font_lib_ff.png) | bin | 305 -> 305 bytes | |||
-rwxr-xr-x | font_lib/tools/make_font_lua.sh | 48 |
163 files changed, 290 insertions, 80 deletions
@@ -13,6 +13,16 @@ For more information, see the [forum topic](https://forum.minetest.net/viewtopic ## Changelog +### 2017-12-19 + +This change is a preparation to merge Andrzej Pieńkowski fork (apienk) : new font and support of UTF chars. + +- Font\_lib support for multiple fonts (nothing yet visible in mods) ; + +- Font\_lib support for Unicode characters (limited to Unicode Plane 0: 0000-FFFF, see [Wikipedia](https://en.wikipedia.org/wiki/Unicode)) ; + +- New "default" font with original textures from Vanessa Ezekowitz (VanessaE) ; + ### 2017-12-10 - Compatibility of signs mod with signs_lib (thanks to gpcf) ; diff --git a/font_lib/API.md b/font_lib/API.md index 7ec499b..b8bc97a 100644 --- a/font_lib/API.md +++ b/font_lib/API.md @@ -2,19 +2,24 @@ This document describes Font Lib API. Font Lib creates textures for font display on entities. ## Provided methods -### get\_line\_width -**font\_lib.get\_line\_width(text)** +### get\_text\_size +**font\_lib.get\_text\_size(font\_name, text)** + +Computes size for a given font and text + +**font\_name**: Font name of registered font to use -Computes line width for a given font height and text **text**: Text to be rendered -**Returns**: rendered text width +**Returns**: rendered text width, height ### make\_line\_texture -**font\_lib.make\_line\_texture(text, texturew, x, y)** +**font\_lib.make\_line\_texture(font\_name, text, width, x, y)** Builds texture part for a text line +**font\_name**: Font name of registered font to use + **text**: Text to be rendered **texturew**: Width of the texture (extra text is not rendered) @@ -26,10 +31,12 @@ Builds texture part for a text line **Returns**: Texture string ### make\_multiline\_texture -**font\_lib.make\_multiline\_texture(text, texturew, textureh, maxlines, valign, color)** +**font\_lib.make\_multiline\_texture(font\_name, text, width, height, maxlines, valign, color)** Builds texture for a multiline colored text +**font\_name**: Font name of registered font to use + **text**: Text to be rendered **texturew**: Width of the texture (extra text will be truncated) @@ -38,10 +45,46 @@ Builds texture for a multiline colored text **maxlines**: Maximum number of lines -**valign**: Vertical text align ("top" or "center") +**valign**: Vertical text align ("top", "bottom" or "center") **color**: Color of the text **Returns**: Texture string +### register\_font +**font\_lib.register_font(font\_name, height, widths)** + +Registers a new font in font_lib. + +**font\_name**: Name of the font to register (this name will be used to address the font later) + +**height**: Height of the font in pixels (all font textures should have the same height) + +**widths** : An array containing the width of each font texture, indexed by its UTF code + +All textures corresponding to the indexes in **widths** array should be present in textures directory with a name matching the pattern : + +**font\_<font\_name>_<utf\_code>.png** + +<font\_name>: Name of the font as given in the first argument + +<utf\_code>: UTF code of the char in 4 hexadecimal digits + +To ease that declaration, a shell is provided to build a <font\_name>.lua file from the texture files (see provided tools). + +### set\_fallback\_font +**function font\_lib.set\_fallback\_font(font\_name)** + +Defines the fallback font to be used instead of given font if not registered. + +**font\_name**: Name of the font to be used as fallback font (has to be registered) + +## Provided tools + +### make_font_lua.sh + +Still in early stage of development. + +This script analyses textures in textures directory and creates a font\_<font\_name>.lua files with a call to register_font with images information. + diff --git a/font_lib/README.md b/font_lib/README.md index 67903a9..6b53a6b 100644 --- a/font_lib/README.md +++ b/font_lib/README.md @@ -6,9 +6,9 @@ This library for font display on entities (to be used with display_lib for sign **License**: LGPL -(Font taken from VanessaE's homedecor/signs_lib, originally under WTFPL) +(Default font taken from VanessaE's homedecor/signs_lib, originally under WTFPL) **API**: See [API.md](https://github.com/pyrollo/display_modpack/blob/master/font_lib/API.md) document please. -For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?f=11&t=13563) at the Minetest forums. +For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?t=13563) at the Minetest forums. diff --git a/font_lib/font_default.lua b/font_lib/font_default.lua new file mode 100644 index 0000000..fef847a --- /dev/null +++ b/font_lib/font_default.lua @@ -0,0 +1,12 @@ +--[[ + + generated by ./make_font_mod.sh Sun Dec 17 21:23:59 CET 2017 + +--]] + +font_lib.register_font( + 'default', + 12, + { [0]=6, [32]=4, [33]=3, [34]=4, [35]=7, [36]=6, [37]=8, [38]=8, [39]=3, [40]=4, [41]=4, [42]=4, [43]=7, [44]=3, [45]=5, [46]=3, [47]=5, [48]=6, [49]=4, [50]=6, [51]=6, [52]=7, [53]=6, [54]=6, [55]=6, [56]=6, [57]=6, [58]=3, [59]=3, [60]=5, [61]=6, [62]=5, [63]=6, [64]=11, [65]=8, [66]=7, [67]=8, [68]=7, [69]=6, [70]=6, [71]=8, [72]=7, [73]=3, [74]=6, [75]=8, [76]=6, [77]=10, [78]=8, [79]=8, [80]=7, [81]=8, [82]=7, [83]=7, [84]=7, [85]=7, [86]=8, [87]=11, [88]=8, [89]=9, [90]=7, [91]=4, [92]=5, [93]=4, [94]=5, [95]=7, [96]=3, [97]=7, [98]=6, [99]=5, [100]=6, [101]=6, [102]=5, [103]=6, [104]=6, [105]=3, [106]=3, [107]=7, [108]=3, [109]=9, [110]=6, [111]=6, [112]=6, [113]=6, [114]=5, [115]=6, [116]=4, [117]=6, [118]=6, [119]=8, [120]=7, [121]=6, [122]=6, [123]=5, [124]=3, [125]=5, [126]=6, [138]=6, [141]=3, [161]=3, [177]=6, [191]=6, [193]=8, [194]=8, [195]=8, [196]=8, [197]=8, [198]=10, [199]=8, [200]=6, [201]=6, [202]=6, [203]=6, [204]=3, [205]=3, [206]=3, [207]=3, [208]=8, [209]=8, [210]=8, [211]=8, [212]=8, [213]=8, [214]=8, [215]=6, [216]=8, [217]=7, [218]=7, [219]=7, [220]=7, [221]=9, [224]=7, [225]=7, [226]=7, [227]=7, [228]=7, [229]=7, [230]=9, [231]=5, [232]=6, [233]=6, [234]=6, [235]=6, [236]=3, [237]=3, [238]=3, [239]=3, [242]=6, [244]=6, [245]=6, [246]=6, [247]=6, [249]=6, [250]=6, [251]=6, [252]=6, [253]=6, [255]=6 } +); + diff --git a/font_lib/init.lua b/font_lib/init.lua index 9dd6908..c1cee07 100644 --- a/font_lib/init.lua +++ b/font_lib/init.lua @@ -21,26 +21,12 @@ font_lib = {} font_lib.path = minetest.get_modpath("font_lib") -font_lib.font_height = 12 -font_lib.font = {} +font_lib.registered_fonts = {} -- Local functions +------------------ -local function get_next_char(text, pos) - pos = pos + 1 - local char = text:sub(pos, pos):byte() - if char >= 0x80 then - if char == 0xc2 or char == 0xc3 then - pos = pos + 1 - char = (char - 0xc2) * 0x40 + text:sub(pos, pos):byte() - else - char = 0 - end - end - if font_lib.font[char] == nil then char=0 end - - return char, pos -end +-- Split multiline text into array of lines, with <maxlines> maximum lines. local function split_lines(text, maxlines) local splits = text:split("\n") @@ -55,49 +41,125 @@ local function split_lines(text, maxlines) end end --- Computes line width for a given font height and text +-- Returns next char, managing ascii and unicode plane 0 (0000-FFFF). + +local function get_next_char(text, pos) + pos = pos + 1 + local char = text:sub(pos, pos):byte() + + -- 4 bytes char not managed + if char >= 0xF0 then + pos = pos + 3 + return 0, pos + end + + -- 3 bytes char not managed + if char >= 0xE0 then + pos = pos + 2 + return 0, pos + end + + -- 2 bytes char (little endian) + if char >= 0x80 then + pos = pos + 1 + return char * 0x100 + text:sub(pos, pos):byte(), pos + end + + -- 1 byte char + return char, pos +end + +-- Returns font properties to be used according to font_name + +local function get_font(font_name) + local font = font_lib.registered_fonts[font_name] + + if font == nil then + local message + + if font_name == nil then + message = "No font given" + else + message = "Font \""..font_name.."\" unregistered" + end + + if font_lib.fallback_font == nil then + minetest.log("error", message.." and no other font registered.") + else + minetest.log("info", message..", using font \""..font_lib.fallback_font.."\".") + font = font_lib.registered_fonts[font_lib.fallback_font] + end + end + + return font +end + +-- API functions +---------------- + +-- Computes text size for a given font and text (ignores new lines) +-- @param font_name Font to be used -- @param text Text to be rendered --- @return Rendered text width +-- @return Rendered text (width, height) -function font_lib.get_line_width(text) +function font_lib.get_text_size(font_name, text) local char local width = 0 - local p=0 - - while p < #text do - char, p = get_next_char(text, p) - width = width + font_lib.font[char].width - end + local pos = 0 + local font = get_font(font_name) - return width + if font == nil then + return 0, 0 + else + while pos < #text do + char, pos = get_next_char(text, pos) + -- Ignore chars with no texture + if font.widths[char] ~= nil then + width = width + font.widths[char] + end + end + end + + return width, font.height end --- Builds texture part for a text line +-- @param font_name Font to be used -- @param text Text to be rendered --- @param texturew Width of the texture (extra text is not rendered) +-- @param width Width of the texture (extra text is not rendered) -- @param x Starting x position in texture -- @param y Vertical position of the line in texture -- @return Texture string -function font_lib.make_line_texture(text, texturew, x, y) - local char +--> ADD ALIGN +function font_lib.make_line_texture(font_name, text, width, x, y) local texture = "" - local p=0 - - while p < #text do - char, p = get_next_char(text, p) - - -- Add image only if it is visible (at least partly) - if x + font_lib.font[char].width >= 0 and x <= texturew then - texture = texture..string.format(":%d,%d=%s", x, y, font_lib.font[char].filename) - end - x = x + font_lib.font[char].width + local char + local pos = 0 + local font = get_font(font_name) + if font ~= nil then + while pos < #text do + char, pos = get_next_char(text, pos) + + -- Ignore chars with no texture + if font.widths[char] ~= nil then + -- Add image only if it is visible (at least partly) + if x + font.widths[char] >= 0 and x <= width then + texture = texture.. + string.format(":%d,%d=font_%s_%04x.png", + x, y, font.name, char) + end + x = x + font.widths[char] + end + end end + return texture end --- Builds texture for a multiline colored text +-- @param font_name Font to be used -- @param text Text to be rendered -- @param texturew Width of the texture (extra text will be truncated) -- @param textureh Height of the texture @@ -106,29 +168,78 @@ end -- @param color Color of the text -- @return Texture string -function font_lib.make_multiline_texture(text, texturew, textureh, maxlines, valign, color) +function font_lib.make_multiline_texture(font_name, text, width, height, + maxlines, valign, color) local texture = "" - local lines = split_lines(text, maxlines) - local y - - if valign == "top" then - y = font_lib.font_height / 2 - 1 - else - y = (textureh - font_lib.font_height * #lines) / 2 - end - + local lines = {} + local textheight = 0 + local y, w, h + + for num, line in pairs(split_lines(text, maxlines)) do + w, h = font_lib.get_text_size(font_name, line) + lines[num] = { text = line, width = w, height = h, } + textheight = textheight + h + end + + if #lines then + if valign == "top" then + y = 0 + elseif valign == "bottom" then + y = height - textheight + else + y = (height - textheight) / 2 + end + end + for _, line in pairs(lines) do - texture = texture..font_lib.make_line_texture(line, texturew, - (texturew - font_lib.get_line_width(line)) / 2, y) - y = y + font_lib.font_height + texture = texture.. + font_lib.make_line_texture(font_name, line.text, width, + (width - line.width) / 2, y) + y = y + line.height end - texture = string.format("[combine:%dx%d", texturew, textureh)..texture + texture = string.format("[combine:%dx%d", width, height)..texture if color then texture = texture.."^[colorize:"..color end return texture end +--- Register a new font +-- Textures corresponding to the font should be named after following patern : +-- font_<name>_<code>.png +-- <name> : name of the font +-- <code> : 4 digit hexadecimal unicode of the char +-- If registering different sizes, add size in the font name (e.g. times_10, times_12...) +-- @param height Font height in pixels +-- @param widths Array of character widths in pixel, indexed by unicode number. + +function font_lib.register_font(font_name, height, widths) + if font_lib.registered_fonts[font_name] ~= nil then + minetest.log("error", "Font \""..font_name.."\" already registered.") + return + end + + font_lib.registered_fonts[font_name] = + { name = font_name, height = height, widths = widths } + + -- If no fallback font, set it (so, first font registered will be the default fallback font) + if font_lib.fallback_font == nil then + font_lib.fallback_font = font_name + end +end + +--- Define the fallback font +-- This font will be used instead of given font if not registered. +-- @param font_name Name of the font to be used as fallback font (has to be registered). + +function font_lib.set_fallback_font(font_name) + if font_lib.registered_fonts[font_name] == nil then + minetest.log("error", "Fallback font \""..font_name.."\" not registered.") + else + font_lib.fallback_font = font_name + end +end + --- Standard on_display_update entity callback. -- Node should have a corresponding display_entity with size, resolution and maxlines fields and -- optionally valign and color fields @@ -141,31 +252,17 @@ function font_lib.on_display_update(pos, objref) local ndef = minetest.registered_nodes[minetest.get_node(pos).name] local entity = objref:get_luaentity() - if entity and ndef.display_entities[entity.name] then + if entity and ndef.display_entities[entity.name] then local def = ndef.display_entities[entity.name] objref:set_properties({ textures={font_lib.make_multiline_texture( - text, def.size.x*def.resolution.x, def.size.y*def.resolution.y, + def.font_name, text, def.size.x*def.resolution.x, def.size.y*def.resolution.y, def.maxlines, def.valign, def.color)}, visual_size = def.size }) end end --- Populate fonts table - -local filename -for char = 0,255 do - filename = string.format("font_lib_%02x.png", char) - local file=io.open(font_lib.path.."/textures/"..filename,"rb") - if file~=nil then - -- Get png width, suposing png width is less than 256 (it is the case for all font textures) - -- All font png are smaller than 256x256 --> read only last byte - file:seek("set",19) - local w = file:read(1) - file:close() - font_lib.font[char] = {filename=filename, width=w:byte()} - end -end +dofile(font_lib.path.."/font_default.lua") diff --git a/font_lib/textures/font_lib_00.png b/font_lib/textures/font_default_0000.png Binary files differindex 65e43a7..65e43a7 100644 --- a/font_lib/textures/font_lib_00.png +++ b/font_lib/textures/font_default_0000.png diff --git a/font_lib/textures/font_lib_20.png b/font_lib/textures/font_default_0020.png Binary files differindex 049fd14..049fd14 100644 --- a/font_lib/textures/font_lib_20.png +++ b/font_lib/textures/font_default_0020.png diff --git a/font_lib/textures/font_lib_21.png b/font_lib/textures/font_default_0021.png Binary files differindex 7691a14..7691a14 100644 --- a/font_lib/textures/font_lib_21.png +++ b/font_lib/textures/font_default_0021.png diff --git a/font_lib/textures/font_lib_22.png b/font_lib/textures/font_default_0022.png Binary files differindex 91f4c5f..91f4c5f 100644 --- a/font_lib/textures/font_lib_22.png +++ b/font_lib/textures/font_default_0022.png diff --git a/font_lib/textures/font_lib_23.png b/font_lib/textures/font_default_0023.png Binary files differindex 9290dc1..9290dc1 100644 --- a/font_lib/textures/font_lib_23.png +++ b/font_lib/textures/font_default_0023.png diff --git a/font_lib/textures/font_lib_24.png b/font_lib/textures/font_default_0024.png Binary files differindex cde69d4..cde69d4 100644 --- a/font_lib/textures/font_lib_24.png +++ b/font_lib/textures/font_default_0024.png diff --git a/font_lib/textures/font_lib_25.png b/font_lib/textures/font_default_0025.png Binary files differindex 703ab16..703ab16 100644 --- a/font_lib/textures/font_lib_25.png +++ b/font_lib/textures/font_default_0025.png diff --git a/font_lib/textures/font_lib_26.png b/font_lib/textures/font_default_0026.png Binary files differindex 6f98d49..6f98d49 100644 --- a/font_lib/textures/font_lib_26.png +++ b/font_lib/textures/font_default_0026.png diff --git a/font_lib/textures/font_lib_27.png b/font_lib/textures/font_default_0027.png Binary files differindex df31d75..df31d75 100644 --- a/font_lib/textures/font_lib_27.png +++ b/font_lib/textures/font_default_0027.png diff --git a/font_lib/textures/font_lib_28.png b/font_lib/textures/font_default_0028.png Binary files differindex 478c2c4..478c2c4 100644 --- a/font_lib/textures/font_lib_28.png +++ b/font_lib/textures/font_default_0028.png diff --git a/font_lib/textures/font_lib_29.png b/font_lib/textures/font_default_0029.png Binary files differindex 8973488..8973488 100644 --- a/font_lib/textures/font_lib_29.png +++ b/font_lib/textures/font_default_0029.png diff --git a/font_lib/textures/font_lib_2a.png b/font_lib/textures/font_default_002a.png Binary files differindex 2b83a5c..2b83a5c 100644 --- a/font_lib/textures/font_lib_2a.png +++ b/font_lib/textures/font_default_002a.png diff --git a/font_lib/textures/font_lib_2b.png b/font_lib/textures/font_default_002b.png Binary files differindex abce910..abce910 100644 --- a/font_lib/textures/font_lib_2b.png +++ b/font_lib/textures/font_default_002b.png diff --git a/font_lib/textures/font_lib_2c.png b/font_lib/textures/font_default_002c.png Binary files differindex 8a624c7..8a624c7 100644 --- a/font_lib/textures/font_lib_2c.png +++ b/font_lib/textures/font_default_002c.png diff --git a/font_lib/textures/font_lib_2d.png b/font_lib/textures/font_default_002d.png Binary files differindex f0ff962..f0ff962 100644 --- a/font_lib/textures/font_lib_2d.png +++ b/font_lib/textures/font_default_002d.png diff --git a/font_lib/textures/font_lib_2e.png b/font_lib/textures/font_default_002e.png Binary files differindex aff49bc..aff49bc 100644 --- a/font_lib/textures/font_lib_2e.png +++ b/font_lib/textures/font_default_002e.png diff --git a/font_lib/textures/font_lib_2f.png b/font_lib/textures/font_default_002f.png Binary files differindex 4667bf7..4667bf7 100644 --- a/font_lib/textures/font_lib_2f.png +++ b/font_lib/textures/font_default_002f.png diff --git a/font_lib/textures/font_lib_30.png b/font_lib/textures/font_default_0030.png Binary files differindex 470f0b0..470f0b0 100644 --- a/font_lib/textures/font_lib_30.png +++ b/font_lib/textures/font_default_0030.png diff --git a/font_lib/textures/font_lib_31.png b/font_lib/textures/font_default_0031.png Binary files differindex e84a9d3..e84a9d3 100644 --- a/font_lib/textures/font_lib_31.png +++ b/font_lib/textures/font_default_0031.png diff --git a/font_lib/textures/font_lib_32.png b/font_lib/textures/font_default_0032.png Binary files differindex 1ef3e84..1ef3e84 100644 --- a/font_lib/textures/font_lib_32.png +++ b/font_lib/textures/font_default_0032.png diff --git a/font_lib/textures/font_lib_33.png b/font_lib/textures/font_default_0033.png Binary files differindex ec9f518..ec9f518 100644 --- a/font_lib/textures/font_lib_33.png +++ b/font_lib/textures/font_default_0033.png diff --git a/font_lib/textures/font_lib_34.png b/font_lib/textures/font_default_0034.png Binary files differindex bc82823..bc82823 100644 --- a/font_lib/textures/font_lib_34.png +++ b/font_lib/textures/font_default_0034.png diff --git a/font_lib/textures/font_lib_35.png b/font_lib/textures/font_default_0035.png Binary files differindex 3ed26c5..3ed26c5 100644 --- a/font_lib/textures/font_lib_35.png +++ b/font_lib/textures/font_default_0035.png diff --git a/font_lib/textures/font_lib_36.png b/font_lib/textures/font_default_0036.png Binary files differindex 6e706a4..6e706a4 100644 --- a/font_lib/textures/font_lib_36.png +++ b/font_lib/textures/font_default_0036.png diff --git a/font_lib/textures/font_lib_37.png b/font_lib/textures/font_default_0037.png Binary files differindex 884b48a..884b48a 100644 --- a/font_lib/textures/font_lib_37.png +++ b/font_lib/textures/font_default_0037.png diff --git a/font_lib/textures/font_lib_38.png b/font_lib/textures/font_default_0038.png Binary files differindex a1e05bf..a1e05bf 100644 --- a/font_lib/textures/font_lib_38.png +++ b/font_lib/textures/font_default_0038.png diff --git a/font_lib/textures/font_lib_39.png b/font_lib/textures/font_default_0039.png Binary files differindex 6443be9..6443be9 100644 --- a/font_lib/textures/font_lib_39.png +++ b/font_lib/textures/font_default_0039.png diff --git a/font_lib/textures/font_lib_3a.png b/font_lib/textures/font_default_003a.png Binary files differindex 752e9de..752e9de 100644 --- a/font_lib/textures/font_lib_3a.png +++ b/font_lib/textures/font_default_003a.png diff --git a/font_lib/textures/font_lib_3b.png b/font_lib/textures/font_default_003b.png Binary files differindex 77878e8..77878e8 100644 --- a/font_lib/textures/font_lib_3b.png +++ b/font_lib/textures/font_default_003b.png diff --git a/font_lib/textures/font_lib_3c.png b/font_lib/textures/font_default_003c.png Binary files differindex 0252ab9..0252ab9 100644 --- a/font_lib/textures/font_lib_3c.png +++ b/font_lib/textures/font_default_003c.png diff --git a/font_lib/textures/font_lib_3d.png b/font_lib/textures/font_default_003d.png Binary files differindex af0325a..af0325a 100644 --- a/font_lib/textures/font_lib_3d.png +++ b/font_lib/textures/font_default_003d.png diff --git a/font_lib/textures/font_lib_3e.png b/font_lib/textures/font_default_003e.png Binary files differindex 77fe954..77fe954 100644 --- a/font_lib/textures/font_lib_3e.png +++ b/font_lib/textures/font_default_003e.png diff --git a/font_lib/textures/font_lib_3f.png b/font_lib/textures/font_default_003f.png Binary files differindex e94177c..e94177c 100644 --- a/font_lib/textures/font_lib_3f.png +++ b/font_lib/textures/font_default_003f.png diff --git a/font_lib/textures/font_lib_40.png b/font_lib/textures/font_default_0040.png Binary files differindex c7a11d2..c7a11d2 100644 --- a/font_lib/textures/font_lib_40.png +++ b/font_lib/textures/font_default_0040.png diff --git a/font_lib/textures/font_lib_41.png b/font_lib/textures/font_default_0041.png Binary files differindex 5917cc0..5917cc0 100644 --- a/font_lib/textures/font_lib_41.png +++ b/font_lib/textures/font_default_0041.png diff --git a/font_lib/textures/font_lib_42.png b/font_lib/textures/font_default_0042.png Binary files differindex 69a92b3..69a92b3 100644 --- a/font_lib/textures/font_lib_42.png +++ b/font_lib/textures/font_default_0042.png diff --git a/font_lib/textures/font_lib_43.png b/font_lib/textures/font_default_0043.png Binary files differindex 6f68703..6f68703 100644 --- a/font_lib/textures/font_lib_43.png +++ b/font_lib/textures/font_default_0043.png diff --git a/font_lib/textures/font_lib_44.png b/font_lib/textures/font_default_0044.png Binary files differindex 94c0a30..94c0a30 100644 --- a/font_lib/textures/font_lib_44.png +++ b/font_lib/textures/font_default_0044.png diff --git a/font_lib/textures/font_lib_45.png b/font_lib/textures/font_default_0045.png Binary files differindex b6732c3..b6732c3 100644 --- a/font_lib/textures/font_lib_45.png +++ b/font_lib/textures/font_default_0045.png diff --git a/font_lib/textures/font_lib_46.png b/font_lib/textures/font_default_0046.png Binary files differindex 992bdc1..992bdc1 100644 --- a/font_lib/textures/font_lib_46.png +++ b/font_lib/textures/font_default_0046.png diff --git a/font_lib/textures/font_lib_47.png b/font_lib/textures/font_default_0047.png Binary files differindex 12340e7..12340e7 100644 --- a/font_lib/textures/font_lib_47.png +++ b/font_lib/textures/font_default_0047.png diff --git a/font_lib/textures/font_lib_48.png b/font_lib/textures/font_default_0048.png Binary files differindex f315c03..f315c03 100644 --- a/font_lib/textures/font_lib_48.png +++ b/font_lib/textures/font_default_0048.png diff --git a/font_lib/textures/font_lib_49.png b/font_lib/textures/font_default_0049.png Binary files differindex 53ef0bc..53ef0bc 100644 --- a/font_lib/textures/font_lib_49.png +++ b/font_lib/textures/font_default_0049.png diff --git a/font_lib/textures/font_lib_4a.png b/font_lib/textures/font_default_004a.png Binary files differindex 32cd569..32cd569 100644 --- a/font_lib/textures/font_lib_4a.png +++ b/font_lib/textures/font_default_004a.png diff --git a/font_lib/textures/font_lib_4b.png b/font_lib/textures/font_default_004b.png Binary files differindex 1f770e7..1f770e7 100644 --- a/font_lib/textures/font_lib_4b.png +++ b/font_lib/textures/font_default_004b.png diff --git a/font_lib/textures/font_lib_4c.png b/font_lib/textures/font_default_004c.png Binary files differindex 313ecfe..313ecfe 100644 --- a/font_lib/textures/font_lib_4c.png +++ b/font_lib/textures/font_default_004c.png diff --git a/font_lib/textures/font_lib_4d.png b/font_lib/textures/font_default_004d.png Binary files differindex f6676fb..f6676fb 100644 --- a/font_lib/textures/font_lib_4d.png +++ b/font_lib/textures/font_default_004d.png diff --git a/font_lib/textures/font_lib_4e.png b/font_lib/textures/font_default_004e.png Binary files differindex 4e28110..4e28110 100644 --- a/font_lib/textures/font_lib_4e.png +++ b/font_lib/textures/font_default_004e.png diff --git a/font_lib/textures/font_lib_4f.png b/font_lib/textures/font_default_004f.png Binary files differindex 1b27777..1b27777 100644 --- a/font_lib/textures/font_lib_4f.png +++ b/font_lib/textures/font_default_004f.png diff --git a/font_lib/textures/font_lib_50.png b/font_lib/textures/font_default_0050.png Binary files differindex ddfff40..ddfff40 100644 --- a/font_lib/textures/font_lib_50.png +++ b/font_lib/textures/font_default_0050.png diff --git a/font_lib/textures/font_lib_51.png b/font_lib/textures/font_default_0051.png Binary files differindex c3df8ec..c3df8ec 100644 --- a/font_lib/textures/font_lib_51.png +++ b/font_lib/textures/font_default_0051.png diff --git a/font_lib/textures/font_lib_52.png b/font_lib/textures/font_default_0052.png Binary files differindex f93ff7c..f93ff7c 100644 --- a/font_lib/textures/font_lib_52.png +++ b/font_lib/textures/font_default_0052.png diff --git a/font_lib/textures/font_lib_53.png b/font_lib/textures/font_default_0053.png Binary files differindex 389a62b..389a62b 100644 --- a/font_lib/textures/font_lib_53.png +++ b/font_lib/textures/font_default_0053.png diff --git a/font_lib/textures/font_lib_54.png b/font_lib/textures/font_default_0054.png Binary files differindex 11ec544..11ec544 100644 --- a/font_lib/textures/font_lib_54.png +++ b/font_lib/textures/font_default_0054.png diff --git a/font_lib/textures/font_lib_55.png b/font_lib/textures/font_default_0055.png Binary files differindex 5d15704..5d15704 100644 --- a/font_lib/textures/font_lib_55.png +++ b/font_lib/textures/font_default_0055.png diff --git a/font_lib/textures/font_lib_56.png b/font_lib/textures/font_default_0056.png Binary files differindex 3e6f48a..3e6f48a 100644 --- a/font_lib/textures/font_lib_56.png +++ b/font_lib/textures/font_default_0056.png diff --git a/font_lib/textures/font_lib_57.png b/font_lib/textures/font_default_0057.png Binary files differindex cc140d0..cc140d0 100644 --- a/font_lib/textures/font_lib_57.png +++ b/font_lib/textures/font_default_0057.png diff --git a/font_lib/textures/font_lib_58.png b/font_lib/textures/font_default_0058.png Binary files differindex fe71fb9..fe71fb9 100644 --- a/font_lib/textures/font_lib_58.png +++ b/font_lib/textures/font_default_0058.png diff --git a/font_lib/textures/font_lib_59.png b/font_lib/textures/font_default_0059.png Binary files differindex 1d1db03..1d1db03 100644 --- a/font_lib/textures/font_lib_59.png +++ b/font_lib/textures/font_default_0059.png diff --git a/font_lib/textures/font_lib_5a.png b/font_lib/textures/font_default_005a.png Binary files differindex e89b0eb..e89b0eb 100644 --- a/font_lib/textures/font_lib_5a.png +++ b/font_lib/textures/font_default_005a.png diff --git a/font_lib/textures/font_lib_5b.png b/font_lib/textures/font_default_005b.png Binary files differindex e547c51..e547c51 100644 --- a/font_lib/textures/font_lib_5b.png +++ b/font_lib/textures/font_default_005b.png diff --git a/font_lib/textures/font_lib_5c.png b/font_lib/textures/font_default_005c.png Binary files differindex 35fc222..35fc222 100644 --- a/font_lib/textures/font_lib_5c.png +++ b/font_lib/textures/font_default_005c.png diff --git a/font_lib/textures/font_lib_5d.png b/font_lib/textures/font_default_005d.png Binary files differindex 040ebe0..040ebe0 100644 --- a/font_lib/textures/font_lib_5d.png +++ b/font_lib/textures/font_default_005d.png diff --git a/font_lib/textures/font_lib_5e.png b/font_lib/textures/font_default_005e.png Binary files differindex be3bbb1..be3bbb1 100644 --- a/font_lib/textures/font_lib_5e.png +++ b/font_lib/textures/font_default_005e.png diff --git a/font_lib/textures/font_lib_5f.png b/font_lib/textures/font_default_005f.png Binary files differindex 3cc8d3d..3cc8d3d 100644 --- a/font_lib/textures/font_lib_5f.png +++ b/font_lib/textures/font_default_005f.png diff --git a/font_lib/textures/font_lib_60.png b/font_lib/textures/font_default_0060.png Binary files differindex 58500d2..58500d2 100644 --- a/font_lib/textures/font_lib_60.png +++ b/font_lib/textures/font_default_0060.png diff --git a/font_lib/textures/font_lib_61.png b/font_lib/textures/font_default_0061.png Binary files differindex 2121aa8..2121aa8 100644 --- a/font_lib/textures/font_lib_61.png +++ b/font_lib/textures/font_default_0061.png diff --git a/font_lib/textures/font_lib_62.png b/font_lib/textures/font_default_0062.png Binary files differindex ba3feeb..ba3feeb 100644 --- a/font_lib/textures/font_lib_62.png +++ b/font_lib/textures/font_default_0062.png diff --git a/font_lib/textures/font_lib_63.png b/font_lib/textures/font_default_0063.png Binary files differindex cee372c..cee372c 100644 --- a/font_lib/textures/font_lib_63.png +++ b/font_lib/textures/font_default_0063.png diff --git a/font_lib/textures/font_lib_64.png b/font_lib/textures/font_default_0064.png Binary files differindex c5989c1..c5989c1 100644 --- a/font_lib/textures/font_lib_64.png +++ b/font_lib/textures/font_default_0064.png diff --git a/font_lib/textures/font_lib_65.png b/font_lib/textures/font_default_0065.png Binary files differindex 7cd370a..7cd370a 100644 --- a/font_lib/textures/font_lib_65.png +++ b/font_lib/textures/font_default_0065.png diff --git a/font_lib/textures/font_lib_66.png b/font_lib/textures/font_default_0066.png Binary files differindex a63276c..a63276c 100644 --- a/font_lib/textures/font_lib_66.png +++ b/font_lib/textures/font_default_0066.png diff --git a/font_lib/textures/font_lib_67.png b/font_lib/textures/font_default_0067.png Binary files differindex baf3e88..baf3e88 100644 --- a/font_lib/textures/font_lib_67.png +++ b/font_lib/textures/font_default_0067.png diff --git a/font_lib/textures/font_lib_68.png b/font_lib/textures/font_default_0068.png Binary files differindex 1c9e9b4..1c9e9b4 100644 --- a/font_lib/textures/font_lib_68.png +++ b/font_lib/textures/font_default_0068.png diff --git a/font_lib/textures/font_lib_69.png b/font_lib/textures/font_default_0069.png Binary files differindex 785cdb5..785cdb5 100644 --- a/font_lib/textures/font_lib_69.png +++ b/font_lib/textures/font_default_0069.png diff --git a/font_lib/textures/font_lib_6a.png b/font_lib/textures/font_default_006a.png Binary files differindex a7abd8e..a7abd8e 100644 --- a/font_lib/textures/font_lib_6a.png +++ b/font_lib/textures/font_default_006a.png diff --git a/font_lib/textures/font_lib_6b.png b/font_lib/textures/font_default_006b.png Binary files differindex ff5f32a..ff5f32a 100644 --- a/font_lib/textures/font_lib_6b.png +++ b/font_lib/textures/font_default_006b.png diff --git a/font_lib/textures/font_lib_6c.png b/font_lib/textures/font_default_006c.png Binary files differindex 53ef0bc..53ef0bc 100644 --- a/font_lib/textures/font_lib_6c.png +++ b/font_lib/textures/font_default_006c.png diff --git a/font_lib/textures/font_lib_6d.png b/font_lib/textures/font_default_006d.png Binary files differindex 351aeef..351aeef 100644 --- a/font_lib/textures/font_lib_6d.png +++ b/font_lib/textures/font_default_006d.png diff --git a/font_lib/textures/font_lib_6e.png b/font_lib/textures/font_default_006e.png Binary files differindex 60e089d..60e089d 100644 --- a/font_lib/textures/font_lib_6e.png +++ b/font_lib/textures/font_default_006e.png diff --git a/font_lib/textures/font_lib_6f.png b/font_lib/textures/font_default_006f.png Binary files differindex dd48b6c..dd48b6c 100644 --- a/font_lib/textures/font_lib_6f.png +++ b/font_lib/textures/font_default_006f.png diff --git a/font_lib/textures/font_lib_70.png b/font_lib/textures/font_default_0070.png Binary files differindex 0fdb26f..0fdb26f 100644 --- a/font_lib/textures/font_lib_70.png +++ b/font_lib/textures/font_default_0070.png diff --git a/font_lib/textures/font_lib_71.png b/font_lib/textures/font_default_0071.png Binary files differindex 787418e..787418e 100644 --- a/font_lib/textures/font_lib_71.png +++ b/font_lib/textures/font_default_0071.png diff --git a/font_lib/textures/font_lib_72.png b/font_lib/textures/font_default_0072.png Binary files differindex 7d2bf4c..7d2bf4c 100644 --- a/font_lib/textures/font_lib_72.png +++ b/font_lib/textures/font_default_0072.png diff --git a/font_lib/textures/font_lib_73.png b/font_lib/textures/font_default_0073.png Binary files differindex b2b2ed2..b2b2ed2 100644 --- a/font_lib/textures/font_lib_73.png +++ b/font_lib/textures/font_default_0073.png diff --git a/font_lib/textures/font_lib_74.png b/font_lib/textures/font_default_0074.png Binary files differindex dcdbd37..dcdbd37 100644 --- a/font_lib/textures/font_lib_74.png +++ b/font_lib/textures/font_default_0074.png diff --git a/font_lib/textures/font_lib_75.png b/font_lib/textures/font_default_0075.png Binary files differindex 5ef59c7..5ef59c7 100644 --- a/font_lib/textures/font_lib_75.png +++ b/font_lib/textures/font_default_0075.png diff --git a/font_lib/textures/font_lib_76.png b/font_lib/textures/font_default_0076.png Binary files differindex 710703f..710703f 100644 --- a/font_lib/textures/font_lib_76.png +++ b/font_lib/textures/font_default_0076.png diff --git a/font_lib/textures/font_lib_77.png b/font_lib/textures/font_default_0077.png Binary files differindex 373ecb0..373ecb0 100644 --- a/font_lib/textures/font_lib_77.png +++ b/font_lib/textures/font_default_0077.png diff --git a/font_lib/textures/font_lib_78.png b/font_lib/textures/font_default_0078.png Binary files differindex 23541ff..23541ff 100644 --- a/font_lib/textures/font_lib_78.png +++ b/font_lib/textures/font_default_0078.png diff --git a/font_lib/textures/font_lib_79.png b/font_lib/textures/font_default_0079.png Binary files differindex e3fddb2..e3fddb2 100644 --- a/font_lib/textures/font_lib_79.png +++ b/font_lib/textures/font_default_0079.png diff --git a/font_lib/textures/font_lib_7a.png b/font_lib/textures/font_default_007a.png Binary files differindex 2a92823..2a92823 100644 --- a/font_lib/textures/font_lib_7a.png +++ b/font_lib/textures/font_default_007a.png diff --git a/font_lib/textures/font_lib_7b.png b/font_lib/textures/font_default_007b.png Binary files differindex 7606697..7606697 100644 --- a/font_lib/textures/font_lib_7b.png +++ b/font_lib/textures/font_default_007b.png diff --git a/font_lib/textures/font_lib_7c.png b/font_lib/textures/font_default_007c.png Binary files differindex 777f1e4..777f1e4 100644 --- a/font_lib/textures/font_lib_7c.png +++ b/font_lib/textures/font_default_007c.png diff --git a/font_lib/textures/font_lib_7d.png b/font_lib/textures/font_default_007d.png Binary files differindex b9ee397..b9ee397 100644 --- a/font_lib/textures/font_lib_7d.png +++ b/font_lib/textures/font_default_007d.png diff --git a/font_lib/textures/font_lib_7e.png b/font_lib/textures/font_default_007e.png Binary files differindex 759b56e..759b56e 100644 --- a/font_lib/textures/font_lib_7e.png +++ b/font_lib/textures/font_default_007e.png diff --git a/font_lib/textures/font_lib_8a.png b/font_lib/textures/font_default_008a.png Binary files differindex e4f3236..e4f3236 100644 --- a/font_lib/textures/font_lib_8a.png +++ b/font_lib/textures/font_default_008a.png diff --git a/font_lib/textures/font_lib_8d.png b/font_lib/textures/font_default_008d.png Binary files differindex fcc3b38..fcc3b38 100644 --- a/font_lib/textures/font_lib_8d.png +++ b/font_lib/textures/font_default_008d.png diff --git a/font_lib/textures/font_lib_a1.png b/font_lib/textures/font_default_00a1.png Binary files differindex df91ae3..df91ae3 100644 --- a/font_lib/textures/font_lib_a1.png +++ b/font_lib/textures/font_default_00a1.png diff --git a/font_lib/textures/font_lib_b1.png b/font_lib/textures/font_default_00b1.png Binary files differindex 2413844..2413844 100644 --- a/font_lib/textures/font_lib_b1.png +++ b/font_lib/textures/font_default_00b1.png diff --git a/font_lib/textures/font_lib_bf.png b/font_lib/textures/font_default_00bf.png Binary files differindex fec3deb..fec3deb 100644 --- a/font_lib/textures/font_lib_bf.png +++ b/font_lib/textures/font_default_00bf.png diff --git a/font_lib/textures/font_lib_c1.png b/font_lib/textures/font_default_00c1.png Binary files differindex f2d7464..f2d7464 100644 --- a/font_lib/textures/font_lib_c1.png +++ b/font_lib/textures/font_default_00c1.png diff --git a/font_lib/textures/font_lib_c2.png b/font_lib/textures/font_default_00c2.png Binary files differindex c759ac9..c759ac9 100644 --- a/font_lib/textures/font_lib_c2.png +++ b/font_lib/textures/font_default_00c2.png diff --git a/font_lib/textures/font_lib_c3.png b/font_lib/textures/font_default_00c3.png Binary files differindex 6239ee6..6239ee6 100644 --- a/font_lib/textures/font_lib_c3.png +++ b/font_lib/textures/font_default_00c3.png diff --git a/font_lib/textures/font_lib_c4.png b/font_lib/textures/font_default_00c4.png Binary files differindex 1178423..1178423 100644 --- a/font_lib/textures/font_lib_c4.png +++ b/font_lib/textures/font_default_00c4.png diff --git a/font_lib/textures/font_lib_c5.png b/font_lib/textures/font_default_00c5.png Binary files differindex 64e5efc..64e5efc 100644 --- a/font_lib/textures/font_lib_c5.png +++ b/font_lib/textures/font_default_00c5.png diff --git a/font_lib/textures/font_lib_c6.png b/font_lib/textures/font_default_00c6.png Binary files differindex 7eaf588..7eaf588 100644 --- a/font_lib/textures/font_lib_c6.png +++ b/font_lib/textures/font_default_00c6.png diff --git a/font_lib/textures/font_lib_c7.png b/font_lib/textures/font_default_00c7.png Binary files differindex 247fbc4..247fbc4 100644 --- a/font_lib/textures/font_lib_c7.png +++ b/font_lib/textures/font_default_00c7.png diff --git a/font_lib/textures/font_lib_c8.png b/font_lib/textures/font_default_00c8.png Binary files differindex 517b63d..517b63d 100644 --- a/font_lib/textures/font_lib_c8.png +++ b/font_lib/textures/font_default_00c8.png diff --git a/font_lib/textures/font_lib_c9.png b/font_lib/textures/font_default_00c9.png Binary files differindex cd4f8d8..cd4f8d8 100644 --- a/font_lib/textures/font_lib_c9.png +++ b/font_lib/textures/font_default_00c9.png diff --git a/font_lib/textures/font_lib_ca.png b/font_lib/textures/font_default_00ca.png Binary files differindex 39aa1aa..39aa1aa 100644 --- a/font_lib/textures/font_lib_ca.png +++ b/font_lib/textures/font_default_00ca.png diff --git a/font_lib/textures/font_lib_cb.png b/font_lib/textures/font_default_00cb.png Binary files differindex 7058b5a..7058b5a 100644 --- a/font_lib/textures/font_lib_cb.png +++ b/font_lib/textures/font_default_00cb.png diff --git a/font_lib/textures/font_lib_cc.png b/font_lib/textures/font_default_00cc.png Binary files differindex a382d73..a382d73 100644 --- a/font_lib/textures/font_lib_cc.png +++ b/font_lib/textures/font_default_00cc.png diff --git a/font_lib/textures/font_lib_cd.png b/font_lib/textures/font_default_00cd.png Binary files differindex 86339a1..86339a1 100644 --- a/font_lib/textures/font_lib_cd.png +++ b/font_lib/textures/font_default_00cd.png diff --git a/font_lib/textures/font_lib_ce.png b/font_lib/textures/font_default_00ce.png Binary files differindex 78583df..78583df 100644 --- a/font_lib/textures/font_lib_ce.png +++ b/font_lib/textures/font_default_00ce.png diff --git a/font_lib/textures/font_lib_cf.png b/font_lib/textures/font_default_00cf.png Binary files differindex b680e2e..b680e2e 100644 --- a/font_lib/textures/font_lib_cf.png +++ b/font_lib/textures/font_default_00cf.png diff --git a/font_lib/textures/font_lib_d0.png b/font_lib/textures/font_default_00d0.png Binary files differindex 50db9f9..50db9f9 100644 --- a/font_lib/textures/font_lib_d0.png +++ b/font_lib/textures/font_default_00d0.png diff --git a/font_lib/textures/font_lib_d1.png b/font_lib/textures/font_default_00d1.png Binary files differindex 912524f..912524f 100644 --- a/font_lib/textures/font_lib_d1.png +++ b/font_lib/textures/font_default_00d1.png diff --git a/font_lib/textures/font_lib_d2.png b/font_lib/textures/font_default_00d2.png Binary files differindex d7e635f..d7e635f 100644 --- a/font_lib/textures/font_lib_d2.png +++ b/font_lib/textures/font_default_00d2.png diff --git a/font_lib/textures/font_lib_d3.png b/font_lib/textures/font_default_00d3.png Binary files differindex 27ae016..27ae016 100644 --- a/font_lib/textures/font_lib_d3.png +++ b/font_lib/textures/font_default_00d3.png diff --git a/font_lib/textures/font_lib_d4.png b/font_lib/textures/font_default_00d4.png Binary files differindex a62a3ed..a62a3ed 100644 --- a/font_lib/textures/font_lib_d4.png +++ b/font_lib/textures/font_default_00d4.png diff --git a/font_lib/textures/font_lib_d5.png b/font_lib/textures/font_default_00d5.png Binary files differindex 3740df7..3740df7 100644 --- a/font_lib/textures/font_lib_d5.png +++ b/font_lib/textures/font_default_00d5.png diff --git a/font_lib/textures/font_lib_d6.png b/font_lib/textures/font_default_00d6.png Binary files differindex 9b3cd62..9b3cd62 100644 --- a/font_lib/textures/font_lib_d6.png +++ b/font_lib/textures/font_default_00d6.png diff --git a/font_lib/textures/font_lib_d7.png b/font_lib/textures/font_default_00d7.png Binary files differindex a92ac66..a92ac66 100644 --- a/font_lib/textures/font_lib_d7.png +++ b/font_lib/textures/font_default_00d7.png diff --git a/font_lib/textures/font_lib_d8.png b/font_lib/textures/font_default_00d8.png Binary files differindex 0453191..0453191 100644 --- a/font_lib/textures/font_lib_d8.png +++ b/font_lib/textures/font_default_00d8.png diff --git a/font_lib/textures/font_lib_d9.png b/font_lib/textures/font_default_00d9.png Binary files differindex 607ac14..607ac14 100644 --- a/font_lib/textures/font_lib_d9.png +++ b/font_lib/textures/font_default_00d9.png diff --git a/font_lib/textures/font_lib_da.png b/font_lib/textures/font_default_00da.png Binary files differindex 91e5781..91e5781 100644 --- a/font_lib/textures/font_lib_da.png +++ b/font_lib/textures/font_default_00da.png diff --git a/font_lib/textures/font_lib_db.png b/font_lib/textures/font_default_00db.png Binary files differindex f63177d..f63177d 100644 --- a/font_lib/textures/font_lib_db.png +++ b/font_lib/textures/font_default_00db.png diff --git a/font_lib/textures/font_lib_dc.png b/font_lib/textures/font_default_00dc.png Binary files differindex eeaa7c6..eeaa7c6 100644 --- a/font_lib/textures/font_lib_dc.png +++ b/font_lib/textures/font_default_00dc.png diff --git a/font_lib/textures/font_lib_dd.png b/font_lib/textures/font_default_00dd.png Binary files differindex f194136..f194136 100644 --- a/font_lib/textures/font_lib_dd.png +++ b/font_lib/textures/font_default_00dd.png diff --git a/font_lib/textures/font_lib_e0.png b/font_lib/textures/font_default_00e0.png Binary files differindex b9779fe..b9779fe 100644 --- a/font_lib/textures/font_lib_e0.png +++ b/font_lib/textures/font_default_00e0.png diff --git a/font_lib/textures/font_lib_e1.png b/font_lib/textures/font_default_00e1.png Binary files differindex aeaeaf5..aeaeaf5 100644 --- a/font_lib/textures/font_lib_e1.png +++ b/font_lib/textures/font_default_00e1.png diff --git a/font_lib/textures/font_lib_e2.png b/font_lib/textures/font_default_00e2.png Binary files differindex 8ca07ed..8ca07ed 100644 --- a/font_lib/textures/font_lib_e2.png +++ b/font_lib/textures/font_default_00e2.png diff --git a/font_lib/textures/font_lib_e3.png b/font_lib/textures/font_default_00e3.png Binary files differindex e2f00bb..e2f00bb 100644 --- a/font_lib/textures/font_lib_e3.png +++ b/font_lib/textures/font_default_00e3.png diff --git a/font_lib/textures/font_lib_e4.png b/font_lib/textures/font_default_00e4.png Binary files differindex 6bcf6fb..6bcf6fb 100644 --- a/font_lib/textures/font_lib_e4.png +++ b/font_lib/textures/font_default_00e4.png diff --git a/font_lib/textures/font_lib_e5.png b/font_lib/textures/font_default_00e5.png Binary files differindex 698094e..698094e 100644 --- a/font_lib/textures/font_lib_e5.png +++ b/font_lib/textures/font_default_00e5.png diff --git a/font_lib/textures/font_lib_e6.png b/font_lib/textures/font_default_00e6.png Binary files differindex 70ac70a..70ac70a 100644 --- a/font_lib/textures/font_lib_e6.png +++ b/font_lib/textures/font_default_00e6.png diff --git a/font_lib/textures/font_lib_e7.png b/font_lib/textures/font_default_00e7.png Binary files differindex f0462bd..f0462bd 100644 --- a/font_lib/textures/font_lib_e7.png +++ b/font_lib/textures/font_default_00e7.png diff --git a/font_lib/textures/font_lib_e8.png b/font_lib/textures/font_default_00e8.png Binary files differindex 841363e..841363e 100644 --- a/font_lib/textures/font_lib_e8.png +++ b/font_lib/textures/font_default_00e8.png diff --git a/font_lib/textures/font_lib_e9.png b/font_lib/textures/font_default_00e9.png Binary files differindex 7752df4..7752df4 100644 --- a/font_lib/textures/font_lib_e9.png +++ b/font_lib/textures/font_default_00e9.png diff --git a/font_lib/textures/font_lib_ea.png b/font_lib/textures/font_default_00ea.png Binary files differindex b549be6..b549be6 100644 --- a/font_lib/textures/font_lib_ea.png +++ b/font_lib/textures/font_default_00ea.png diff --git a/font_lib/textures/font_lib_eb.png b/font_lib/textures/font_default_00eb.png Binary files differindex f9c4dbc..f9c4dbc 100644 --- a/font_lib/textures/font_lib_eb.png +++ b/font_lib/textures/font_default_00eb.png diff --git a/font_lib/textures/font_lib_ec.png b/font_lib/textures/font_default_00ec.png Binary files differindex e86f3a7..e86f3a7 100644 --- a/font_lib/textures/font_lib_ec.png +++ b/font_lib/textures/font_default_00ec.png diff --git a/font_lib/textures/font_lib_ed.png b/font_lib/textures/font_default_00ed.png Binary files differindex 94f12e8..94f12e8 100644 --- a/font_lib/textures/font_lib_ed.png +++ b/font_lib/textures/font_default_00ed.png diff --git a/font_lib/textures/font_lib_ee.png b/font_lib/textures/font_default_00ee.png Binary files differindex e8a743d..e8a743d 100644 --- a/font_lib/textures/font_lib_ee.png +++ b/font_lib/textures/font_default_00ee.png diff --git a/font_lib/textures/font_lib_ef.png b/font_lib/textures/font_default_00ef.png Binary files differindex d2c744f..d2c744f 100644 --- a/font_lib/textures/font_lib_ef.png +++ b/font_lib/textures/font_default_00ef.png diff --git a/font_lib/textures/font_lib_f2.png b/font_lib/textures/font_default_00f2.png Binary files differindex f7d1127..f7d1127 100644 --- a/font_lib/textures/font_lib_f2.png +++ b/font_lib/textures/font_default_00f2.png diff --git a/font_lib/textures/font_lib_f4.png b/font_lib/textures/font_default_00f4.png Binary files differindex 4b0cce6..4b0cce6 100644 --- a/font_lib/textures/font_lib_f4.png +++ b/font_lib/textures/font_default_00f4.png diff --git a/font_lib/textures/font_lib_f5.png b/font_lib/textures/font_default_00f5.png Binary files differindex ec7cec1..ec7cec1 100644 --- a/font_lib/textures/font_lib_f5.png +++ b/font_lib/textures/font_default_00f5.png diff --git a/font_lib/textures/font_lib_f6.png b/font_lib/textures/font_default_00f6.png Binary files differindex 7213c8a..7213c8a 100644 --- a/font_lib/textures/font_lib_f6.png +++ b/font_lib/textures/font_default_00f6.png diff --git a/font_lib/textures/font_lib_f7.png b/font_lib/textures/font_default_00f7.png Binary files differindex 408687d..408687d 100644 --- a/font_lib/textures/font_lib_f7.png +++ b/font_lib/textures/font_default_00f7.png diff --git a/font_lib/textures/font_lib_f9.png b/font_lib/textures/font_default_00f9.png Binary files differindex 67d16b5..67d16b5 100644 --- a/font_lib/textures/font_lib_f9.png +++ b/font_lib/textures/font_default_00f9.png diff --git a/font_lib/textures/font_lib_fa.png b/font_lib/textures/font_default_00fa.png Binary files differindex 97de7e1..97de7e1 100644 --- a/font_lib/textures/font_lib_fa.png +++ b/font_lib/textures/font_default_00fa.png diff --git a/font_lib/textures/font_lib_fb.png b/font_lib/textures/font_default_00fb.png Binary files differindex 2861e15..2861e15 100644 --- a/font_lib/textures/font_lib_fb.png +++ b/font_lib/textures/font_default_00fb.png diff --git a/font_lib/textures/font_lib_fc.png b/font_lib/textures/font_default_00fc.png Binary files differindex c7deddd..c7deddd 100644 --- a/font_lib/textures/font_lib_fc.png +++ b/font_lib/textures/font_default_00fc.png diff --git a/font_lib/textures/font_lib_fd.png b/font_lib/textures/font_default_00fd.png Binary files differindex b6f45f9..b6f45f9 100644 --- a/font_lib/textures/font_lib_fd.png +++ b/font_lib/textures/font_default_00fd.png diff --git a/font_lib/textures/font_lib_ff.png b/font_lib/textures/font_default_00ff.png Binary files differindex d182a29..d182a29 100644 --- a/font_lib/textures/font_lib_ff.png +++ b/font_lib/textures/font_default_00ff.png diff --git a/font_lib/tools/make_font_lua.sh b/font_lib/tools/make_font_lua.sh new file mode 100755 index 0000000..b751612 --- /dev/null +++ b/font_lib/tools/make_font_lua.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +scriptname=$0 +identify="identify" + +font_name=default + +for f in textures/font_${font_name}_????.png +do + if [[ $f =~ textures/font_${font_name}_([0-9a-fA-F]{4}).png ]] + then + code=$((16#${BASH_REMATCH[1]})) + size=$(identify $f | cut -d " " -f 3) + w=$(echo $size | cut -d "x" -f 1) + h=$(echo $size | cut -d "x" -f 2) + + if [ -z "$font_height" ] + then + font_height=$h + else + if [ $font_height -ne $h ] + then + echo "Error : $f as height of $h pixels, previous textures have a height of $font_height pixels. All textures should have the same height." + fi + fi + + if [ -z "$font_widths" ] + then + font_widths="[$code]=$w" + else + font_widths="$font_widths, [$code]=$w" + fi + fi +done + +echo "--[[ + +$luafile generated by $scriptname $(date) + +--]] + +font_lib.register_font( + '$font_name', + $font_height, + { $font_widths } +); +" > font_$font_name.lua + |