Bug#273030: dia: Incorrect font size in EPS export

Akim Demaille Akim Demaille <akim@epita.fr>, 273030@bugs.debian.org
Thu, 23 Sep 2004 16:57:42 +0200


Package: dia
Version: 0.94.0-2
Severity: normal


When exporting in EPS the following DIA document, some pieces of text
have shrinked down font sizes, down to unreadable.  Look at the boxes
6 and 7 starting from the top.

The DIA document does not have this problem.

Thanks!

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2004-09-23 16:56 CEST by <akim@nostromo>.
# Source directory was `/home/akim/lectures/lrde-techreps/trunk/0310'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#   1969 -rw-r--r-- grammar.dia
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh07285; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= grammar.dia ==============
if test -f 'grammar.dia' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'grammar.dia' '(file already exists)'
else
  $echo 'x -' extracting 'grammar.dia' '(binary)'
  sed 's/^X//' << 'SHAR_EOF' | uudecode &&
begin 600 grammar.dia
M'XL(`````````^V=W6[;-A3'[_,4@GN;T"+U135-BJY#=[-A`]IAEP9MT;8V
M61(DNHEO]CQ[C[W8#B7%=FS%$5G6:RH%2&"9UM&1=/X_'E(\SINW]ZO$^LR+
M,L[2FQ%&]LCBZ2R+XG1Q,_K]TX<K.GI[>_$FBMEK^%T4;&7!'FDIMVY&2R'R
MU^/QW=T=2C8E$UF!DGB-2C[^FR4)&\.'QJ/;_;TC)EC]!A.BB*=KP:V4K?C-
M:,IF?RV*;)U&S1ZS+,D*ZS-+;D:OYM7/:'S[9OQHWW93.<MYL;6RRK,RAC:Q
MR0_:#O>3?YNF$EK2Q>VK=^ZK^I#-&YV.+U:L6,1I8ZK@+*E/@R!*".EZ%E,C
M5A(C5@HC5N)RDF>%*%@L&DO3+$LX2VMCHECSKJ;*&4O@?APYA+L:F,="9&U>
MS%E2MKHQ?A1.W8ZR*.+HB4#<:SK<ZRZ.Q')RKW]RM8&-OH'/<1E/$[[U(4Z%
MIH5-)PM:UW8=1[Q\ZNKN-Q[NN6Q:QT^XOFM^SJ]Q*]H2MN%%8^Q=4<3__E/P
MJSQAZ<AJ+DL3[/7'L^F??"8:QS\DV=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1#9AKZW`2RZ]5H\N=3T&NCMTF;(8$H'QTX_
B41,V#!F^;J>@\["9JBMAO/W_!X__.<+MQ7_^J9N;:V8``.CM
`
end
SHAR_EOF
  (set 20 04 09 23 15 46 50 'grammar.dia'; eval "$shar_touch") &&
  chmod 0644 'grammar.dia' ||
  $echo 'restore of' 'grammar.dia' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'grammar.dia:' 'MD5 check failed'
b1ab999c1235aacc65f9cf2852ab3ccb  grammar.dia
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'grammar.dia'`"
    test 1969 -eq "$shar_count" ||
    $echo 'grammar.dia:' 'original size' '1969,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh07285
exit 0


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7-smp
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages dia depends on:
ii  dia-common                  0.94.0-2     Diagram editor (common files)
ii  dia-libs                    0.94.0-2     Diagram editor (library files)
ii  libart-2.0-2                2.3.16-6     Library of functions for 2D graphi
ii  libatk1.0-0                 1.6.1-3      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libfreetype6                2.1.7-2.2    FreeType 2 font engine, shared lib
ii  libglib2.0-0                2.4.6-2      The GLib library of C routines
ii  libgtk2.0-0                 2.4.10-1     The GTK+ graphical user interface
ii  libpango1.0-0               1.4.1-2      Layout and rendering of internatio
ii  libpng12-0                  1.2.5.0-7    PNG library - runtime
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libxml2                     2.6.11-3     GNOME XML library
ii  zlib1g                      1:1.2.1.2-1  compression library - runtime

-- no debconf information