Using the Dosis font from Google Webfonts ...
@import url(http:
after extensive testing in Firefox and Safari, realizing that I can never get around both browsers so that it looks absolutely fine, just like the original design looks in my photoshop, I came across the most disturbing problems
interval letter
No matter what I try, I cannot get the distance between letters directly in webkit browsers.
A simple example:
.text-basic { font-weight: 200; font-size: 16px; letter-spacing: 0.52px; line-height: 22px; }
It looks great the way I want it in Firefox (even better if I hacked FF into a font size of 15.5 pixels, which is fine [if anyone has an objection]).
However, in Safari, the distance between the letters simply will not work.
After some research, I found that it will not allow the distance between letters below 1px, but it is said that it does this if I use em measures. It will be so.
If I use before:
letter-spacing: 0.0618em
Nothing happens. Without changes. The spacing between the letters is too low.
But if I use:
letter-spacing: 0.0619em
Suddenly, it snaps, and the distance between the letters is too great. As a text block of 10 words suddenly takes up more than 50 extra pixels in width.
I do not understand.
Does anyone know how to fix this?
Thanks.
source share