You are not logged in.

#1 2013-10-07 16:25:39

Skitter
Member
Registered: 2013-09-28
Posts: 36

[SOLVED] Problem with Polish font

Hi!
I never had this problem before.
Lately I installed Arch and for some reason I have problems with Polish fonts.
Now google chrome (AUR) and Konsole have no pl chars at all.
Konqueror and KWrite (yes, I'm using KDE) are using some kind of unnatural Polish characters.

Here you can see how does it look like:
Konqueror
Google Chrome
Konsole
KWrite

Additional info:

$ locale
 LANG=en_GB.ISO-8859-1
 LC_CTYPE="en_GB.ISO-8859-1"
 LC_NUMERIC="en_GB.ISO-8859-1"
 LC_TIME="en_GB.ISO-8859-1"
 LC_COLLATE="en_GB.ISO-8859-1"
 LC_MONETARY="en_GB.ISO-8859-1"
 LC_MESSAGES="en_GB.ISO-8859-1"
 LC_PAPER="en_GB.ISO-8859-1"
 LC_NAME="en_GB.ISO-8859-1"
 LC_ADDRESS="en_GB.ISO-8859-1"
 LC_TELEPHONE="en_GB.ISO-8859-1"
 LC_MEASUREMENT="en_GB.ISO-8859-1"
 LC_IDENTIFICATION="en_GB.ISO-8859-1"
 LC_ALL=

$ locale -a
 C
 en_GB
 en_GB.iso88591
 en_GB.utf8
 pl_PL
 pl_PL.iso88592
 pl_PL.utf8
 polish
 POSIX

$ showconsolefont
   bug: getfont called with count<256
    !  "  #  $  %  &  '  (    )  *  +  ,  -  .  /  0    
    1  2  3  4  5  6  7  8    9  :  ;  <  =  >  ?  @    
    A  B  C  D  E  F  G  H    I  J  K  L  M  N  O  P    
    Q  R  S  T  U  V  W  X    Y  Z  [  \  ]  ^  _  `    
    !  "  #  $  %  &  '  (    )  *  +  ,  -  .  /  0    
    1  2  3  4  5  6  7  8    9  :  ;  <  =  >  ?  @    
    A  B  C  D  E  F  G  H    I  J  K  L  M  N  O  P    
    Q  R  S  T  U  V  W  X    Y  Z  [  \  ]  ^  _  `    

    !  "  #  $  %  &  '  (    )  *  +  ,  -  .  /  0    
    1  2  3  4  5  6  7  8    9  :  ;  <  =  >  ?  @    
    A  B  C  D  E  F  G  H    I  J  K  L  M  N  O  P    
    Q  R  S  T  U  V  W  X    Y  Z  [  \  ]  ^  _  `    
    !  "  #  $  %  &  '  (    )  *  +  ,  -  .  /  0    
    1  2  3  4  5  6  7  8    9  :  ;  <  =  >  ?  @    
    A  B  C  D  E  F  G  H    I  J  K  L  M  N  O  P    
    Q  R  S  T  U  V  W  X    Y  Z  [  \  ]  ^  _  `    

Solution:
Just install ttf-microsoft-fonts from AUR.

Last edited by Skitter (2013-10-08 16:04:08)

Offline

#2 2013-10-07 16:36:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problem with Polish font

Try using utf8 instead of the ISO-8859-1 version.

Offline

#3 2013-10-07 17:23:28

Skitter
Member
Registered: 2013-09-28
Posts: 36

Re: [SOLVED] Problem with Polish font

Well now I have Polish characters in terminal but the problem with Google Chrome, KWrite and Konqueror remains unsolved.
Thank you Karol.

Everything is set up the way it should:

locale
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=

Strange because when I'm typing in the address bar Polish chars are appearing properly however site content and google search are still displaying this unrecognized chars.
Address bar
Google search

Last edited by Skitter (2013-10-07 17:25:56)

Offline

#4 2013-10-07 17:32:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problem with Polish font

What's the output of 'localectl'?

Offline

#5 2013-10-07 17:45:19

Skitter
Member
Registered: 2013-09-28
Posts: 36

Re: [SOLVED] Problem with Polish font

$ localectl
   System Locale: LANG=pl_PL.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

After editing /etc/X11/xorg.conf.d/00-keyboard.conf it looks like this:

$ localectl
   System Locale: LANG=pl_PL.UTF-8
       VC Keymap: pl2
      X11 Layout: pl

Problem remains unsolved.

Last edited by Skitter (2013-10-07 18:45:51)

Offline

#6 2013-10-08 15:43:04

Skitter
Member
Registered: 2013-09-28
Posts: 36

Re: [SOLVED] Problem with Polish font

After hours of research I still didn't find the solution to my problem...

edit:
Solved by installing ttf-ms-fonts from AUR.

Last edited by Skitter (2013-10-08 15:58:18)

Offline

Board footer

Powered by FluxBB