Re: XFig problems [locale?]

2010-06-06 Thread Angelo Graziosi

Il 06/06/2010 2.55, Angelo Graziosi ha scritto:

It seems that I have discovered some problems with XFig. :(


Just for completeness, adding

xfig()
{
LANG=''\
/usr/bin/xfig -specialtext -latexfonts -startlatexFont default \
$@ 2/dev/null
}

to my .bash_wrappers file, solved the problems. :-)


Ciao,
Angelo.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



XFig problems [locale?]

2010-06-05 Thread Angelo Graziosi

It seems that I have discovered some problems with XFig. :(

I have tried this simple test.

$ /usr/bin/xfig 

then I have drawn a box with 'Rectangular BOX drawing (b)'. After this, 
I have saved the figure (with: File | Save 'test.fig', it is attached).


Now if I exit from XFig and restart it (/usr/bin/xfig ), trying to 
'Open' (Meta-O) 'test.fig', I got the error:


=
File test.fig:
Figure resolution or coordinate specifier missing in line 5.
==

Examining 'test.fig' with an editor, the line 5 contains: 100,00. So I 
remembered that I have


$ echo $LANG
it_IT.UTF-8

(I do not know which Windows application has set that as system env. 
variable.)


I tried to change 100,00 == 100.00 (test2.fig), but still did work. So 
I have tried


$ export LANG=us_US.UTF-8

Now, when I start XFig, I got

$ /usr/bin/xfig 
$ Warning: locale not supported by C library, locale unchanged

but, repeating all the above, XFig seems to work correctly: I can create 
and read, with XFig, 'test3.fig' (though, XFig still does not read 
test2.fig!).


So, it remains to clarify WHY, with LANG=it_IT.UTF-8, it does not work 
right.


Ciao,
Angelo.
#FIG 3.2  Produced by xfig version 3.2.5b
Landscape
Center
Inches
Letter  
100,00
Single
-2
1200 2
2 2 0 1 0 7 50 -1 -1 0,000 0 0 -1 0 0 5
 4425 3900 8325 3900 8325 6300 4425 6300 4425 3900
#FIG 3.2  Produced by xfig version 3.2.5b
Landscape
Center
Inches
Letter  
100.00
Single
-2
1200 2
2 2 0 1 0 7 50 -1 -1 0,000 0 0 -1 0 0 5
 4425 3900 8325 3900 8325 6300 4425 6300 4425 3900
#FIG 3.2  Produced by xfig version 3.2.5b
Landscape
Center
Inches
Letter  
100.00
Single
-2
1200 2
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
 3750 3150 7350 3150 7350 5700 3750 5700 3750 3150
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

Re: XFig problems [locale?]

2010-06-05 Thread Eliot Moss



$ export LANG=us_US.UTF-8


I think that should be en_US.UTF-8 

Eliot Moss

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/