Closed (fixed)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
Code (general)
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Oct 2011 at 08:27 UTC
Updated:
12 Nov 2011 at 20:20 UTC
Hi,
Great work!
Is there a way to create a submodule with your own fonts?
It would be great when i could upload an ttf; apply it to a HTML tag and have it working.
Comments
Comment #1
mkalbere commentedIt needs more manipulation, ttf is not enough for web browser usage (need eot,& woff file)
have a look on http://www.fontsquirrel.com/fontface/generator
Comment #2
frans commentedI know ;)
I am not aware of a API web service creating the required font files. But maybe there is?
Besides that, it would also help me when I could use this modules interface and include my own (by fontsquirrel generated) zip.
This way we have a standardized way to include fonts.
Comment #3
sreynen commentedThere's already a local fonts submodule to upload all the different formats and create the CSS in the 7.x-1.x branch. Looks like that didn't get added to the 7.x-2.x branch. It should work with the exact same code, so you can just download the older version and copy that submodule to the newer version. If someone can create a patch after doing that, it would speed up getting it into the 7.x-2.x actual release.
Comment #4
BarisW commentedworking on it
Comment #5
BarisW commentedDone. It needed a bit of TLC, but it's working now.
Committed to 7.x-2.x-dev.
Please let me know if works as expected.
Comment #6
frans commentedTnx Baris,
Did a rough test. Just on my localhost, under ubuntu/FF. Seems to work as expected.
I will test it on a site in the coming weeks, with a package from custom fontsquirrel.
Comment #7
BarisW commentedFrans, thanks for testing! ;)
Comment #8.0
(not verified) commentedtypo fix