How to use fonts in Magento from fonts-family installed in theme/fonts?

Ruby: 2 weeks ago

I added the code line below in local.xml with link to google, but we do not want to rely on an external url.

    <action method="addLinkRel"><rel>stylesheet</rel><href>//</href></action>

So, we installed the "Open Sans" fonts-family (10 fonts) in skin/frontend/default/(our theme)/fonts.

What are the code lines we must add in local.xml to call multiple fonts from our local theme?

Hannah: 2 weeks ago

You do not need to add font in xml

Go to your style add below code in your stylesheet

@font-face {
    font-family: Open+Sans;
    src: url(../fonts/Open+Sans.ttf);