[Pkg-octave-devel] Bug#477688: [octave3.0] print()'ing a figure with title or (x|y)labels fails with gdImageStringFT error

Didier Raboud didier at raboud.com
Thu Apr 24 15:04:42 UTC 2008


Package: octave3.0
Version: 1:3.0.1-1
Severity: normal

--- Please enter the report below this line. ---
Hi, 

If I enter the following in Octave 3.0.1-1 :
--- Test Case ---
figure;
plot(1:2,1:2);
xlabel('Label X');
ylabel('Label Y');
title('Title');
legend('Blue Line');
print('/tmp/testcase.png');
--- /Test Case ---

After the last command, I get the following error :
--- Error ----
gdImageStringFT: Could not find/open font while printing string Label Y with 
font Helvetica
gdImageStringFT: Could not find/open font while printing string Label X with 
font Helvetica
gdImageStringFT: Could not find/open font while printing string Title with 
font Helvetica
--- /Error ---

And the resulting image contains no title nor labels (but contains the textual 
legend !)

Regards, 

Didier Raboud

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.25-trunk-amd64

Debian Release: lenny/sid
  700 testing         mirror.switch.ch 
  700 stable          mirror.switch.ch 
  600 unstable        mirror.switch.ch 
   50 unstable        mirror.switch.ch 
   50 unstable        debian.netcologne.de 
   50 testing         mirror.switch.ch 
   50 testing         debian.netcologne.de 
   50 stable          mirror.switch.ch 
   50 stable          debian.netcologne.de 
   50 kernel-dists-trunk kernel-archive.buildserver.net 
   50 kernel-dists-sid kernel-archive.buildserver.net 
   50 kernel-dists-etch kernel-archive.buildserver.net 
   50 experimental    mirror.switch.ch 
   50 experimental    debian.netcologne.de 

--- Package information. ---
Depends                              (Version) | Installed
==============================================-+-====================
libblas3gf                                     | 1.2-1.5
 OR libblas.so.3gf                             | 
 OR libatlas3gf-base                           | 3.6.0-21.3
libc6                               (>= 2.7-1) | 2.7-10
libcurl3-gnutls                  (>= 7.16.2-1) | 7.18.0-1+b1
libfftw3-3                                     | 3.1.2-3
libgcc1                        (>= 1:4.1.1-21) | 1:4.3.0-3
libgfortran3                          (>= 4.3) | 4.3.0-3
libglpk0                             (>= 4.28) | 4.28-3
libhdf5-serial-1.6.6-0                         | 1.6.6-4
 OR libhdf5-1.6.6-0                            | 
liblapack3gf                                   | 3.1.1-0.4
 OR liblapack.so.3gf                           | 
 OR libatlas3gf-base                           | 3.6.0-21.3
libncurses5                (>= 5.6+20071006-3) | 5.6+20080308-1
libpcre3                              (>= 7.4) | 7.4-1+lenny1
libqhull5                                      | 2003.1-8
libreadline5                          (>= 5.2) | 5.2-3
libstdc++6                        (>= 4.2.1-4) | 4.3.0-3
libsuitesparse-3.1.0                           | 3.1.0-3
zlib1g                          (>= 1:1.2.0.2) | 1:1.2.3.3.dfsg-12
texinfo                                        | 4.11.dfsg.1-4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20080424/b3f39327/attachment.pgp 


More information about the Pkg-octave-devel mailing list