Jump to content

Problem with Font-face...one font works, the other doesn't


kuba2
 Share

Recommended Posts

Hello there

I have a strange problem with font-face. I build a html site and used four font-face fonts which work perfectly with the html site on the server.

http://blattwerk-bueren.ch/test/

Now I am implementing processwire, so everything is php and now two of the fonts won't work...

http://blattwerk-bueren.ch/process/

The Arista Fonts doesn't work, but the Trade Gothic works...I don't understand

Does anybody have a suggestion? Ist the Arista font somehow forbidden or something like that...... The php doesn't like it?

please help

Many Thanks

Jakob

That's in my CSS file at the top


@font-face { 
font-family: "Arista"; 
src: url("../fonts/Arista2.0.ttf"); 

}

@font-face { 
font-family: "Aristalight"; 
src: url("../fonts/Arista2.0_light.ttf"); 

}

@font-face { 
font-family: "ghoticlight"; 
src: url("../fonts/TradeGothicLH-Extended.ttf"); 

}

@font-face { 
font-family: "ghoticbold"; 
src: url("../fonts/TradeGothicLH-BoldExtended.ttf"); 

}

Link to comment
Share on other sites

It seems I found the solution....

I had to generate the font in Fontlab anew and use the new one.....probably something I had before with .jpg files from 2009....I had to save them in PS anew and they worked.....just some old digital files which are out of date

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...