3
It is possible to change the font-size
from a source within the @font-face
?
I’m trying the following:
@font-face {
font-family: kivetts;
src: url(fonts/kivettsregular.otf);
}
@font-face {
font-family: DicksHandwriting;
src: url(fonts/DicksHandwriting.otf);
font-size:1.5em;
}
.menu-image-title {
font-family: 'kivetts', DicksHandwriting
}
The first source did not possess the character O, so I want to use the O of the second, however the second source is smaller than the first, so I need to increase it. If you know of any other way to resolve this problem, please indicate a path. Thank you!
You couldn’t do it like that:
<h4>P<span class="font_o" >ó</span></h4>
and so style.font_o { font-size: 1.5em; }
?– Samir Braga
Unfortunately not, the texts will be dynamic, I have no way to insert
<span></span>
in all the "O". Grateful.– Sandro Elias Graziosi
And how would you change your source in "Oh"?
– Samir Braga
Thus:
font-family: 'kivetts', DicksHandwriting
. See in operation: [http://108.179.252.83/~Magnolia/] notice in the menu, that "ó" is of the second source, because the first one does not have this character.– Sandro Elias Graziosi