Change font-size by @ font-face

3

Is it possible to change the font-size of a source within @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 font does not have the character, so I want to use the O of the second, but the second font is smaller than the first one, so I need to increase it. If you know of any other way to solve this problem, please indicate a path. Thanks!

    
asked by anonymous 24.12.2015 / 03:22

1 answer

0
Unfortunately, @ font-face only allows you to change the following font attributes: font-family, src, font-stretch, font-style and font-weight.

If it's a small thing, maybe the font-weight might solve your problem.

Another solution is to add a standard font-size, as below:

* {
  font-size: 1.5em; 
}
    
23.02.2016 / 14:38