[Tilesathome] taw (tilesAtWindows) seems stable

Alfons Andorfer a_a at gmx.de
Mon Sep 1 16:28:14 BST 2008


Knut Arne Bjørndal wrote:
> On Mon, Sep 01, 2008 at 05:02:30PM +0200, Alfons Andorfer wrote:
>> Carsten Moeller wrote:
>>> Christian Ehrlicher schrieb:
>>>> spaetz schrieb:
>>>>> On Sat, Aug 30, 2008 at 10:38:40PM +0200, Carsten Moeller wrote:
>>>>>> At last tiles at home under Windows seems to be stable.
>>>>>> I'm looping looping looping - wow!
>>>>>> So pleeeaaaase tag this version!
>>>>> Glad to hear that.
>>>>>
>>>>> Specially for you I declare r10346 herweith as "Windows-stable1.0".
>>>>> :-)
>>>>>
>>>> Can we wait until the locale fixes for inkscape are in? :)
>>>>
>>> the odd locale problem with inskape is quite annoying.
>>> Because this is no t at h-problem and typically occurs
>>> on german Windows machines I strongly recommend to
>>> use Batik instead of Inkscape.
>> I've sent a simple, effective and easy to implement solution of the 
>> "inkscape locale problem" to Sebastian.
>> Hopefully its soon in the SVN.
> 
> Could you perhaps share this with everybody? I'm currently reworking
> the rasterizer stuff and would be quite happy if other people didn't
> do too much to the parts I'm changing in the branch, as it makes for
> lots of pain when merging.
Sure!

line 42:
- setlocale(LC_NUMERIC, 'C');


line 783:
-         my $locale = $Config->get("InkscapeLocale");
-         my $oldLocale;
-         if ($locale ne "0") {
-                 $oldLocale=setlocale(LC_ALL, $locale);
-         }
+         my $old_locale = setlocale(LC_NUMERIC);
+         setlocale(LC_NUMERIC, "");


line 800:
-         if ($locale ne "0") {
-                 setlocale(LC_ALL, $oldLocale);
-         }
+         setlocale(LC_NUMERIC, $old_locale);


It has also the advantage that "InkscapeLocale" isn't needed anymore in 
the config.






More information about the Tilesathome mailing list