Bug#963690: ghc: Haddock uses fonts from URL

Ilias Tsitsimpis iliastsi at debian.org
Thu Jun 25 12:02:36 BST 2020


Package: ghc
Version: 8.8.3-1
Severity: important
Forwarded: https://gitlab.haskell.org/ghc/ghc/issues/18392

Haddock produces documents using fonts from the hard-coded URL
https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700. 
Lintian produces the following warning:

W: privacy-breach-generic [<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=pt+sans:400,400i,700" />]
(https://fonts.googleapis.com/css?family=pt+sans:400,400i,700)

We should add an option to haddock (just like --mathjax=URL) to allow
users to override the hard coded fontUrl to something available locally.
Debian already packages this font family (fonts-paratype package) so we
could use that flag to point to them instead of Google.

-- 
Ilias



More information about the Pkg-haskell-maintainers mailing list