building font does not seem to ship fonts
Muayyad AlSadi
alsadi at gmail.com
Mon Oct 7 09:07:39 UTC 2019
yes they did, old version was lower case
I'm using latest tarball (at the time of build)
https://github.com/alif-type/amiri/archive/054d41d/amiri-054d41dc54992ff082808f6cfd2a068b59d3211c.tar.gz
from this source
https://github.com/alif-type/amiri/commits/master
as you can see here
https://github.com/flathub/com.github.ojubaorg.Othman/blob/master/com.github.ojubaorg.Othman.json
"sources": [
{
"type": "archive",
"url": "
https://github.com/alif-type/amiri/archive/054d41d/amiri-054d41dc54992ff082808f6cfd2a068b59d3211c.tar.gz
",
"sha256":
"ea6e035baad47dbfcc6a0e9ae1f49d7eab3d7e47938ff2d37c77b4b17437c10e"
},
then
"build-commands": [
"pwd",
"ls -lh",
"mkdir -p /app/share/fonts/",
"cp *.ttf /app/share/fonts/",
"mkdir -p /app/etc/fonts/conf.d/",
"cp amiri-fontconfig.conf /app/etc/fonts/conf.d/",
"cp amiri-quran-fontconfig.conf /app/etc/fonts/conf.d/",
"fc-cache -fs"
]
On Mon, Oct 7, 2019 at 11:29 AM Alexander Larsson <alexl at redhat.com> wrote:
> On Fri, Oct 4, 2019 at 6:48 PM Muayyad AlSadi <alsadi at gmail.com> wrote:
> >
> > very strange! why "ls" gives upper case, while "fc-list" gives snake
> case?
> >
> > $ flatpak --command=ls run com.github.ojubaorg.Othman /app/share/fonts
> > Amiri-BoldSlanted.ttf Amiri-Bold.ttf AmiriQuranColored.ttf
> AmiriQuran.ttf Amiri-Regular.ttf Amiri-Slanted.ttf
> >
> > $ flatpak --command=fc-list run com.github.ojubaorg.Othman | grep Ami
> > /app/share/fonts/amiri-bold.ttf: Amiri:style=Bold,عريض
> > /app/share/fonts/amiri-regular.ttf: Amiri:style=Regular,عادي
> > /app/share/fonts/amiri-boldslanted.ttf: Amiri:style=Bold Slanted,عريض
> مائل
> > /app/share/fonts/amiri-quran-colored.ttf: Amiri Quran
> Colored:style=Regular,عادي
> > /app/share/fonts/amiri-quran.ttf: Amiri Quran:style=Regular,عادي
> > /app/share/fonts/amiri-slanted.ttf: Amiri:style=Slanted,مائل
>
> I'm not sure exactly what happens, but this smell to me like a stale
> fontconfig cache. Did the filenames change recently, or do you have a
> version of the font on the host that has the other case?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20191007/21c09cf8/attachment.html>
More information about the Flatpak
mailing list