Menu

#46 Missing text for various widgets

v0.34
closed-fixed
Nicos
Interface (21)
5
2004-09-11
2004-01-05
No

I just installed gxmame 0.34b (using the latest stable
Gentoo package) and it seems that the text for various
widgets are missing (see the attached screenshot for an
example).

Although, except for this bug, gxmame seems the works
perfectly, launching it give the following error message:
---
** Message: Chargement de la liste des jeux
** Message: chargement de 4640 roms par 385 fabriquants
couvrant 27 ans.
** Message: [Invalid UTF-8] avec 206 jeux utilisant des
échantillons
** Message: [Invalid UTF-8] catver non chargé,
utilisation des valeurs par défault
** Message: [Invalid UTF-8] temps écoulé: 1,804933e+00
(gxmame:11550): Gtk-WARNING **: Invalid input string
...repeated 246 times...
** (gxmame:11550): WARNING **: Invalid UTF8 string
passed to pango_layout_set_text()
...repeated 280 times...
** Message: Sortie de GXMame...

Discussion

  • mongolito404

    mongolito404 - 2004-01-05

    screenshot showing missing text for menu widgets.

     
  • Stéphane Pontier

    Logged In: YES
    user_id=507424

    Seem that when we switched the translation file to UTF-8,
    the systems that doesnt have UTF-8 locales wont work correctly.

    I only have report of that on french systems when locale is
    only fr_FR and not fr_FR.UTF-8.

     
  • Nobody/Anonymous

    Logged In: NO

    please just patch the following source code, and recompile:

    --- ./gxmame-0.34b/src/gxmame.c.00 2003-12-18
    20:03:17.000000000 +0800
    +++ ./gxmame-0.34b/src/gxmame.c 2004-05-26
    12:43:28.000000000 +0800
    @@ -56,10 +56,14 @@
    int main (int argc, char *argv[])
    {
    #ifdef ENABLE_NLS
    + if (setlocale (LC_ALL, "") == NULL)
    + g_printerr ("GNOME Terminal: locale not understood by
    C library, internationalization will not work\n");
    +
    bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
    + bind_textdomain_codeset (PACKAGE, "UTF-8");
    textdomain (PACKAGE);
    #endif
    - setlocale(LC_ALL,"");
    + /*setlocale(LC_ALL,"");*/
    gtk_init (&argc, &argv);

    gxmame_init();

     
  • Nicos

    Nicos - 2004-09-11
    • assigned_to: nobody --> anarxia
    • status: open --> closed-fixed
     
  • Nicos

    Nicos - 2004-09-11

    Logged In: YES
    user_id=143408

    I believe that the issue has been fixed in CVS using a
    similar change to the patch below. If the issue persists
    feel free to reopen this bug.

     

Log in to post a comment.