- Posts: 117
- Thank you received: 0
font google
-
consul
Inactive member - Topic Author
- Member
Less
More
11 years 2 months ago - 11 years 2 months ago #33998
by consul
font google was created by consul
Hello,
is it possible to have 2 fonts one for cirillic and other to keep latin as it is? i have Tangerine for Latin, but when i install also using google fonts the cirillic one, (website is also in russian) i have latin characters in cirillic font.
on top of template.css i added
@import url( fonts.googleapis.com/css?family=Open+San...:300&subset=cyrillic );
@import url( fonts.googleapis.com/css?family=Tangerine&subset=latin );
h2 {
font-size:48px;
line-height:40px;
font-weight:300;
padding:20px 0 20px 0;
margin:0;
text-decoration:none;
text-align:center;
font-family:'Open Sans Condensed', 'Tangerine', sans-serif ;
}
but defferennce between both fonts size are huge, a 48px is little but for other font is big, how can i separate them?
thank you
is it possible to have 2 fonts one for cirillic and other to keep latin as it is? i have Tangerine for Latin, but when i install also using google fonts the cirillic one, (website is also in russian) i have latin characters in cirillic font.
on top of template.css i added
@import url( fonts.googleapis.com/css?family=Open+San...:300&subset=cyrillic );
@import url( fonts.googleapis.com/css?family=Tangerine&subset=latin );
h2 {
font-size:48px;
line-height:40px;
font-weight:300;
padding:20px 0 20px 0;
margin:0;
text-decoration:none;
text-align:center;
font-family:'Open Sans Condensed', 'Tangerine', sans-serif ;
}
but defferennce between both fonts size are huge, a 48px is little but for other font is big, how can i separate them?
thank you
Last edit: 11 years 2 months ago by consul.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 2 months ago #34006
by ivan.milic
Replied by ivan.milic on topic font google
You can use default font-face properties to define default font size but you need to change way you are referencing fonts with @import you need to turn that into standard font-face referencing. Read this:
developers.google.com/fonts/docs/technical_considerations
developers.google.com/fonts/docs/technical_considerations
Please Log in to join the conversation.
Time to create page: 0.151 seconds