https://bugzilla.redhat.com/show_bug.cgi?id=1806272



--- Comment #14 from Nicolas Mailhot <[email protected]> ---
(In reply to Felix Schwarz from comment #13)

> weasyprint.spec has this commented right next to the requirement of
> dejavu-fonts-…: "Weasyprint will fail if no fonts are installed. There's no
> way to know what fonts the user would actually want, but require a few
> common ones that might be useful"
> As the package also requires dejavu-sans-fonts, dejavu-sans-mono-fonts,
> dejavu-serif-fonts I think dropping -common is right choice. 
> Weasyprint uses fontconfig at runtime anyway. 

Then the -common dep was never needed in this spec (-common was a dep of the
others when it existed :()

> However I'm not familiar with
> Fedora's font packaging and I'm only maintaining the weasyprint package for
> a few months so I'd be glad to know if the current weasyprint spec file
> needs changes. :-)

The “will fail if no fonts are installed” case could not be handled gracefully
in the past because default font groups existed solely in comps. Now that we
have proper default metapackages I believe depending on 'font(:lang=en)' would
work better for you in current Fedora releases. Though I don’t like much
hardcoding a specific script. langpack-core-fonts-any or font(:any) would be
even better if those were available

@parag: how would i18n prefer to handle this case?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to