[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts. |
Date: |
Sat, 02 Jul 2016 16:38:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Alex Kost <address@hidden> 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:
> +
> address@hidden
> +-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1
> address@hidden 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:
> +
> address@hidden
> +xset +fp ~/.guix-profile/share/fonts/truetype
> address@hidden 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’.
- Re: [PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'., (continued)
- [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/01
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/05
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/06
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/22
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/24
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/25
[PATCH 3/3] doc: Describe how to make X server find TrueType fonts., Alex Kost, 2016/07/01
- Re: [PATCH 3/3] doc: Describe how to make X server find TrueType fonts.,
Ludovic Courtès <=