Closed (works as designed)
Project:
@font-your-face
Version:
7.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2012 at 14:46 UTC
Updated:
29 Jan 2012 at 19:33 UTC
Hi!
i just follow the instruction and import the local font every thing are fine, in drupal default template but in fusion i just copy and past the given address that module give it to me in my .info file but our template report the below error!
The font declaration http://localhost/#8fe104bd5e522885cd0279e4764da3ef that is added to the theme .info file cannot be loaded. Make sure the font exists in the local_fonts font list.
I checked ,the imported local font are available in
sites\all\themes\acquia_prosper\fontyourface\local_fonts\bmitra-normal-normal
what's the problem!
thanks!
Comments
Comment #1
BarisW commentedHi Hossein,
the .info integration is an add-on, it's not needed to put the string in the .info file. You can use the .info implementation to make sure a specific font you want to use in your theme is always available. However, it might be an issue in combination with locally uploaded fonts.
You can safely remove the line in your .info file and just use the interface to declare the font.
Comment #2
rot3r1thanks a lot baris, specially for yur quick reply!!!
I found the problem!
I applied the font to Body tags and my template default font override body assigned font,so i applied font to div and p and everything work fine!
but what is this message that "in theme" tab give to me??
it's really make me confuse!!
and also i think it's good to point about font overriding in child tag ,in apply to css selector!!!