Your message dated Fri, 27 Jan 2023 19:49:05 +0000
with message-id <[email protected]>
and subject line Bug#1029168: fixed in fonts-urw-base35 20200910-7
has caused the Debian Bug report #1029168,
regarding fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start 
marker missing"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1029168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029168
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fonts-urw-base35
Version: 20200910-6
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I use fonts as part of a java application I develop. I recently upgraded my
system (to an up-to-date debian bookworm).

After this upgrade all fonts packaged in this packet are unloadable by apache
pdfbox (but fonts in the many other font packages that I have installed all
load fine). This is the relevant portion of the logs showing the error (I am
including logs for the error when loading font "NimbusSans-BoldItalic.pfb" but
logs for other fonts in the package are the same)

[2023-01-18 13:15:26] [info] 2023-01-18 13:15:26.561  WARN 228307 --- [alina-
utility-1] o.a.p.p.f.FileSystemFontProvider         : Could not load font file:
/usr/share/fonts/X11/Type1/NimbusSans-BoldItalic.pfb
[2023-01-18 13:15:26] [info] java.io.IOException: Start marker missing
[2023-01-18 13:15:26] [info] #011at
org.apache.fontbox.pfb.PfbParser.parsePfb(PfbParser.java:147)
[2023-01-18 13:15:26] [info] #011at
org.apache.fontbox.pfb.PfbParser.<init>(PfbParser.java:115)
[2023-01-18 13:15:26] [info] #011at
org.apache.fontbox.type1.Type1Font.createWithPFB(Type1Font.java:54)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.addType1Font(FileSystemFontProvider.java:790)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.scanFonts(FileSystemFontProvider.java:391)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.<init>(FileSystemFontProvider.java:361)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FontMapperImpl$DefaultFontProvider.<clinit>(FontMapperImpl.java:141)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.getProvider(FontMapperImpl.java:160)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFont(FontMapperImpl.java:430)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFontBoxFont(FontMapperImpl.java:393)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.getFontBoxFont(FontMapperImpl.java:367)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:146)
[2023-01-18 13:15:26] [info] #011at
org.apache.pdfbox.pdmodel.font.PDType1Font.<clinit>(PDType1Font.java:79)


I am using apache pdfbox version 2.0.27
(https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox)

I am not familiar with fonts, but according to the source code
(https://github.com/apache/pdfbox/blob/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java)
it appears that pdfbox expects the font files in pfb format to start with
character 0x80 but they do not.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (800, 'testing'), (50, 'experimental'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fonts-urw-base35 depends on:
ii  xfonts-utils  1:7.7+6

fonts-urw-base35 recommends no packages.

Versions of packages fonts-urw-base35 suggests:
ii  fonts-freefont-otf  20120503-10
ii  fonts-freefont-ttf  20120503-10
ii  fonts-texgyre       20180621-6

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: fonts-urw-base35
Source-Version: 20200910-7
Done: Fabian Greffrath <[email protected]>

We believe that the bug you reported is fixed in the latest version of
fonts-urw-base35, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabian Greffrath <[email protected]> (supplier of updated fonts-urw-base35 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 27 Jan 2023 20:26:01 +0100
Source: fonts-urw-base35
Architecture: source
Version: 20200910-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <[email protected]>
Changed-By: Fabian Greffrath <[email protected]>
Closes: 1029168
Changes:
 fonts-urw-base35 (20200910-7) unstable; urgency=medium
 .
   [ Roland Rosenfeld ]
   * Add segment headers to X11/Type1/*.pfb fonts (Closes: #1029168).
   * Fix d/t/check-fonts-urw-base35-scale to support real files.
   * Add lintian-overrides for false positive license issue.
Checksums-Sha1:
 631a059d8bba791e5aeecc263c89715bebd34154 2265 fonts-urw-base35_20200910-7.dsc
 cbbd50faf224f6b0074178663f08d4eabede78b8 23548 
fonts-urw-base35_20200910-7.debian.tar.xz
 28fcde3adab773f9e1f8468273fbbcb5b279e22f 6689 
fonts-urw-base35_20200910-7_amd64.buildinfo
Checksums-Sha256:
 3b52ae5a2ad8eeabf15d719fff638ec0557e408a518c5ff0cd2a109c77515de0 2265 
fonts-urw-base35_20200910-7.dsc
 730e4bfece19708782db7a0142dad137520501449088d74092171b29cac5f5fe 23548 
fonts-urw-base35_20200910-7.debian.tar.xz
 3a3b482cac633d7f1aa279086325076949f22ea860d97a6c5a2941480a7c07be 6689 
fonts-urw-base35_20200910-7_amd64.buildinfo
Files:
 b3e26be5e27f18da2606238022e7c1e1 2265 fonts optional 
fonts-urw-base35_20200910-7.dsc
 7f5e52e521fcb9d525642eee0fe8ffc3 23548 fonts optional 
fonts-urw-base35_20200910-7.debian.tar.xz
 05b9f427a9b19f09e377713d799333c2 6689 fonts optional 
fonts-urw-base35_20200910-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEIsF2SKlSa4TfGRyWy+qOlwzNWd8FAmPUJgASHGZhYmlhbkBk
ZWJpYW4ub3JnAAoJEMvqjpcMzVnfoa0QALoE1xmfeLNC/JcCkn4l4IAA9LaiMwpR
ORW/LPVHmCsydYxO3NzSGksvZozkj1ZRcN/LhIz4SpAGb+GEH2fQpKud/1hzTa8o
+pAVTBpd9PLPMtukEUBROkWTBDPyQ6DVqkuDF1aK5bXZyhjef3QcX2xWsICLEBoV
paLxy/WKzIfsCtH5c76PTFA3pcXnf97OtFDq+qY6Y2fgRtMxFDOmvMTPk4k7aMBo
UcYpXbwy9Fmtip4ESbOi2iwTRY7KxjgjHtBsyEszCyuqebHAXmKbra0qNU8CQySi
7ycNOllL6KjKLHIB8mzmerwckhbCJx3usD5D+LJFUbo8ajxXB2rpjCRRu31xhgy1
vVx3+pBW4Hb8bZw/BxTIhGanq9w8l8SKpXiNoBGK0ukEspi+RzXZ2YA7M+yIkDiW
uLkgYSmsm7/jR/SXt8mY2KdIWRO1pTvyvGNhlXVJiAcMxTtlSp77NTrO03QHyqU2
1N5KpWlJEwtKpqOTpJdKS1yyPn5Yf13/PSD0O+qQyE5ws5mZ1017wv/7uzU0ONgp
ZZLNqXrq34qpnF5XF3ek4KGnOZ27taf+hG2JfXMgTZM7syZC9QdIRNuvaMT9vlYh
vtFl6mYNB3XJTf8vDmq114ESPlhm8mkHbDzqld+y4Ul8c7oaS1kZOIUmatLCKJM2
DTsgunHlDeby
=gBxT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to