From e422e4af62827b3bb678638c1120cf504626d758 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 7 May 2020 16:13:54 -0400 Subject: [PATCH] Garuda moved to an OTF file in Fedora 33+ --- chromium.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chromium.spec b/chromium.spec index 3d9f828..5c1c3fb 100644 --- a/chromium.spec +++ b/chromium.spec @@ -916,7 +916,12 @@ cp -a /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf /usr/share/fonts/dejavu- %else cp -a /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf . %endif +%if 0%{?fedora} >= 33 +cp -a /usr/share/fonts/thai-scalable/Garuda.otf . +sed -i 's|Garuda.ttf|Garuda.otf|g' ../BUILD.gn +%else cp -a /usr/share/fonts/thai-scalable/Garuda.ttf . +%endif cp -a /usr/share/fonts/lohit-devanagari/Lohit-Devanagari.ttf /usr/share/fonts/lohit-tamil/Lohit-Tamil.ttf . cp -a /usr/share/fonts/google-noto/NotoSansKhmer-Regular.ttf . popd