[Pkg-fonts-devel] Bug#831425: fontforge-nox: Creates invalid .otf on i386 and hppa, causing FTBFS 3270font

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Fri Jul 15 20:04:10 UTC 2016


Package: fontforge-nox
Version: 20120731.b-7.2
Severity: important

Dear Maintainer,

some research why the 3270font (arch: all) package fails to (re-)build
here led to a surprising result: On some architectures, fontforge
creates invalid font files at least for .otf, breaking the build.

Details: The build process calls fontforge to create the font in
several file formats, then fontlint to check for errors. This works
flawless on amd64, armel, armhf, powerpc but fails when checking the
on ...

* i386:

| Copyright (c) 2000-2012 by George Williams.
|  Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
|  Library based on sources from 14:57 GMT 31-Jul-2012.
| A point in NameMe.955 is outside the font bounding box data.
| Validation 3270Medium ...Failed
|   Bad 'CFF ' table
| make[1]: *** [test] Error 1

* hppa:

| Copyright (c) 2000-2012 by George Williams.
|  Executable based on sources from 14:57 GMT 31-Jul-2012-ML.
|  Library based on sources from 14:57 GMT 31-Jul-2012.
| Validation 3270Medium ...Failed
|   Bad BlueScale entry in PostScript Private dictionary

Comparison shows the created font is identical for all succeeding
architectures (faketime is needed when creating the fonts) but are
different to the ones created in the failing archs. A diff of the
dumps created by otfdump is attached.

How to repeat: Download src:3270font, run "make all test".

Wild guess: The failing archs are 32bit *and* have signed characters.

    Christoph

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.15 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages fontforge-nox depends on:
ii  fontforge-common     20120731.b-7.2
ii  libc6                2.22-13
ii  libcairo2            1.14.6-1+b1
ii  libfontconfig1       2.11.0-6.4
ii  libfontforge1        20120731.b-7.2
ii  libfreetype6         2.6.3-3+b1
ii  libgif7              5.1.4-0.3
ii  libglib2.0-0         2.48.1-1
ii  libjpeg62-turbo      1:1.5.0-1
ii  libpango-1.0-0       1.40.1-1
ii  libpangocairo-1.0-0  1.40.1-1
ii  libpangoft2-1.0-0    1.40.1-1
ii  libpangoxft-1.0-0    1.40.1-1
ii  libpng16-16          1.6.23-1
ii  libpython2.7         2.7.12-1
ii  libspiro0            1:0.5.20150702-4
ii  libtiff5             4.0.6-1
ii  libuninameslist0     0.5.20150701-1
ii  libxft2              2.3.2-1
ii  libxml2              2.9.3+dfsg1-1.2
ii  zlib1g               1:1.2.8.dfsg-2+b1

fontforge-nox recommends no packages.

fontforge-nox suggests no packages.

-- no debconf information

--- 3270Medium.otf.dump.amd64
+++ 3270Medium.otf.dump.i386
@@ -6,13 +6,13 @@
     (enterSelector 3)
     (rangeShift 48))
   (Table 0 (tag "CFF " #x43464620)
-    (checkSum 4214D902) (offset #x000022D0) (length: #x0000E0A9))
+    (checkSum 17BDA930) (offset #x000022D0) (length: #x0000E0C2))
   (Table 1 (tag "FFTM" #x4646544D)
-    (checkSum 69D7A25C) (offset #x0001039C) (length: #x0000001C))
+    (checkSum 69D7A25C) (offset #x000103B4) (length: #x0000001C))
   (Table 2 (tag "GDEF" #x47444546)
-    (checkSum 000F001E) (offset #x0001037C) (length: #x0000001E))
+    (checkSum 000F001E) (offset #x00010394) (length: #x0000001E))
   (Table 3 (tag "OS/2" #x4F532F32)
-    (checkSum 55DD15A8) (offset #x00000120) (length: #x00000060))
+    (checkSum 55DA15A8) (offset #x00000120) (length: #x00000060))
   (Table 4 (tag "cmap" #x636D6170)
     (checkSum 71A79D15) (offset #x00001864) (length: #x00000A4A))
   (Table 5 (tag "head" #x68656164)
@@ -20,7 +20,7 @@
   (Table 6 (tag "hhea" #x68686561)
     (checkSum 06D70010) (offset #x000000F4) (length: #x00000024))
   (Table 7 (tag "hmtx" #x686D7478)
-    (checkSum 7302689A) (offset #x000103B8) (length: #x000007C2))
+    (checkSum 7302689A) (offset #x000103D0) (length: #x000007C2))
   (Table 8 (tag "maxp" #x6D617870)
     (checkSum 03DF5000) (offset #x00000118) (length: #x00000006))
   (Table 9 (tag "name" #x6E616D65)
@@ -30,7 +30,7 @@
   (head
     (TableVersionNumber 1.0)
     (fontRevision 1.0)
-    (checkSumAdjustment #x5300EEBA)
+    (checkSumAdjustment #xA7B54DFD)
     (magicNumber #x5F0F3CF5)
     (flags #x000B)
     (unitsPerEm 1000))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20160715/8346ec8b/attachment.sig>


More information about the Pkg-fonts-devel mailing list