Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

svg fonts not showing

  • 3 valiny
  • 6 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i sambodhiprem

more options

Dear Firefox forum

I've created a logo using a Google font called 'Buda' together with some vector shapes.

When I save this logo as a .svg file and display it as a background-image in my css file, the font looks good in Chrome and Safari, but not in Firefox where this font has reverted to a default font.

Would you be able to point me to an article that explains how I can display this font, so that it will display properly in all browsers?

The above mentioned svg logo was created using Sketch (Bohemian Coding). I have contacted them, they replied that it is a "Firefox related" issue.

Can you help?

kind regards,

Sambodhi Prem

Dear Firefox forum I've created a logo using a Google font called 'Buda' together with some vector shapes. When I save this logo as a .svg file and display it as a background-image in my css file, the font looks good in Chrome and Safari, but not in Firefox where this font has reverted to a default font. Would you be able to point me to an article that explains how I can display this font, so that it will display properly in all browsers? The above mentioned svg logo was created using Sketch (Bohemian Coding). I have contacted them, they replied that it is a "Firefox related" issue. Can you help? kind regards, Sambodhi Prem

All Replies (3)

more options

The Buda font shows when I check the Google page.

Are there any error messages about this font in the Browser Console (Firefox/Tools > Web Developer)?

more options

Hi Cor-el

I have now discovered that if I install the font called 'Buda' (used in my .svg file) on my local machine, everything is how it should be in Firefox. But if the font is not installed locally, Firefox, Chrome and Safari all display a default font. Which leads me to believe that the svg file is not able to access the Google font hosted on the web and that this is not a Firefox specific issue.

Would you be able to offer some help even though this is not a Firefox specific issue?

I have in my css file the following reference to the 'Buda' font:

@import url(http://fonts.googleapis.com/css?family=Buda:300&text=Alexander%20Technique);

@font-face {

   font-family: 'budalight';
   src: url('../fonts/Buda/buda-light-webfont.eot');
   src: url('../fonts/Buda/buda-light-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Buda/buda-light-webfont.woff') format('woff'),
        url('../fonts/Buda/buda-light-webfont.ttf') format('truetype'),
        url('../fonts/Buda/buda-light-webfont.svg#budalight') format('svg');
   font-weight: normal;
   font-style: normal;

}

Perhaps this is not enough?

I was hoping that the 'Buda' font that is embedded in the .svg file was able to access the Google hosted font so that people who don't have this font installed on their machine can view it as intended. This seems to work fine for fonts that are used in the html file and referenced in the css file, but I'm having trouble with fonts that are used in .svg files.

I could circumvent the problem by converting the font to outlines, but I'd prefer not to do that.

I'd appreciate your help.

kind regards

Sambodhi Prem

more options

I have uploaded the page with the problem: http://globalsuitcasedesign.com/temp-host/AT-info/logo-test.html

kind regards

Sambodhi Prem