Merge pull request #171 from AlexanderGalen/master

Add geometricPrecision text-rendering on text elements to support ligatures
This commit is contained in:
John O'Nolan 2015-02-23 11:31:08 +02:00
commit 8f9a185a80
1 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,7 @@ body {
-webkit-font-feature-settings: 'kern' 1;
-moz-font-feature-settings: 'kern' 1;
-o-font-feature-settings: 'kern' 1;
text-rendering: geometricPrecision;
}
::-moz-selection {
@ -203,6 +204,7 @@ h4, h5, h6 {
line-height: 1.15em;
margin: 0 0 0.4em 0;
font-family: "Open Sans", sans-serif;
text-rendering: geometricPrecision;
}
h1 {
@ -246,6 +248,7 @@ p, ul, ol, dl {
-moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
-o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
margin: 0 0 1.75em 0;
text-rendering: geometricPrecision;
}
ol, ul {