public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flatpak-runtime-config] f45: Add /app-built X11 font directories to fontconfig path
@ 2026-09-10 21:21 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-10 21:21 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-10 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:21 [rpms/flatpak-runtime-config] f45: Add /app-built X11 font directories to fontconfig path Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox