From 91fa1656600a52eddf650ea550e7cbd69d72903e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 18 Apr 2025 21:27:00 +0300 Subject: Gtk/win32: fixed fonts and therefore pango warnings on startup (closes #7) * The default womanpage font is the abstract "Serif" now, so that should be more portable. "Times" wasn't found on Windows. * Win32 distributions include a custom .teco_css now, which removes the small-caps font attribute from the type label. The default Gtk theme on Windows references the "Segoe UI" font and it doesn't have a small-caps variant. In fact no default Windows font appears to have one. * We could add a custom .teco_ini to win32 distributions as well, but there is currently no need for it. * Do not distribute the /win32 files. They are used only for building Win32/64 packages. There is no point in distributing them in the tarball if the /debian and /freebsd directories aren't distributed as well. --- lib/lexers/woman.tes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lexers') diff --git a/lib/lexers/woman.tes b/lib/lexers/woman.tes index 7a1201f..86580f3 100644 --- a/lib/lexers/woman.tes +++ b/lib/lexers/woman.tes @@ -14,7 +14,7 @@ 1ESSETWRAPMODE 1ESSETWRAPINDENTMODE 10,1#4ESSETYCARETPOLICY - 0EJ-1"> 32ESSTYLESETFONTTimes :M[color.init] ' + 0EJ-1"> 32ESSTYLESETFONTSerif :M[color.init] ' 1:EN*Q*.tec"S EMQ*.tec ' } -- cgit v1.2.3