#5260 Host fonts for fedora-bootstrap
Closed: Fixed 7 years ago Opened 7 years ago by ryanlerch.

Currently, we host versions of the fedora-bootstrap theme at https://apps.fedoraproject.org/global/, for example:

https://apps.fedoraproject.org/global/fedora-bootstrap-1.0.1/fedora-bootstrap.css

So apps can pull this down from a central point.

We also use a bunch of standard fonts in the theme that would be great to host in /global/ as well. These will change a lot less than the bootstrap theme, so i put them in a repo here:

https://pagure.io/fedora-bootstrap-fonts/releases

Is it possible for the contents of this to go at:
https://apps.fedoraproject.org/global/fedora-bootstrap-fonts/

One thing about this though, is that these fonts need a custom CORS config for them to work when pulling down from apps. To get this working in my setup when i was testing, i needed to add this to my .htaccess:

<FilesMatch ".(eot|ttf|otf|woff|woff2)">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>

/me is not a sysadmin, so not sure if we can do this or not (alternatives approaches please :) ) but it would be nice to not have each user have to download these webfonts from each app that uses them.


Sure, this would be no problem. I'll see about doing this right after the freeze!

Just updated the fonts to a new version (0.2) -- mainly removing openiconic, and replacing it with fontawesome.

Pagure wont let up upload a tarball as large as this, but it is tagged in the repo.

This is now done, except that we do not have CORS allow-origin .
Instead, we have a CORS header that will allow using it from
.fedoraproject.org and pagure.io.
If you need it from other domains too, please open a ticket.

@puiterwijk changed the status to Fixed

7 years ago

Login to comment on this ticket.

Metadata