Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering argumen
Home

[Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering argumen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx, cyril.delalande@xxxxxxxxx, s_keishi@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering arguments
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Oct 2005 14:53:15 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12932 >

So from what I understand there are two problems here.

1.  ANSI_FIXED_FONT (used in gui-win32) doesn't work in Japanese
(presumably because ANSI implies ASCII which won't work).  The solution
is to use GUI_DEFAULT_FONT or OEM_FIXED_FONT or SYSTEM_FONT.

2.  On win32, printf and friends can't accept reordered arguments.  The
solution here is to link against libutf8.  This might justify including
libutf8 directly in the distribution (in dependencies/, except that this
directory doesn't exist in S2_0) and linking it in automatically on windows.

-jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering arguments, Jason Short <=