• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Bug reported: @font-face does not work when testing in local environment

    Future releases
    2
    3
    736
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • a3ano
      a3ano last edited by

      When testing in a local environment @font-face fonts (using a local installed font) are blocked.
      "Inspect element" roprts in the console:
      Font from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access.

      I do not expect font files to be blocked when working completely within a protocol 'file://' environment.
      I reported bug DNA-43075 "Locally installed fonts are blocked when used in local environment".

      Using OPR/33.0.1967.0 (Edition developer), Windows 10 64-bits

      Reply Quote 0
        1 Reply Last reply
      • leocg
        leocg Moderator Volunteer last edited by admin

        Take a look at https://forums.opera.com/topic/11512/font-face-not-working

        Reply Quote 0
          1 Reply Last reply
        • a3ano
          a3ano last edited by

          I received a reply form Opera on my bug report.
          The bug is confirmed. It was an unintended side effect from another change.
          The solution is already implemented in the Chromium code and will be shipped in a future chromium release.

          Opera, thanks for the prompt and clear reply.

          @leocg
          I was aware of the thread you pointed to. According to me that was however a different issue unrelated to the fact that for me it only occured in a local testenvironment.

          Regards, a3ano

          Reply Quote 0
            1 Reply Last reply
          • First post
            Last post

          Computer browsers

          • Opera for Windows
          • Opera for Mac
          • Opera for Linux
          • Opera beta version
          • Opera USB

          Mobile browsers

          • Opera for Android
          • Opera Mini
          • Opera Touch
          • Opera for basic phones

          • Add-ons
          • Opera account
          • Wallpapers
          • Opera Ads

          • Help & support
          • Opera blogs
          • Opera forums
          • Dev.Opera

          • Security
          • Privacy
          • Cookies Policy
          • EULA
          • Terms of Service

          • About Opera
          • Press info
          • Jobs
          • Investors
          • Become a partner
          • Contact us

          Follow Opera

          • Opera - Facebook
          • Opera - Twitter
          • Opera - YouTube
          • Opera - LinkedIn
          • Opera - Instagram

          © Opera Software 1995-