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

BarisW’s picture

Hi 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.

rot3r1’s picture

Status: Active » Closed (works as designed)

thanks 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??

@font-your-face can be used to load fonts in a Drupal theme. To add fonts to your Drupal theme, simply copy and paste the text below into your theme.info file. Until Drupal themes can declare dependencies on modules, you will also need to inform users of the need to enable @font-your-face.
fonts[local_fonts][] = "http://localhost/#8fe104bd5e522885cd0279e4764da3ef"
fonts[local_fonts][] = "http://localhost/#8fe104bd5e522885cd0279e4764da3ef"

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!!!