Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2018-11-28 16:40:05

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,157
Website

Re: theme's link

No sorry, it’s not yet resolved. In Firefox (only), I still get …

Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' stimmt nicht mit 'https://textpattern.com https://www.textpattern.com https://forum.textpattern.io' überein).

… for each of the four webfonts and Georgia shows instead.


TXP Builders – finely-crafted code, design and txp

Online

#12 2018-11-28 17:30:43

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: theme's link

Out of interest – is it a mainline or long-term Firefox version?

Offline

#13 2018-11-28 19:17:45

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,157
Website

Re: theme's link

It says Firefox Quantum 63.0.3 (64-Bit). I now get an additional warning in red (with a “2” indicating twice):

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert (“script-src”).

The other four notices are still there. It’s not crucial by any means and it works in Chrome and Safari just fine. Just wondered.

EDIT: I think that’s “The page’s settings blocked the loading of a resource at self.” in English


TXP Builders – finely-crafted code, design and txp

Online

#14 2018-11-28 19:33:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,906
Website

Re: theme's link

Hi Pete, I just tested them on FF Quantum 63.0.3, Safari 12.0.1, Chrome 70.0.3538.110 and Opera 56.0.3051.116.

All looks just fine from here.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#15 2018-11-28 20:36:54

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,157
Website

Re: theme's link

colak wrote #315445:

Hi Pete, I just tested them on FF Quantum 63.0.3 … All looks just fine from here.

Weird: Does it really show you the menu items, the forum titles and forum topic headings in PT Serif in Firefox? They, of course, show for me, just not in the same font as the other browsers.

I’d hate to have wasted Pete’s time on something that only happens for me…


TXP Builders – finely-crafted code, design and txp

Online

#16 2018-11-28 21:02:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: theme's link

Just chiming in. Now you’ve tinkered with the policy I’m seeing this in Firefox and Chrome:

Access to font at ‘https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff2’ from origin ‘https://forum.textpattern.io’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘https://textpattern.com https://www.textpattern.com https://forum.textpattern.io’, but only one is allowed.

for 4 fonts.

But Safari doesn’t complain. Go figure.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#17 2018-11-28 21:04:38

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: theme's link

Bloke, colak, jakob: please try now. Thank you for the reports.

Offline

#18 2018-11-28 21:09:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,458
Website

Re: theme's link

Firefox:

downloadable font: download timed out (font-family: “PT Serif” style:normal weight:700 stretch:100 src index:1): bad URI or cross-site access not allowed source: https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-700.woff unknown:1:731

Chrome:

Access to font at ‘https://textpattern.com/assets/fonts/pt-serif-v9-latin-ext-regular.woff’ from origin ‘https://forum.textpattern.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#19 2018-11-28 21:12:58

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: theme's link

OK, need to think on this. Some browsers permit multiple entries in Access-Control-Allow-Origin, some don’t. Leave it with me.

Offline

#20 2018-11-28 22:59:40

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,157
Website

Re: theme's link

here too: Firefox still not showing the correct fonts and showing the notices in the console. Chrome gives me the notices too (I am running a dev version of that) but the fonts do display.


TXP Builders – finely-crafted code, design and txp

Online

Board footer

Powered by FluxBB