MantisBT - Community
View Issue Details
0021713Community[OCCT] OCCT:Visualizationpublic2010-04-23 11:052012-12-26 11:29
san 
 
normaltrivial 
closedfixed 
Linux
 
[OCCT] 6.4.0 
0021713: [OCC Forum]Incorrect decimal separator in GL2PS export on Linux
This is a bug report from OCCT forum:
http://www.opencascade.org/org/forum/thread_18451/ [^]

=======================================================

For the sample, when I'm try to extract PostScript Image from my GL widget I'm
found there lines like this:

/rThreshold 0,032 def % red component subdivision threshold
/gThreshold 0,017 def % green component subdivision threshold
/bThreshold 0,05 def % blue component subdivision threshold

And this PS file is wrong. Under Windows this lines is like:

/rThreshold 0.032 def % red component subdivision threshold
/gThreshold 0.017 def % green component subdivision threshold
/bThreshold 0.05 def % blue component subdivision threshold

After replace all "," with "." PostScript file is Working under Linux.
Documentation remark, added by psn 2010-08-27 12:32:56:

Improvements:
New OSD_Localizer class allows to change the system locale.


Changes:
In OCCT code before calling gl2ps export command, set locale with standard
POSIX attribute. After calling restore previously locale settings.

Modified entities:
========================================
OpenGl package :
OpenGl_GraphicDriver_Export.cxx
========================================
OSD package :
"m" OSD.cdl
"m" OSD.cxx
"+" OSD_Localizer.cxx
"+" OSD_Localizer.cdl
"m" files
========================================
No tags attached.
related to 0022898closed abv IGES import fails in german environment 
gz psn_OCC21713_v1.tar.gz (14,972) 2010-08-27 14:32
https://tracker.dev.opencascade.org/
gz psn_OCC21713_v2.tar.gz (1,113) 2010-09-02 10:38
https://tracker.dev.opencascade.org/
Issue History
2010-04-23 11:07sanCC => szv, inv, abv
2010-04-23 11:55sanCC => vsr
2010-05-13 16:19bugmasterAssigned Tobugmaster => san
2010-05-13 16:19bugmasterStatusnew => assigned
2010-08-26 19:04sanCC =>
2010-08-26 19:04sanAssigned Tosan => psn
2010-08-27 14:41psnStatusassigned => resolved
2010-08-30 13:38bugmasterStatusresolved => verified
2011-08-02 11:24bugmasterCategoryOCCT:VIZ => OCCT:Visualization
2011-12-15 16:24abvAssigned Topsn =>
2011-12-15 16:24abvDescription Updatedbug_revision_view_page.php?rev_id=1255#r1255
2011-12-15 16:24abvAdditional Information Updatedbug_revision_view_page.php?rev_id=1257#r1257
2011-12-15 16:26abvProjectOpen CASCADE => Community
2012-12-26 11:29sanRelationship addedrelated to 0022898

There are no notes attached to this issue.