Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1278349

Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit()

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit()
Date 2026-01-14 14:20 +0100
Message-ID <Md8WZ-auBN-1@gated-at.bofh.it> (permalink)
References <Md80W-au0j-13@gated-at.bofh.it> <Md8tX-au9P-1@gated-at.bofh.it> <Md80W-au0j-13@gated-at.bofh.it> <Md8tX-au9P-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Adam,

On 2026-01-14 12:43:48 +0000, Adam Sampson wrote:
> It's not a bug in xpopple as we don't use fontconfig directly there;
> it'll be indirect through Poppler and Motif.

There are other PDF viewers that are based on Poppler and such
a warning is not output. Perhaps FcInit is called in Poppler
and the xpdf issue comes from Motif (since it comes first).

> But I'm more inclined to think of this as a regression in
> fontconfig, since it's never required explicit FcInit/FcFini calls
> in the past, and they can't be added to libraries because previous
> releases of fontconfig don't do reference counting,

If a call to FcInit wasn't required, that's an API change and
an ABI breakage in fontconfig.

> so multiple calls to FcFini would cause breakage.

That's something that they would have to solve.

If I understand correctly, the new fontconfig version was not
ready yet for Debian, and it would also require a soname bump
(when ready).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Vincent Lefevre <vincent@vinc17.net> - 2026-01-14 13:20 +0100
  Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Adam Sampson <ats@offog.org> - 2026-01-14 13:50 +0100
    Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Vincent Lefevre <vincent@vinc17.net> - 2026-01-14 14:20 +0100
      Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Vincent Lefevre <vincent@vinc17.net> - 2026-01-14 14:20 +0100
      Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Vincent Lefevre <vincent@vinc17.net> - 2026-01-15 04:10 +0100
        Bug#1125474: libxm4: missing call to FcInit() when using Fontconfig Vincent Lefevre <vincent@vinc17.net> - 2026-01-15 11:00 +0100
        Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Graham Inggs <ginggs@debian.org> - 2026-01-15 11:20 +0100
          Bug#1125474: xpdf: Fontconfig warning: using without calling FcInit() Vincent Lefevre <vincent@vinc17.net> - 2026-01-15 11:50 +0100

csiph-web