From 797b44d6a451f06017192a1fc70aeec8259ee426 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 4 Nov 2024 00:58:50 -0700 Subject: [PATCH] Added single font requirement. --- client/fonts/runescape.ttf | Bin 0 -> 22500 bytes client/src/ui.c | 4 +--- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 client/fonts/runescape.ttf diff --git a/client/fonts/runescape.ttf b/client/fonts/runescape.ttf new file mode 100644 index 0000000000000000000000000000000000000000..87e93164df3cd3393c0524410fe16bcc41492ec6 GIT binary patch literal 22500 zcmeHPdz4*OdH>G2ckVp%m`rZok2@qGfFzk@7!nciBtUp05)Al)%p{Y{K<2?@LPD_Z z7LlSNqEK}qy6{n|h>DN46p`+t%Oa)LBCxEBWm($AqE=ljm$xuEz0>og@9@FHNl9Bhu7?zFYS6?;D?*0wuZXqd4EPXYWnB zuYdlm*P(f)$T{OfgZ;bOp1$BIoO=P==|ku!y-PlfYvAC1`KL_{wPi$YAk_`*(?4{E$fNt>a_+Cf8j%3cPRX z5sCK*Wy7}r>(4Y@JL}9>rM-v_k?$^e`jceR5EyYY;{YbL=qrQz$1yR+Wrkg-*-rd%sB6!=G1NE53Uy4m^cd|psp3{1;^=W4`I48)nV?2n z`;5neIvfW~o{z)D^SCDF_)rVl(`*Iw2Y%Txph>*+0av4)J)dnix}N7fK0(bb9Ovp( zzMAt5_~)+6(u)(7uQ3m!e&}?8alB5)^P1z_0)Fb0J}hu$zb$bJl6Rnos#+pN*@1d4 z;=O?OpUPCUEjk#zuQIoCV&$Rk6Oi{rDsq2x1$s@jcj_loPfU$ZT{3mvi{E(hp%+*G z`&T?=49}OS%`MNHzhL2_#Y>hhTaJve zV&$q6SD$q9DX%$o&DwQ6>o@eC)_3~GO|L!Ub!VP+_Un_)Th2j7KmURYFS_`WOD}uF z@##-}=7GQbtIvJ@!H2%^r7u4G z<*)wr*Z$^_zkTfM-*{Xmb`1{8!B37~|Ll#|$?f;bK9M~K6y)A_$Y&pY=gv_c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SDpc<%~+o9qsjfYkJpg=-Gf_^%S!>w*vvK zFs!&L@H}FX?Sm8hhM~drYmZ4GNVF|u_uz^Bkci&U4__RFA5a(9qi+n}Qh_eE;Tsv& z&U3cGqZlU@^wN`vY!uf_dUXBJW<|~iodLPP$-hl)MWgpuCMWuL4Z=FtSH^Z%wr;zy zLIrIb8XK=%I665vG1@-~iTd|e&L0`T)eOSpb6#oa8~9~HfUOT;$#|9=JMbV-K7C&uA@*KitRO&!Q4gV2RaG^}{y$MjU7&|-aG)RQVE^#m$;yG@$sy+v>N5Wa5=h~<9Jki4uQis_;U6p^6P-m zh2;q6N*JwQ4x%2wxLqJg90S99DmU!!-+BG;=$^`tW?CBr6kRGve$|?e!=HNB$|`tWc(uDYvfeSBWq!1t~54)`)M%s z=`i*t{O;8mxSKjt&XTk7+g%B?yal#97hf}OMdrN#nfW5Q7{8l(DJ=B{{Hop?F~4k+ zE9FhH9SQMjd9%Dl-YRdCx63tht?ZEgs3@P7TjkyI4g5Om%W|9CDesey%je`XQIot^ zekkvfyQ5OnEbo_($nEk?`BBs&pO6RTRr!_tT0SLTknhMp$`_&Eo%jvEUGh)R^ON$F z{0n~j^q=Ls@}CHq@5}e_`+#49y0oJ4? z>2){4dOwBr4#AQ)%b(yk8Xu8Q%Aesk8I8PCekQ+=N9AGpvV1*ijoPC2s3V#Y&5UM6 zv!l*vPSl0pn*FMLJ}S!{CHz3`_|SS+ZD`&W%! zP3!%!8@GOw8@GPbX}-VD*Qfh>qpvslI?&tfkGB-h+dnZz&x-Jyl5QoBU)P1FEYqV1 bdWzs%&J!b!!^WcZzrD0Ze@Qm`8@K-haQ+kt literal 0 HcmV?d00001 diff --git a/client/src/ui.c b/client/src/ui.c index 7623aee..58d04ed 100644 --- a/client/src/ui.c +++ b/client/src/ui.c @@ -1054,9 +1054,7 @@ VkResult create_ui_context( context->containers = malloc(max_containers*sizeof(Container)); memset(context->containers, 0, max_containers*sizeof(Container)); - VK_RESULT(load_font(0, "fonts/eracake.ttf", 256, VK_TRUE, gpu, context)); - VK_RESULT(load_font(1, "fonts/yumoda.ttf", 256, VK_TRUE, gpu, context)); - VK_RESULT(load_font(2, "fonts/runescape.ttf", 16, VK_FALSE, gpu, context)); + VK_RESULT(load_font(0, "fonts/runescape.ttf", 16, VK_FALSE, gpu, context)); return VK_SUCCESS; }