The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

20. November 2011, 18:22:40

jfk2k

Posts: 7

text-transform not apply on @font-face

The problem is FONT-FACE css rule render font before TEXT-TRANSFORM css rule.

If we have:

- @font-face rule with font has only uppercase subset (woff,ttf,svg,etc - scheme generated by fontsquirrel.com. For what? For decrease size. I have 250kb grunge font and with custom subset i decrease size to 60kb and now it works on blackberry)
- html string is - <h1>Opera</h1>
- and css rule is - h1{font-family:'OurFont',sans-serif;text-transform:uppercase}

Result is:

All letters in H1 tag will be displayed in uppercase,
but only 1st letter - O - will be displayed in our @font-face, all other with default sans-serif

Reproduced in Win7 Opera 11.60 beta 1147 and 12.00 alpha 1155

Not reproduced on latest Firefox, Chromium, and IE

Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)