Ultimate Branding JS Error - downloadable font: OS/2: bad linegap

Staff: James Morris
WordPress: 4.7.4
Ultimate Branding: 1.8.3.1
Browser: Firefox 52.0.2 (Build: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0)

In WP Admin -> Branding, the following JS error is thrown, only in Firefox. This is consistent on both Windows and Mac.

downloadable font: OS/2: bad linegap: -64 (font-family: "icomoon" style:normal weight:normal stretch:normal src index:1) source: http://ss.wpdevtests.com/wp-content/plugins/ultimate-branding/ultimate-branding-files/css/fonts/icomoon.ttf

  • James Morris
    • WordPress Enthusiast

    Hello Jerry,

    I've spoken with the Dev Team and they are looking into a solution for this to be released in future versions. As a temporary workaround, would you please replace the content of the following file with the supplied code?

    File: /wp-content/plugins/ultimate-branding/ultimate-branding-files/css/admin-icon.css

    Code:

    @font-face {
    	font-family:'icomoon';
    	src:url('fonts/icomoon.eot');
    	src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),url('fonts/icomoon.ttf') format('truetype'),url('fonts/icomoon.woff') format('woff'),url('fonts/icomoon.svg#icomoon') format('svg');
    	font-weight:normal;
    	font-style:normal;
    }
    
    #adminmenu #toplevel_page_branding div.wp-menu-image:before {
      font-family: 'icomoon' !important;
      content: "\e600";
    }
    
    #adminmenu .toplevel_page_branding div.wp-menu-image img {
      display: none;
    }

    Please let us know if this resolves your issue.

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.