[Pkg-fonts-bugs] Bug#378085: fontforge: Generates random Super/Subscript values

Jan Willem Stumpel jstumpel at planet.nl
Thu Jul 13 07:53:35 UTC 2006


Package: fontforge
Version: 0.0.20060430-1
Severity: normal


I edit a font (in this case FreeSerif.sfd) and select element -> font info
 -> OS/2 -> sub/super. Click 'Default'. Some default values appear in the
boxes (like X=650 and Y=699). CLick OK, save the font. In the .sfd file, now
quite different (and mostly absurdly large) values appear:

OS2SubXSize: 21182
OS2SubYSize: 577
OS2SubXOff: 372
OS2SubYOff: 19672
OS2SupXSize: 7
OS2SupYSize: 4856
OS2SupXOff: -7672
OS2SupYOff: 17912

Even weirder, if I repeat this operation, many values are completely
different:

OS2SubXSize: 18356
OS2SubYSize: 577
OS2SubXOff: 372
OS2SubYOff: 19672
OS2SupXSize: -20304
OS2SupYSize: -80
OS2SupXOff: 4
OS2SupYOff: 17224

Even if these sub/super values do not seem to do very much in practice, this
cannot be right.

Regards, Jan

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages fontforge depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libice6                       1:1.0.0-3  X11 Inter-Client Exchange library
ii  libsm6                        1:1.0.0-4  X11 Session Management library
ii  libx11-6                      2:1.0.0-7  X11 client-side library
ii  libxi6                        1:1.0.0-5  X11 Input extension library

Versions of packages fontforge recommends:
ii  libfreetype6               2.2.1-2       FreeType 2 font engine, shared lib
ii  libjpeg62                  6b-13         The Independent JPEG Group's JPEG 
ii  libpng12-0                 1.2.8rel-5.1  PNG library - runtime
ii  libtiff4                   3.8.2-5       Tag Image File Format (TIFF) libra
ii  libungif4g                 4.1.4-2       shared library for GIF images (run
pn  libuninameslist0           <none>        (no description available)
ii  libxml2                    2.6.26.dfsg-2 GNOME XML library
ii  zlib1g                     1:1.2.3-13    compression library - runtime

-- no debconf information





More information about the Pkg-fonts-bugs mailing list