$version: 20231007021730;
$fontname: 'Radio Canada';
$fname: 'radiocanada';
$fdisplay: 'swap';

@mixin fontFace($fstyle,$fweight) {
    font-family: $fontname;
    font-style: $fstyle;
    font-weight: $fweight;
    font-stretch: 100%;
    font-display: $fdisplay;
    src: url('../fonts/'+$fname+'-'+$fweight+'.woff2?'+$version) format('woff2'),
         url('../fonts/'+$fname+'-'+$fweight+'.woff?'+$version) format('woff');
}

/* vietnamese */
@font-face {
    @include fontFace(normal,400);
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    @include fontFace(normal,400);
    unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    @include fontFace(normal,400);
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    @include fontFace(normal,700);
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    @include fontFace(normal,700);
    unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    @include fontFace(normal,700);
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
