From 2a58560b7d8f5c2ab4ed6ec5aefc386176eb4c6d Mon Sep 17 00:00:00 2001
From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
Date: Sun, 19 Jan 2025 18:39:38 +0100
Subject: [PATCH] tedst/utf8: Change default font used under Windows for
 "Unicode Display Test"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The Windows doc at https://learn.microsoft.com/en-us/typography/font-list/arial-unicode-ms
 of the "Arial Unicode MS" font reads
"The font was included with Office but not Windows. …
We stopped servicing and updating Arial Unicode and no longer install it as part of Office."
Using that font is therefore not the best choice.
This commmit uses "Microsoft Sans Serif" instead available in all Windows versions
since Windows 2000.
---
 test/utf8.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/utf8.cxx b/test/utf8.cxx
index 40890c641..aca51f796 100644
--- a/test/utf8.cxx
+++ b/test/utf8.cxx
@@ -582,7 +582,7 @@ int main(int argc, char** argv)
   /* setup the extra font */
   Fl::set_font(extra_font,
 #ifdef _WIN32
-               " Arial Unicode MS"
+               " Microsoft Sans Serif"
 #elif defined(__APPLE__)
                "Monaco"
 #else
-- 
GitLab