Pedro Lopez-Cabanillas wrote:
>
> On Saturday 12 February 2005 09:04, William wrote:
>> Does this patch fix your rendering problem in the Spanish locale?
> 
> Thanks, but no. It doesn't. 
> 
> I've done some more research. Inserted at notefont.cpp:111
> 
>     struct lconv *locale_ptr=localeconv();
>     cerr << "NoteFontMap::NoteFontMap() decimalSymbol="
>          << locale_ptr->decimal_point << endl;
> 
> cvs-20050119:
>       NoteFontMap::NoteFontMap() decimalSymbol=.
> 
> cvs-20050209:
>       NoteFontMap::NoteFontMap() decimalSymbol=,
> 
> but, with the same debug lines at main.cpp:472 got:
>       Rosegarden::main() decimalSymbol=.
> 
> When RG GUI is initialized, it has already POSIX or C locale, so the 
> workaround proposed by William doesn't help. When NoteFontMap() constructor 
> is reached, the program has changed to es_ES locale. But there isn't a single 
> call to setLocale() in RG code.
> 
> The big question remains. Why should it differ between cvs-01/19 and 02/09?
> Research continues.

It might be worth trying:

  $ ltrace rosegarden --nofork

to see whether there are any calls to setlocale() and if so where they are.

William


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to