Treehouse: Grow your CSS skills. Land your dream job.

Strange SVG behaviour

  • # May 30, 2013 at 7:51 am

    Hi all,
    I recently started working with SVG files in order to make my websites a bit more responsive. I replicated a logo, wich was given to me as a pixel-graphic, as a SVG file and put it on the site.
    The strange thing is that Firefox doesn’t seem to render the font but Chrome does.

    Does anybody have an idea why that might be?

    Here is an example. Hopefully it’ll help you guys figure out what the problem is:

    Much obliged

    # May 30, 2013 at 7:57 am

    AFAIK, FF doesn’t support SVG **fonts** although it supports SVG **images**

    # May 30, 2013 at 8:00 am

    As of now there is no live version of the site. What else could be helpful?

    # May 30, 2013 at 8:01 am

    Sorry I edited my post…see above.

    # May 30, 2013 at 8:08 am

    Can’t you somehow embed the characters you need in the SVG image? I can imagine it would be more effective than downloading a whole font for just 8 characters if you don’t use the font elsewhere.

    # May 30, 2013 at 8:55 am

    Hadn’t thought of embedding the characters. I will try that and it certainly makes more sense than providing another webfont to download. Thanks guys.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.