I used font-squirrel to embed a font onto a site (with Apply Hinting selected), and it's not rendering properly in Chrome v15.0 for PC. The font shows, but poorly. I'm sure that font-squirrel gave me the right code, so I assume there is a conflict in my CSS. Thanks in advance for your help.
Link to site
@font-face {
font-family: 'RockwellStd-Light';
src: url('rockwellstdlight-webfont.eot');
src: url('rockwellstdlight-webfont.eot?#iefix') format('embedded-opentype'),
url('rockwellstdlight-webfont.woff') format('woff'),
url('rockwellstdlight-webfont.ttf') format('truetype'),
url('rockwellstdlight-webfont.svg#RockwellStdLight') format('svg');
font-weight: lighter;
font-style: normal;
}
h1 {
font-family:'RockwellStd-Light', Helvetica, Ariel;
font-size:34px;
color:#407d3b;
font-weight:lighter;
margin-left:20px;
}
h2 {
font-family:'RockwellStd-Light', Helvetica, Ariel;
font-size:32px;
color:#ece1af;
font-weight:lighter;
line-height:42px;
}
h3 {
font-family:'RockwellStd-Light', Helvetica, Ariel;
font-size:20px;
color:#FFF;
font-weight:lighter;
}
p {
font-family:'RockwellStd-Light', Helvetica, Ariel;
font-size:14px;
line-height:17px;
color:#333;
text-align:justify;
}
.criteria_table {
font-family:'RockwellStd-Light', Helvetica, Ariel;
font-size:14px;
color:#FFF;
}
Go to Control Panel > Appearance and Personalization > Display > Adjust ClearType text (on the left). Check the box entitled “Turn on ClearType.” After going through a short wizard, this will fix some of the text rendering issues in Chrome.
The reason why Chrome is not loading pages may be down to something as simple as unstable or lost internet connection. Ensure that you have an active data plan, and restart your internet connection. Also, try loading other browsers and apps such as Firefox and WhatsApp.
If you notice that your text fonts look different on different browsers, it is because different browsers and devices use different rendering engines, and therefore may result in minor differences. Sometimes these minor differences can have a domino effect.
https://stackoverflow.com/a/9041280/1112665
For @font-face delivered fonts, the fix is to put the svg file right below .eot but above .woff and .ttf
From this:
@font-face {
font-family: ‘MyWebFont’;
src: url(‘webfont.eot’);
src: url(‘webfont.eot?#iefix’) format(‘embedded-opentype’),
url(‘webfont.woff’) format(‘woff’),
url(‘webfont.ttf’) format(‘truetype’),
url(‘webfont.svg#svgFontName’) format(‘svg’);
}
To this:
@font-face {
font-family: ‘MyWebFont’;
src: url(‘webfont.eot’);
src: url(‘webfont.eot?#iefix’) format(‘embedded-opentype’),
url(‘webfont.svg#svgFontName’) format(‘svg’),
url(‘webfont.woff’) format(‘woff’),
url(‘webfont.ttf’) format(‘truetype’);
}
Examples of this fix can be seen here:
FontSpring Examples
Adtrak Examples
You can specify text-shadow:
text-shadow: 0 0 1px rgba(0, 0, 0, .01);
When using custom fonts, to make them render better in google chrome. It forces Chrome to use an alternative rendering path. Please note that this will increase CPU load on the end users machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With