Within this SVG, there are two different font types being used: SymbolMT
for the mathematical expressions and Hind-Light
for the text.
Both fonts have been defined within the @font-face
section of the SVG.
The font used for the math expressions appears as expected, however, the font for the text does not match the Hind-Light
font.
These SVGs are embedded in a webpage that also utilizes the "Hind-Light" font.
Here is an example in JSFiddle: https://jsfiddle.net/gde58zw9/
Any suggestions on how to correct the font mismatch for the text?
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Ebene_1" x="0px" y="0px" width="161.501px" height="64.485px" viewBox="0 0 161.501 64.485" enable-background="new 0 0 161.501 64.485" xml:space="preserve">
<style type="text/css">
<![CDATA[
@font-face {
font-family: 'Hind-Light';
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABA') format('woff2'),
font-weight: 300;
font-style: normal;
font-display: swap;
}
]]>