[Pkg-javascript-devel] Bug#813466: Bug#813466: libjs-bootswatch: missing dependency on fonts-roboto-fontface

Jonas Smedegaard dr at jones.dk
Tue Feb 2 11:21:45 UTC 2016


Quoting Edward Betts (2016-02-02 11:06:42)
> The file /usr/share/javascript/bootswatch/paper/roboto-debian.css 
> includes font definitions like this:
> 
> @font-face {
>   font-family: 'Roboto';
>   font-style: normal;
>   font-weight: 700;
>   src: local('Roboto Bold'), local('Roboto-Bold'), url(fonts/Roboto-Bold.woff2) format('woff2');
> }
> 
> When I make use of the paper theme my browser console shows a 404 
> because fonts/Roboto-Bold.woff2 is missing.
> 
> This file is available in the fonts-roboto-fontface package. The 
> libjs-bootswatch package should recommend the fonts-roboto-fontface 
> package.

I think the proper fix involves a) adding a symlink from the needed 
roboto path to the relative path "fonts/Roboto-Bold.woff2" below 
whereever it is served, and b) depend on (not only recommend, due to 
symlink then being broken when suppressed) the roboto package.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20160202/7ba7ec18/attachment.sig>


More information about the Pkg-javascript-devel mailing list