building font does not seem to ship fonts

Muayyad AlSadi alsadi at gmail.com
Tue Oct 1 13:05:34 UTC 2019


I got it the following

$ 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 using the following "Amiri Quran 32" which I expect to refer to

/app/share/fonts/amiri-quran.ttf: Amiri Quran:style=Regular,عادي

> It is very likely that this is an issue with the app, not Flatpak.

If I placed same files under ~/.fonts/ outside flatpak it works normally

[image: Screenshot from 2019-10-01 16-04-28.jpg]





On Tue, Oct 1, 2019 at 3:55 PM Felipe Borges <felipeborges at gnome.org> wrote:

> Hi,
>
> Was this reported against the application itself?
> https://github.com/flathub/com.github.ojubaorg.Othman/issues
>
> It is very likely that this is an issue with the app, not Flatpak.
>
> Considering that this is a rendering issue, it could have been that
> something changed in the runtime that broke the application. You could also
> attempt to run the application from the command-line specifying a different
> runtime, this way you could bisect a regression (if any).
> https://github.com/flatpak/flatpak/wiki/Tips-&-Tricks#testing-an-app-with-a-different-runtime
>
> Cheers,
> Felipe.
>
> On Tue, Oct 1, 2019 at 10:09 AM Muayyad AlSadi <alsadi at gmail.com> wrote:
>
>> Hi,
>>
>> https://flathub.org/builds/#/builders/19/builds/1054/steps/7/logs/stdio
>>
>> like ~404 of build logs shows we have fonts and that they are copied to
>> /app/share/fonts
>>
>> but when running the app it does not seem to render them
>>
>> [image: Screenshot from 2019-09-28 16-57-09.png]
>>
>> _______________________________________________
>> Flatpak mailing list
>> Flatpak at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/flatpak
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20191001/b11e235d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2019-09-28 16-57-09.png
Type: image/png
Size: 400736 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20191001/b11e235d/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2019-10-01 16-04-28.jpg
Type: image/jpeg
Size: 43811 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20191001/b11e235d/attachment-0001.jpg>


More information about the Flatpak mailing list