The Dink Network

Reply to Plans for 0.7 and deck commentary

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 9th 2023, 11:01 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
In regards to fonts, the engine does two different checks at startup. The first is one in which it directly looks for the TTF file in that resources directory. If it fails to find it there and it was compiled with Fontconfig, it'll use that to find a system-installed font of the same name. Unfortunately, Beuc was fairly insistent on Liberation Sans to the point where the engine just gives up if it can't find it, meaning the next release will search for either Arial or OpenSans, as the latter is installed on most distros and looks authentic enough, and the former is always available on Windows and is the default in <=1.08 anyway. If it can't find anything it'll pop up with a file selector for you to choose your own TTF.

Some may have noticed, but there seems to be a problem with typeface rendering on GNU/Linux, with Liberation Sans looking like a jagged mess. It seems Freetype changed their default rendering algo at some point, and most distros, if they do bundle Liberation Sans or provide a package, use a newer release that looks somewhat different to the one we're accustomed to due to being designed for the newer Freetype renderer. There's some stuff in the Arch wiki regarding Freetype configs that may assist, but probably won't.

It turns out that Imgui can also use Freetype very straightforwardly too, and as the engine's using it anyway, it makes sense to switch so that the debug interface looks a bit crispier in future releases.

In regards to the deck, from what I can ascertain, it doesn't work properly at all in desktop mode, and comes up with an on-screen keyboard and non-working buttons even with the controller map loaded. I may remap the buttons again in the next release if I can find a config that works unless everyone's fine with using an AppImage integrator for game mode. Also of note, there might be an invisible touch-screen directional controller in the middle of the screen that will allow you to move around unless I turned it off early on, or differs between desktop/game mode yet again.