LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-27-2017, 11:09 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
Greek characters not coming out correctly on Firefox 48


When I use Firefox to look up a Wikipedia article containing Greek characters, only the upper-case ones come out correctly. Instead of lower case Greek, I get a weird script which I can't identify, full of backward-sloping lines.

If I look at the same page in Links, the Greek comes out normally.

What must I do to make Firefox show foreign scripts properly?
Attached Thumbnails
Click image for larger version

Name:	firefox.png
Views:	22
Size:	29.7 KB
ID:	24060  
 
Old 01-27-2017, 11:27 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
For the page in question, can you try View->Text Encoding->Unicode.

Also, can you say what the Request Header Accept-Language and Accept-Charset settings are at the foot of this page: http://validator.w3.org/i18n-checker...lidate-by-uri+
 
Old 01-27-2017, 12:02 PM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
It's already set to Unicode. Validator shows:
Accept-Language en-US,en
Accept-Charset None found
 
Old 01-27-2017, 12:13 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Quote:
Originally Posted by hazel View Post
It's already set to Unicode. Validator shows:
Accept-Language en-US,en
Accept-Charset None found
Oh well, back to square one. That's exactly what I have and the page displays fine on my machine. I can't even emulate that strange character set you're seeing by changing my View encoding (I'd be interested to find out what it is!).

Which version of Firefox are you using? Are you experiencing character encoding problems anywhere else?

I'm assuming that your locale is set up as en_GB across the board, as mine is.
 
Old 01-27-2017, 12:21 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Ok, next attempt.

Edit->Preferences->Content->Fonts & Colours->Advanced

What are your settings for "Fonts for Greek"?

I have serif, serif, sans-serif, monospace; "Allow pages" ticked; Fallback text encoding: Default for current locale.
 
Old 01-27-2017, 12:38 PM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
Quote:
Originally Posted by hydrurga View Post
Ok, next attempt.

Edit->Preferences->Content->Fonts & Colours->Advanced

What are your settings for "Fonts for Greek"?

I have serif, serif, sans-serif, monospace; "Allow pages" ticked; Fallback text encoding: Default for current locale.
I have the same at all points.

It's Firefox 48 btw. I put that in the post title. Locale is en_GB.UTF-8.

Last edited by hazel; 01-27-2017 at 12:44 PM.
 
Old 01-27-2017, 12:47 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Quote:
Originally Posted by hazel View Post
I have the same at all points.

It's Firefox 48 btw. I put that in the post title.
Ah, so you did. :-)

If you have any add-ons, can you try launching Firefox in "Safe" mode (Help->Restart with Addons disabled)? I know that this is unlikely to solve the problem, but it just takes a minute to cross it off the list.

Then after that, can you try restarting Firefox with a new profile (firefox -P from the command line) in case your profile has become corrupted in some way?
 
Old 01-27-2017, 01:19 PM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
Nope, safe mode doesn't change it. To test the profile, I moved .mozilla away to a safe place, then used firefox -P to create a new one. Still no joy. I'm back with the old profile now.

Tomorrow I'm going to try in other distros. I've got Crux and Debian on this machine as well as the LFS I mostly work in. I suggest we call it a day for now and I'll report tomorrow what the other Firefox/Iceweasel installations did with the same page. But if anyone reading this can identify the script from the thumbnail, I'd be fascinated to know.
 
Old 01-28-2017, 01:04 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
I've just tried on Crux, where I have Firefox 50. This version renders Greek characters correctly except that it does not recognise the character eta. So I'm beginning to think it's a bug in Firefox 48.
 
Old 01-28-2017, 02:23 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Quote:
Originally Posted by hazel View Post
I've just tried on Crux, where I have Firefox 50. This version renders Greek characters correctly except that it does not recognise the character eta. So I'm beginning to think it's a bug in Firefox 48.
Are you able to temporarily upgrade your version of Firefox on the original machine to 50 and see if that does indeed solve the problem?

If not, you could always try running an AppImage (a portable version in effect) of Firefox 50 on the original machine and see what that gives. I don't know if AppImage have older versions of packages available - perhaps you could contact them and they could provide you with a Firefox 48 one which you could compare and contrast?

https://bintray.com/probono/AppImages

