unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Vong <alexvong1995@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: Ask user to install extra packages to display non-English alphabets.
Date: Tue, 17 Nov 2015 17:10:46 +0100	[thread overview]
Message-ID: <87mvuc7gjd.fsf@gnu.org> (raw)
In-Reply-To: <20151117001132.557bbd8f@debian> (Alex Vong's message of "Tue, 17 Nov 2015 00:11:32 +0800")

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

Alex Vong <alexvong1995@gmail.com> skribis:

> +In addition, if your graphical applications display non-english alphabets,
> +you may need to install extra font packages.
> +For instance, as of 2015, to correctly display CJK fonts in @code{icecat}
> +browser package, you should install @code{font-wqy-zenhei} font package.

Alex Kost <alezost@gmail.com> skribis:

> I didn't try 'font-wqy-zenhei', but there is also
> 'font-adobe-source-han-sans' package (thanks to 宋文武) that "solves"
> Chinese, Japanese and Korean symbols I've met so far.

What about this:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 837 bytes --]

diff --git a/doc/guix.texi b/doc/guix.texi
index 3b6955c..61e3445 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1000,6 +1000,17 @@ to display fonts, you will have to install fonts with Guix as well.
 Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and
 @code{font-gnu-freefont-ttf}.
 
+To display text written in Chinese languages, Japanese, or Korean in
+graphical applications, consider installing
+@code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}.  The former
+has multiple outputs, one per language family (@pxref{Packages with
+Multiple Outputs}).  For instance, the following command installs fonts
+for Chinese languages:
+
+@example
+guix package -i font-adobe-source-han-sans:cn
+@ene example
+
 @c TODO What else?
 
 @c *********************************************************************

[-- Attachment #3: Type: text/plain, Size: 21 bytes --]


Thanks,
Ludo’.

  parent reply	other threads:[~2015-11-17 16:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 16:11 [PATCH] doc: Ask user to install extra packages to display non-English alphabets Alex Vong
2015-11-17  8:38 ` Alex Kost
2015-11-17 18:28   ` Alex Vong
2015-11-18 17:55     ` Alex Kost
2015-11-17 15:53 ` Paul van der Walt
2015-11-17 16:10 ` Ludovic Courtès [this message]
2015-11-17 18:23   ` Alex Kost
2015-11-17 18:46   ` Alex Vong
2015-11-17 21:37     ` Ludovic Courtès
2015-11-19 16:26       ` Ludovic Courtès
2015-11-18  2:55     ` Andreas Enge

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=87mvuc7gjd.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alexvong1995@gmail.com \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).