Quote from: prissi on April 09, 2024, 06:54:09 AMSeems like it is compiled with the wide char functions as default. I will add code to standard. Essentially, add a W to NONCLIENMETRICSW and to SystemParameterInfosW and change faceName to a string wsFaceName and remove the next definition.
std::wstring faceName(ncm.lfMessageFont.lfFaceName);
Thank you for looking into that.Quote from: Ranran(retired) on April 05, 2024, 02:26:44 PMBut for some reason I was not able to properly incorporate dr_get_system_font() in my environment.It turns out that this is due to C++20 being a requirement. I was able to compile correctly with git action.
I don't understand why this function doesn't work with the same code as standard.
Quote from: jamespetts on April 07, 2024, 07:46:38 PMFor reference, when I paused the process, I got the following stack trace: void display_fillbox_wh_clip_rgb() < void gui_colored_route_bar_t::draw() < void gui_container_t::draw() (line 262) < void gui_aligned_container_t::draw() (line 587) < void gui_container_t::draw() (line 262) and so on, repeating a number of times moving between lines 587 and 262.Thank you for the testing.
Quote from: Ranran(retired) on March 28, 2024, 10:56:06 PMPull request #647 incorporates some recent commits from standard.This work is divided into three parts.
Anti-aliased fonts are an important innovation in Simutrans, and I decided to move forward with the goal of incorporating them into extended.