(Note: I haven't tried running an AppImage yet).

The script you're seeing is fascinating, almost having an Arabic style without being Arabic or one of its close relations. I had another look around for it last night but couldn't find it.
 
Old 01-28-2017, 10:05 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
Quote:
Originally Posted by hydrurga View Post
Are you able to temporarily upgrade your version of Firefox on the original machine to 50 and see if that does indeed solve the problem?
The development version of LFS has Firefox 51.0.1 so I built that. It still shows the same weird script. So...not a bug after all. It's a trivial issue but I hate it when computers don't behave logically.

I have however identified the script. It's a form of Syriac. Abiword is very good on foreign scripts and it includes this font under the name of Serto Kharput.

Furthermore it's site-specific. The Wikipedia article on Syriza does this, but Syriza's own page syriza.gr does not, except for the page title (shown on the title bar) and some Twitter feeds.

Last edited by hazel; 01-28-2017 at 11:36 AM. Reason: Added paragraph
 
Old 01-28-2017, 11:46 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Nice find, Hazel. From that, and leaning heavily on this page: https://bbs.archlinux.org/viewtopic.php?id=210303 , what are the results of:

fc-match serif

fc-match sans-serif

fc-match monospace
 
Old 01-28-2017, 12:40 PM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
Quote:
Originally Posted by hydrurga View Post
Nice find, Hazel. From that, and leaning heavily on this page: https://bbs.archlinux.org/viewtopic.php?id=210303 , what are the results of:

fc-match serif

fc-match sans-serif

fc-match monospace
They're all Luxi TTF fonts
 
Old 01-28-2017, 12:51 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
Quote:
Originally Posted by hazel View Post
They're all Luxi TTF fonts
Ok. Does

fc-match --all | grep Syriac

and

fc-match --all | grep Serto

produce anything of note (e.g. any generic fonts that match to those fonts)?
 
Old 01-28-2017, 01:24 PM   #15
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,568

Original Poster
Blog Entries: 16

Rep: Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303Reputation: 3303
fc-match --all | grep Syriac
Code:
SyrCOMAdiabene.otf: "East Syriac Adiabene" "Regular"
SyrCOMCtesiphon.otf: "East Syriac Ctesiphon" "Regular"
SyrCOMAdiabene.otf: "East Syriac Adiabene" "Regular"
SyrCOMCtesiphon.otf: "East Syriac Ctesiphon" "Regular"
fc-match --all | grep Serto
Code:
SyrCOMBatnan.otf: "Serto Batnan" "Regular"
SyrCOMJerusalem.otf: "Serto Jerusalem" "Regular"
SyrCOMJerusalemOutline.otf: "Serto Jerusalem Outline" "Regular"
SyrCOMKharput.otf: "Serto Kharput" "Regular"
SyrCOMMalankara.otf: "Serto Malankara" "Regular"
SyrCOMMardin.otf: "Serto Mardin" "Regular"
SyrCOMUrhoy.otf: "Serto Urhoy" "Regular"
SyrCOMBatnan.otf: "Serto Batnan" "Regular"
SyrCOMJerusalem.otf: "Serto Jerusalem" "Regular"
SyrCOMJerusalemOutline.otf: "Serto Jerusalem Outline" "Regular"
SyrCOMKharput.otf: "Serto Kharput" "Regular"
SyrCOMMalankara.otf: "Serto Malankara" "Regular"
SyrCOMMardin.otf: "Serto Mardin" "Regular"
SyrCOMUrhoy.otf: "Serto Urhoy" "Regular"
SyrCOMBatnanBold.otf: "Serto Batnan" "Bold"
SyrCOMJerusalemBold.otf: "Serto Jerusalem" "Bold"
SyrCOMMardinBold.otf: "Serto Mardin" "Bold"
SyrCOMUrhoyBold.otf: "Serto Urhoy" "Bold"
SyrCOMBatnanBold.otf: "Serto Batnan" "Bold"
SyrCOMJerusalemBold.otf: "Serto Jerusalem" "Bold"
SyrCOMMardinBold.otf: "Serto Mardin" "Bold"
SyrCOMUrhoyBold.otf: "Serto Urhoy" "Bold"
SyrCOMJerusalemItalic.otf: "Serto Jerusalem" "Italic"
SyrCOMJerusalemItalic.otf: "Serto Jerusalem" "Italic"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Greek characters instead of Lathin ones kususe Linux - Software 0 02-20-2012 11:09 AM
smbfs and greek characters alaios Linux - General 0 10-25-2006 04:50 PM
cant see to amarok greek characters alaios Linux - Software 0 10-23-2006 02:16 PM
Greek Characters in Console foucault Linux - General 3 07-02-2006 04:36 PM
greek characters glimmy Linux - Newbie 7 05-02-2005 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration