4 replies [Last post]
mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 24 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hello All,

Working on a site (where i only have to fix css) and i tried to replace the "cufon" (yuck!!) with the @font-face family. But everytime i run the replacement, it converts the text to unreadable characters.

Here's the live link : http://chemould.thoughtfulviewfinder.in/artists-exhibitons/Artist-%20Aditi%20Singh.html. Try hovering on the image. I am guessing that since it is converting the text to some unknown characters, it means that the font is loading fine.

@font-face {
	font-family: 'Zeng Sans';
	src: url('xx/xx/xx/css/fonts/ZSnDRgEp.eot');
	src: local('ZingSans'), local('ZingSans'), url('xx/xx/xx/css/fonts/ZSnDRgEp.ttf') format('truetype');
}
 
a.newfont:hover{
	font-family:'Zeng Sans';
}

Regards,
Mihir.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 weeks 5 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

Have you referenced the right

Have you referenced the right font source? Looks like a ding-bat font. Where can we view the font family?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 24 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hey Gary, Dropped you an

Hey Gary,

Dropped you an message with the physical path of the files. I have referenced them correctly in the css file. Sending you a message, so as not to make the file directly available for download. Please take a look when you can.

Regards,
Mihir.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 weeks 5 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

I get an error message that

I get an error message that this does not appear to be a valid font. From where was the font obtained? Can you re-install it?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 24 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hello Gary, This font was in

Hello Gary,

This font was in the website directory and was being used for the cufon script. Since i have taken over the project I do not have the original font.

Regards,
Mihir.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com