On Saturday 12 February 2005 09:04, William wrote:
> Pedro Lopez-Cabanillas wrote:
> > On Friday 11 February 2005 20:51, Chris Cannam wrote:
> >> -- locale is set such that strtod(3) expects ',' for a decimal point
> >> (but why should it differ between different builds?)
[...]
> 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.
Regards,
Pedro
-------------------------------------------------------
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