• Resolved loudnotes

    (@loudnotes)


    I have Customizr running and everything is fine except that for some reason it’s not recognizing any of the included fonts. My social icons and other icons just show up as empty boxes instead of images.

    It’s not a browser issue because the fonts display accurately on other Customizr sites.

    Any idea what could cause this?

    Update: here is some error syntax from Firefox:

    downloadable font: invalid version tag (font-family: "genericons" style:normal weight:normal stretch:normal src index:1)
    source: https://MYURL/wp-content/themes/customizr/inc/css/fonts/fonts/genericons-regular-webfont.woff @ https://MYURL/wp-content/themes/customizr/inc/css/green.css?ver=3.0.13

    It also throws:
    downloadable font: rejected by sanitizer
    downloadable font: no supported format found

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you provide a url and I can take a look.

    Thread Starter loudnotes

    (@loudnotes)

    Nevermind, I figured it out!

    Using PHP for GAE, app.yaml needs to specify the extensions ttf, svg, etc. as static files, otherwise they won’t be uploaded properly. I had to add |eot$|svg$|ttf$|woff$ in app.yaml as per below:

    - url: /wp-content/(.*\.(ico$|jpg$|png$|gif$|eot$|svg$|ttf$|woff$))
      static_files: wordpress/wp-content/\1
      upload: wordpress/wp-content/(.*\.(ico$|jpg$|png$|gif$|eot$|svg$|ttf$|woff$))
      application_readable: true

    Well done! If you are using custom fonts often and know some basic css (which it sounds like you do), I recommend checking out font squirrel as they have a web generator that will generate everything you need, css and all. Not quite as intense as PHP.

    Thread Starter loudnotes

    (@loudnotes)

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Genericons/entypo not displaying’ is closed to new replies.