[Pkg-fonts-devel] Q: web-font directory -> /usr/share/fonts/web-fonts ?

Jonas Smedegaard dr at jones.dk
Fri Aug 21 19:34:36 UTC 2015


Quoting Hideki Yamane (2015-08-21 20:51:06)
> 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.

Above includes *.ttf but I suspect you do not suggest _replacing_ our 
current /truetype subdir with /web-fonts.

I don't think we can sensibly serve the needs of websites - they will 
need to use symlinks.


 - Jonas

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

 [x] quote me freely  [ ] ask before reusing  [ ] keep private



More information about the Pkg-fonts-devel mailing list