public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* XFig problems [locale?]
@ 2010-06-06 0:56 Angelo Graziosi
2010-06-06 1:31 ` Eliot Moss
2010-06-06 8:50 ` Angelo Graziosi
0 siblings, 2 replies; 3+ messages in thread
From: Angelo Graziosi @ 2010-06-06 0:56 UTC (permalink / raw)
To: XCygwin
[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]
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.
[-- Attachment #2: test.fig --]
[-- Type: text/plain, Size: 191 bytes --]
#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
[-- Attachment #3: test2.fig --]
[-- Type: text/plain, Size: 191 bytes --]
#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
[-- Attachment #4: test3.fig --]
[-- Type: text/plain, Size: 191 bytes --]
#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
[-- Attachment #5: Type: text/plain, Size: 223 bytes --]
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-06 8:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-06 0:56 XFig problems [locale?] Angelo Graziosi
2010-06-06 1:31 ` Eliot Moss
2010-06-06 8:50 ` Angelo Graziosi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).