[Python-modules-team] Bug#878237: sphinx-rtd-theme-common: do not depend on fonts-lato specifically

Dmitry Shachnev mitya57 at debian.org
Thu Jul 5 18:13:20 BST 2018


Hi Ernest,

On Wed, Oct 11, 2017 at 04:18:03PM +0200, Ernest Adrogué wrote:
> Dear Maintainer,
>
> Having a dependency on fonts-lato seems inappropriate because there is
> an extended version of this font, fonts-crosextra-carlito, that might be
> preferred by the user.  It seems to me that sphinx-rtd-theme-common
> should be able to function with either font and not depend on either
> one of them specifically.

Upstream sources of sphinx-rtd-theme specify the base font name as
"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif” [1].

I suggest you to file a bug upstream [2] if you want another alternative
to be on that list.

However, from Debian packaging point of view, the dependency on fonts-lato
package is currently unavoidable, because upstream sources specify a local
copy of Lato font [3], and we achieve that by symlinking to the packaged
version of it.

[1]: https://github.com/rtfd/sphinx_rtd_theme/blob/0.4.0/sass/_theme_variables.sass#L63
[2]: https://github.com/rtfd/sphinx_rtd_theme/issues/new
[3]: https://github.com/rtfd/sphinx_rtd_theme/blob/0.4.0/sass/_theme_font_local.sass

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180705/012c7487/attachment.sig>


More information about the Python-modules-team mailing list