From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts.
Date: Sat, 02 Jul 2016 16:38:42 +0200 [thread overview]
Message-ID: <87bn2gf6kt.fsf@gnu.org> (raw)
In-Reply-To: <20160701092730.2265-4-alezost@gmail.com> (Alex Kost's message of "Fri, 1 Jul 2016 12:27:30 +0300")
Alex Kost <alezost@gmail.com> skribis:
> * doc/guix.texi (Application Setup): Document how to add TrueType fonts
> installed in a Guix profile to the X server font path.
[...]
> @@ -1192,6 +1193,24 @@ to display fonts, you have to install fonts with Guix as well.
> Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and
> @code{font-gnu-freefont-ttf}.
>
> +However, some programs do not support Fontconfig and rely on the X
> +server to recognize a font.
What about: “Older programs such as @command{xterm} do not use
Fontconfig and instead rely on server-side font rendering.”?
> Such programs require to specify a full
> +name of a font using XLFD (X Logical Font Description), like this:
> +
> +@example
> +-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1
> +@end example
> +
> +To be able to use such full names for the TrueType fonts installed in
> +your Guix profile, you need to extend the font path of the X server:
> +
> +@example
> +xset +fp ~/.guix-profile/share/fonts/truetype
> +@end example
> +
> +After that, you can run @code{xlsfonts} (from @code{xlsfonts} package)
> +to make sure your TrueType fonts are listed there.
OK.
> 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
I would move the new text below the paragraph about Chinese languages
(the paragraph about Chinese languages is about client-side rendering.)
Thanks!
Ludo’.
next prev parent reply other threads:[~2016-07-02 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 9:27 [PATCH 0/3] Generate "<profile>/share/fonts/truetype/fonts.dir" file Alex Kost
2016-07-01 9:27 ` [PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale' Alex Kost
2016-07-02 14:26 ` Ludovic Courtès
2016-07-01 9:27 ` [PATCH 2/3] profiles: Add fonts-dir-file hook Alex Kost
2016-07-02 14:34 ` Ludovic Courtès
2016-07-02 19:19 ` Alex Kost
2016-07-05 14:31 ` Ludovic Courtès
2016-07-06 19:41 ` Alex Kost
2016-07-22 6:59 ` Alex Kost
2016-07-24 17:09 ` Ludovic Courtès
2016-07-25 14:26 ` Alex Kost
2016-07-01 9:27 ` [PATCH 3/3] doc: Describe how to make X server find TrueType fonts Alex Kost
2016-07-02 14:38 ` Ludovic Courtès [this message]
2016-07-02 19:22 ` Alex Kost
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bn2gf6kt.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alezost@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.