Font variables (Light, Medium, etc.) are reverting to a different font in Frameless output RH2022
I followed Peter Grainge's instructions for displaying fonts on devices that don't have the installed fonts by adding the @11220649-face text to the CSS file. The URL file, Inter-VariableFont_slnt,wght.ttf, contains several variations of the font (e.g., Light, Medium, SemiBold, etc.) which I use for drop-down text and subheadings. The majority of my styles use the primary font which is Inter. The text I added to the CSS file initially was:
@11220649-face {
font-family: "Inter";
src: url("Inter-VariableFont_slnt,wght.ttf");
}
However, when I viewed the output on a different computer, it converted the Inter Light, Inter Medium, etc. text to Inter. Since variables of the primary font (e.g., "font-family: 'Inter Light';", "font-family: 'Inter Medium';", etc.) are in the CSS, I added similar @11220649-face text for the other three. For example:
@11220649-face {
font-family: "Inter Light";
src: url("Inter-VariableFont_slnt,wght.ttf");
}
However, when I viewed the output on a different computer, it converted the Inter Light, Inter Medium, etc. text to something else like Times Roman.
How do I get the variations of Inter to show correctly?
