public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Add /app-built X11 font directories to fontconfig path
Date: Thu, 10 Sep 2026 21:21:56 GMT	[thread overview]
Message-ID: <178907531660.1.2739547052409145533.rpms-flatpak-runtime-config-144bba583387@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : 144bba5833873024305f52ac0d93516958752f14
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-03-04T20:29:27-05:00
            Stats  : +3/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/144bba5833873024305f52ac0d93516958752f14?branch=f45

            Log:
            Add /app-built X11 font directories to fontconfig path

X11 Type1 and TTF fonts are not included in the runtime but should
be handled by fontconfig if present; e.g. the full java-N-openjdk
requires the Type1 fonts for Swing.

---
diff --git a/50-flatpak.conf b/50-flatpak.conf
index 27e0964..336183c 100644
--- a/50-flatpak.conf
+++ b/50-flatpak.conf
@@ -7,6 +7,8 @@
         <cachedir>/usr/cache/fontconfig</cachedir>
 
         <dir>/app/share/fonts</dir>
+        <dir>/app/share/X11/fonts/Type1</dir>
+        <dir>/app/share/X11/fonts/TTF</dir>
         <cachedir>/app/cache/fontconfig</cachedir>
 
         <include ignore_missing="yes">/app/etc/fonts/local.conf</include>

diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index 82c34ca..7000bde 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -110,6 +110,7 @@ for f in `find /app/share/java ! -type d`; do ln -s $f /usr${f#/app}; done
 %changelog
 * Fri Mar 01 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 39-6
 - Add Java symlink trigger
+- Add /app-built X11 font directories to fontconfig path
 
 * Fri Dec 15 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 39-5
 - Add graphviz install trigger

                 reply	other threads:[~2026-09-10 21:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178907531660.1.2739547052409145533.rpms-flatpak-runtime-config-144bba583387@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox