<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>7075</bug_id>
          
          <creation_ts>2005-06-13 14:43:08 +0400</creation_ts>
          <short_desc>Incorrect EPS export when using RU locale</short_desc>
          <delta_ts>2005-08-26 12:24:04 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>dia</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr. Br. George">george</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25620</commentid>
    <comment_count>0</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2005-06-13 14:43:08 +0400</bug_when>
    <thetext>When exporting diagram into .eps file, DIA uses current LC_NUMERIC for
generating nombers in PostScript. So, using RU locale produces floating numbers
as this:
1,000 (i. e. comma instead of petiod). PostScript fails on this!
Steps to Reproduce:
1. Create any diagram (e. g. picture.dia)
2. dia picture.dia -e picture.eps
3. gs -q -dBATCH -dNOPAUSE -sDEVICE=bbox picture.eps
Actual Results:  
Error: /undefined in 28,346000
. . .
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1

$ grep 28.346000 picture.eps    
28,346000 -28,346000 scale


Expected Results:  
2. LC_ALL=C dia picture.dia -e picture.eps
3. gs -q -dBATCH -dNOPAUSE -sDEVICE=bbox picture.eps
%%BoundingBox: 0 0 431 431

$ grep 28.346000 picture.eps 
28.346000 -28.346000 scale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25621</commentid>
    <comment_count>1</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2005-06-13 14:44:12 +0400</bug_when>
    <thetext>It&apos;s probably upstream bug so it reproduces under FreeBSD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26210</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2005-06-21 22:49:31 +0400</bug_when>
    <thetext>Да, проблема в Апстриме, но самого главного - версии! 
не указано :( 
Да, действительно, присутствует в dia-0.94-alt8cvs20050313 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27905</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2005-08-01 01:29:04 +0400</bug_when>
    <thetext>fixed in dia-0.94-alt9cvs20050730 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>