5 replies [Last post]
VartotojoVardas
VartotojoVardas's picture
User offline. Last seen 1 year 15 weeks ago. Offline
newbie
Timezone: GMT+1
Joined: 2010-09-02
Posts: 6
Points: 8

My homepage is supposed to use LM Roman font. I am using the following code to declare it:

@font-face {
font-family: 'romanc';
src: url('lmromancaps10-regular.eot');
src: url('lmromancaps10-regular.otf');

}

@font-face {
font-family: 'roman';
src: url('lmroman10-regular.eot');
src: url('lmroman10-regular.otf');
}

It does work perfectly well in Mac OS X with Opera and Safari, but not in Windows XP with Opera, FF, Chrome or IE (all newest versions).

Does it work for you? If not, what is the problem?

To check it, follow here to my draft homepage . You can find a sample of LM Roman font here .

VartotojoVardas
VartotojoVardas's picture
User offline. Last seen 1 year 15 weeks ago. Offline
newbie
Timezone: GMT+1
Joined: 2010-09-02
Posts: 6
Points: 8

P.S. A sample from Safari

UPDATE: Problem solved. There is further problem outlined in the 4th message.

Hugo
Hugo's picture
User offline. Last seen 42 min 52 sec ago. Offline
rank Moderator
Moderator
Joined: 2004-06-06
Posts: 15096
Points: 2191

Works for me on Win XP FF.

Works for me on Win XP FF. however I do find issues from time to time with this notion of @font-face embedding, Opera seems to have trouble at times, syntax?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

VartotojoVardas
VartotojoVardas's picture
User offline. Last seen 1 year 15 weeks ago. Offline
newbie
Timezone: GMT+1
Joined: 2010-09-02
Posts: 6
Points: 8

Some further details

Thanks, Hugo Smile

I seem to have solved font-face problem per se. However, Windows machines still tend to display fonts in a very odd fashion. See for yourself (Opera Win):
sample 2.png

Just for comparison, Opera in Mac
sample.png

Hugo
Hugo's picture
User offline. Last seen 42 min 52 sec ago. Offline
rank Moderator
Moderator
Joined: 2004-06-06
Posts: 15096
Points: 2191

In all honesty? We have

In all honesty? We have hankered after some form of typographic control for years, the notion of font embedding is not new it's as old as the hills, recently with improvements it's become considered ready for prime time and usable, but somehow I don't feel it is really, perhaps the issue lies with the actual fonts available and their quality after all it's supposed to be a very technical and skilled process creating fonts I suspect many of the free or open licence variety are not really up to the job.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Stomme poes
Stomme poes's picture
User offline. Last seen 14 weeks 5 days ago. Offline
rank Elder
Elder
Timezone: GMT+2
Joined: 2008-02-04
Posts: 1854
Points: 378

Windowz : (

You might find out more about the issues with Windows in this blog page on FontSquirrel:
http://www.fontsquirrel.com/blog/2009/11/what-to-expect-from-our-font-face-generator
esp Charles Roper's comment.

I'm no expert, but I fake one on teh Internets