OJS 3.1.2.4 - Different typeface for national characters

My settings:

font_ustawienia

On the article page, national characters have a different typeface:

font_wyglad

Is this an OJS problem or a Google font problem?

Regards
Wojtek

hi @WSMH

Can you provide a link to an article? OJS just applies the font face via the style sheet, it wouldn’t change the rendering of the characters. Your browser might though. If you have a link I can compare your screenshot to mine.

How does the font look here? Google Fonts

Cheers,
Jason

Thank you for your interest.

I think this is not just a browser problem. I have the same problem on my smartphone:

fontr_smartfon

This is the link to the test article: aą cć eę lł nń oó sś zż zź AĄ CĆ EĘ LŁ NŃ OÓ SŚ ZŻ ZŹ | Mechanik SC TEST

The font from your link looks like this in my browser:

font_google

Edit:

I copied the text from Google to a test article. There are differences:

font_google_ojs

Regards
Wojtek

I checked at http://browsershots.org/ how the test article looks in different browsers.
It turns out that this is a browser-dependent problem.
Here are the results:

There are problems:

Opera 10.60 / Debian 6.0 (squeeze)
Opera 11.64 / Debian 6.0 (squeeze)
Firefox 28.0 / Debian 6.0 (squeeze)
Firefox 29.0 / Debian 6.0 (squeeze)
Firefox 9.0.1 / Ubuntu 9.10 (Karmic Koala)
Firefox 21.0 / Ubuntu 9.10 (Karmic Koala)
Konqueror 4.8 / Debian 6.0 (squeeze)
Luakit 1.8.0 / Ubuntu 9.10 (Karmic Koala)
SeaMonkey 2.7.2 / Ubuntu 9.10 (Karmic Koala)
Firefox 38.0 / Debian Testing (Lenny)
SeaMonkey 2.26.1 / Debian Testing (Lenny)
Opera 12.16 / Ubuntu 12.04 LTS (Precise Pangolin)

No problem:

Chrome 44.0.2403.157 / Windows 2008 R2 (Server)
Chrome 45.0.2454.85 / Windows 2008 R2 (Server)
Chrome 71.0.3578.98 / Windows 2008 R2 (Server)
Chrome 51.0.2704.103 / Windows 2008 R2 (Server)
Opera 58.0.3135.65 / Windows 2008 R2 (Server)
Opera 57.0.3098.116 / Windows 2008 R2 (Server)
Chrome 73.0.3683.86 / Windows 2008 R2 (Server)

Regards
Wojtek

Your journal article looks quite good for me. Firefox, on Ubuntu.

Screenshot%20from%202019-12-24%2011-40-16

We wrote simultaneously. :slight_smile:
Look at my earlier post.

I’m sorry for the trouble.

Regards
Wojtek

I know it says that there are possible problems, but I don’t really see an issue on my platform here, nor on my phone. OJS does not actually render the font. It simply includes the link to the CSS and applies the font-face rule. The rest is up to the browser.

I already know. :slight_smile:
The page code is missing ‘subset=latin-ext’.
I put the code downloaded from Google for the test in ‘DefaultThemePlugin.inc.php’ - that’s fine.

Code from Google:

link href=“https://fonts.googleapis.com/css?family=Noto+Serif:400,400i,700,700i&display=swap&subset=latin-ext” rel=“stylesheet”

I don’t know if I will make this change permanently, but the test was successful.

Regards
Wojtek