On Thu, Jan 05, 2023 at 07:46:38AM +0000, Julian Gilbey wrote:
> I think a solution may be to do the following:
> 
> * Remove the forkawesome links from
>   debian/python-qtawesome-common.links
> 
> * Copy the forkawesome font file three times, and modify the fontname
>   of each one using https://github.com/chrissimpkins/fontname.py
>   (requires a build-depends on python3-fonttools)

That part seems to work...

> * Remove the fontawesome5-*charmap.json files from the orig tarball,
>   as they're probably not DFSG-free either.  (I presume they come from
>   the same non-DFSG source as the fonts themselves.)
>
> * Create new fontawesome5-*charmap.json files from
>   /usr/share/fonts-fork-awesome/css/v5-compat.css  Below is a quick
>   script to do this.

That causes problems, it turns out: it is fine to try to use a
character which does not appear in the .ttf/.woff/... file, but not
one which does not appear in the charmap.  So we'll leave these for
the time being (though I do have a better idea for the future).  So
packages (though there are none in Debian at this point in time) which
expect qtawesome to actually have fontawesome5 will just end up with
missing icons rather than crashing.

Anyway, I'm working on this now.

Best wishes,

   Julian

Reply via email to