[Pkg-fonts-devel] Q: web-font directory -> /usr/share/fonts/web-fonts ?
Hideki Yamane
henrich at debian.or.jp
Fri Aug 21 18:51:06 UTC 2015
Hi,
On Fri, 21 Aug 2015 17:55:48 +0200
Jonas Smedegaard <dr at jones.dk> wrote:
> The subdir names we currently use all reflect the actual format, so I
> prefer that we do same for SVG-based fonts. Therefore I propose this
> path:
>
> /usr/share/fonts/svg/
It's reasonable but it contains other format like eof, woff and web fonts
are used with css files that specifies those eof, woff and svg files as
stays same directory.
> @font-face {
> font-family: 'octicons';
> src: url('octicons.eot?#iefix') format('embedded-opentype'),
> url('octicons.woff') format('woff'),
> url('octicons.ttf') format('truetype'),
> url('octicons.svg#octicons') format('svg');
> font-weight: normal;
> font-style: normal;
> }
If it would be separated to each format, it's bit hassle for users
to collect those web fonts to one directory like /var/www/some-site/.
It's handy to put all files to one /usr/share/fonts/web-fonts, IMO.
--
Hideki Yamane <henrich at debian.or.jp>
More information about the Pkg-fonts-devel
mailing list