From 5d4de6e619a74753bcac0696d59c7b8df8963a51 Mon Sep 17 00:00:00 2001 From: xolatile Date: Mon, 13 May 2024 07:40:23 -0400 Subject: [PATCH] New monospace font, handmade, and testing it... --- source/ui.adb | 6 +++--- sprite/ui/monospace.png | Bin 2487 -> 1999 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ui.adb b/source/ui.adb index 82e17ca..1016ada 100644 --- a/source/ui.adb +++ b/source/ui.adb @@ -234,7 +234,7 @@ package body ui is end loop; end load_ui; begin - monospace := core.import_font ("./sprite/ui/monospace.png", 11, 0); + monospace := core.import_font ("./sprite/ui/monospace.png", 15, 0); -- core.echo (core.comment, "Configuring UI components..."); -- @@ -586,8 +586,8 @@ package body ui is word : unbounded_string := to_unbounded_string (""); -- buffer : character := ' '; - width : constant integer := 13; - height : constant integer := 11; + width : constant integer := 9; + height : constant integer := 15; length : natural := 1; offset : core.vector := (x, y); subset : natural := 0; diff --git a/sprite/ui/monospace.png b/sprite/ui/monospace.png index e59d92cdffa90105bc67ad5af8b57a8f5de8fd6e..ec8b1d1bb2e3d850f3ccecf64c0c19556c9a8b4d 100644 GIT binary patch literal 1999 zcmV;=2Qc`FP)x54-9re* z!~tBkKfk}-yyWmN?q~&zH^pz1uf~?)%TyV+Nfo zDRXzg_xt@lJLCEJ`J`Ug^+|c9F;?xGoLtR)c8D*ZpL^O@i_5L-R_lXv_l~)p&f3|Y zawCm$UJvJN`y7!vCv`rnr$6odKN3R=>FY@wBe%j0$taXM@%{P!&Dqd7zESJ9tz%?w z<3tN9Lbq$ha!XJ7O&T3?$h$M|*(wW3 zissUZ1w^hE=TOo`18R}z;3c=$4$-J-2di4ErCjY~M5;><##l2cV=1@C4x>w7-n=3^ z)H+2v`_*z}q_cZL?Wn_9IHyP3EOhX2xaVM@mD^etrm;g8)~qN)IIFd4 zCH|URbZs3HN7llSo;bY~@0IW&lGt!$Xn}-d7CK1URbucp_N+$%a@#aR*Y(W-&Gd0TE@uQI9(MZ&+25v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