unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Feng Shu <tumashu@163.com>
To: Taiju HIGASHI <higashi@taiju.info>
Cc: help-guix@gnu.org
Subject: Re: CJK font issues on GDM screen
Date: Thu, 14 Apr 2022 19:28:48 +0800	[thread overview]
Message-ID: <87k0br52fj.fsf@163.com> (raw)
In-Reply-To: <87h76xyuya.fsf@taiju.info> (Taiju HIGASHI's message of "Wed, 13 Apr 2022 22:27:41 +0900")

Taiju HIGASHI <higashi@taiju.info> writes:


The problem is that gdm can not find a CJK fonts.
you can try:

              (modify-services %desktop-services
                 (gdm-service-type
                  config => (gdm-configuration
                             (inherit config)
                             (gnome-shell-assets
                              (list adwaita-icon-theme
                                    ;; the below is a CJK font                        
                                    font-wqy-microhei)))))

Maybe we should add an example to guix document.


> Hi,
>
> I am not currently having trouble, but I do have one question.
>
> I have had trouble displaying CJK fonts on the GDM screen.
>
> I have followed the steps below to install Guix initially, which
> allows me to temporarily display CJK fonts on the GDM screen.
>
> 1. Specify `ja_JP.utf8` as locale on the graphical installation screen.
> 2. Set CJK fonts to be installed globally.
> 3. Execute the installation.
>
> However, if I run `guix system reconfigure` after this, I cannot see
> the CJK fonts on the GDM screen. (The letters will be tofu.)
>
> I asked on #guix on IRC and was given a solution, so I am not
> troubled, but the following questions remain.
>
> https://logs.guix.gnu.org/guix/2022-04-09.log#174359
>
>   1. Why do I see CJK fonts on the GDM screen after setting the locale
>      and installing CJK fonts during the initial installation?
>   2. Why can't I see CJK fonts on the GDM screen after running `guix
>      system reconfigure`?
>
> Is there a special process to generate a font cache during initial
> installation?
> Also, is that process absent when the system is reconfigured?
>
> I feel that it would be desirable for the system to behave the same
> when reconfigured as when initially installed.
>
> Thank you.

-- 



      parent reply	other threads:[~2022-04-14 11:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 13:27 CJK font issues on GDM screen Taiju HIGASHI
2022-04-14  0:23 ` Feng Shu
2022-04-14  5:26   ` Taiju HIGASHI
2022-04-14  7:35     ` Feng Shu
2022-04-14 11:28 ` Feng Shu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0br52fj.fsf@163.com \
    --to=tumashu@163.com \
    --cc=help-guix@gnu.org \
    --cc=higashi@taiju.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).