unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Japanese / CJK characters don't display properly on gdm login
@ 2022-05-15 17:00 白い熊
  2022-05-16  7:56 ` Taiju HIGASHI
  0 siblings, 1 reply; 2+ messages in thread
From: 白い熊 @ 2022-05-15 17:00 UTC (permalink / raw)
  To: help-guix

Hello all.

I set my system to Japanese - I think properly. I've set (locale 
"ja_JP.utf8") in system.scm and installed some CJK fonts. Then ran 
'fc-cache -f'.

Now all is set fine - even GRUB boot menu is in Japanese, all apps 
render Japanese text properly - however the gdm login screen is set to 
Japanese too, apparently it displays a Japanese welcome message - 
however all the characters are just rendered as boxes - meaning gdm is 
using some font that doesn't have the Japanese glyphs.

Anyone have an idea how I could fix this?

-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / 
Mit freundlichen Grüßen

白い熊
ShiroiKuma


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Japanese / CJK characters don't display properly on gdm login
  2022-05-15 17:00 Japanese / CJK characters don't display properly on gdm login 白い熊
@ 2022-05-16  7:56 ` Taiju HIGASHI
  0 siblings, 0 replies; 2+ messages in thread
From: Taiju HIGASHI @ 2022-05-16  7:56 UTC (permalink / raw)
  To: 白い熊; +Cc: help-guix

Hi Shirokuma,

I had the same problem and was told on IRC how to solve it.

https://logs.guix.gnu.org/guix/2022-04-09.log#174359
https://libera.ems.host/_matrix/media/r0/download/libera.chat/dfe983ed94014beb4dc69a556d38bfee6d84b1e5

It may be necessary to recreate the font cache after taking the above
actions.

For reproducibility, I have added the following settings to the service
config.

(operating-system
  (services
   (append
       (list ...
             (extra-special-file "/var/lib/gdm/.config/fontconfig/fonts.conf"
                                 (plain-file "gdm-fonts.conf"
                                             "<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
  <dir>/run/current-system/profile/share/fonts/</dir>
</fontconfig>
")))
       %desktop-services))
...

(Sorry, I forgot to add CC, so I resent it.)

- taiju


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-16  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-15 17:00 Japanese / CJK characters don't display properly on gdm login 白い熊
2022-05-16  7:56 ` Taiju HIGASHI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).