From: "Feng Shu" <tumashu@163.com>
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>, Feng Shu <tumashu@163.com>
Subject: Re: "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f"
Date: Fri, 22 Sep 2017 20:21:37 +0800 [thread overview]
Message-ID: <87ingaexf2.fsf@163.com> (raw)
In-Reply-To: <87r2uz2eeu.fsf@163.com> (Feng Shu's message of "Fri, 22 Sep 2017 18:52:57 +0800")
"Feng Shu" <tumashu@163.com> writes:
Now, it works again, I don know the reason, maybe I run "sudo fc-cache -fv".
> Alex Kost <alezost@gmail.com> writes:
>
>> Feng Shu (2017-09-22 06:45 +0800) wrote:
>>
>>> -----------
>>> 851d0m0xsz4v0hjw98rypisxn34rq012-font-wqy-microhei-0.2.0-beta:
>>> 总用量 864
>>> dr-xr-xr-x 3 root root 4096 1月 1 1970 .
>>> drwxrwxr-t 1726 root guixbuild 872448 9月 22 06:35 ..
>>> dr-xr-xr-x 3 root root 4096 1月 1 1970 share
>>> ----------
>>>
>>> The font file path:
>>> --------
>>> feng@tumashu:/gnu/store/851d0m0xsz4v0hjw98rypisxn34rq012-font-wqy-microhei-0.2.0-beta/share/fonts/wenquanyi
>>> $ ls
>>> wqy-microhei.ttc
>>> feng@tumashu:/gnu/store/851d0m0xsz4v0hjw98rypisxn34rq012-font-wqy-microhei-0.2.0-beta/share/fonts/wenquanyi
>>> $
>>>
>>> Am I miss something?
>>
>> From your output it is not clear where you installed this font. In the
>> system or user profile?
>
> I install this package in system profile with the help of my guixsd config
>
>>
>> Also please show the output of "fc-cache -fv".
>
> 1. root
> #####################
> feng@tumashu:~ $ sudo fc-cache -fv
> 密码:
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts:
> caching, new cache contents: 0 fonts, 1 dirs
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts/type1:
> caching, new cache contents: 0 fonts, 1 dirs
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts/type1/ghostscript:
> caching, new cache contents: 35 fonts, 0 dirs
> /root/.guix-profile/share/fonts: skipping, no such directory
> /run/current-system/profile/share/fonts: caching, new cache contents: 0 fonts, 1 dirs
> /run/current-system/profile/share/fonts/truetype: caching, new cache contents: 2 fonts, 0 dirs
> /root/.local/share/fonts: skipping, no such directory
> /root/.fonts: skipping, no such directory
> /var/cache/fontconfig: cleaning cache directory
> /var/cache/fontconfig: invalid cache file: 2c2ac4e7133327c86cfe0fdaea0f270e-le32d4.cache-7
> /root/.cache/fontconfig: not cleaning non-existent cache directory
> /root/.fontconfig: not cleaning non-existent cache directory
> fc-cache: succeeded
> feng@tumashu:~ $
>
> ##################
>
>
>
> 2. Normal user:
>
> #########################
> feng@tumashu:~ $ fc-cache -fv
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts:
> caching, new cache contents: 0 fonts, 1 dirs
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts/type1:
> caching, new cache contents: 0 fonts, 1 dirs
> /gnu/store/dxfc87p84pbvl83v84si2yd00ni6jvrp-gs-fonts-8.11/share/fonts/type1/ghostscript:
> caching, new cache contents: 35 fonts, 0 dirs
> /home/feng/.guix-profile/share/fonts: skipping, no such directory
> /run/current-system/profile/share/fonts: caching, new cache contents: 0 fonts, 1 dirs
> /run/current-system/profile/share/fonts/truetype: caching, new cache contents: 2 fonts, 0 dirs
> /home/feng/.local/share/fonts: skipping, no such directory
> /home/feng/.fonts: caching, new cache contents: 5 fonts, 12 dirs
> /home/feng/.fonts/Luxi-Mono: caching, new cache contents: 4 fonts, 0 dirs
> /home/feng/.fonts/MonospaceTypewriter: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/SourceHanSansSC: caching, new cache contents: 0 fonts, 2 dirs
> /home/feng/.fonts/SourceHanSansSC/SourceHanSansSC: caching, new cache contents: 7 fonts, 0 dirs
> /home/feng/.fonts/SourceHanSansSC/__MACOSX: caching, new cache contents: 0 fonts, 1 dirs
> /home/feng/.fonts/SourceHanSansSC/__MACOSX/SourceHanSansSC: caching, new cache contents: 0 fonts, 0 dirs
> /home/feng/.fonts/Win7仿宋及楷体: caching, new cache contents: 2 fonts, 0 dirs
> /home/feng/.fonts/courier: caching, new cache contents: 19 fonts, 0 dirs
> /home/feng/.fonts/my-like: caching, new cache contents: 13 fonts, 0 dirs
> /home/feng/.fonts/sabrina: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/script mono: caching, new cache contents: 1 fonts, 4 dirs
> /home/feng/.fonts/script mono/scriptmonocondensed: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/script mono/scriptmonocondenseditalic: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/script mono/scriptmonoextended: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/script mono/scriptmonoextendeditalic: caching, new cache contents: 1 fonts, 0 dirs
> /home/feng/.fonts/ubuntu-font-family-0.80: caching, new cache contents: 13 fonts, 0 dirs
> /home/feng/.fonts/winfonts: caching, new cache contents: 22 fonts, 0 dirs
> /home/feng/.fonts/wps_symbol: caching, new cache contents: 10 fonts, 0 dirs
> /home/feng/.fonts/方正兰亭黑: caching, new cache contents: 12 fonts, 0 dirs
> /var/cache/fontconfig: not cleaning unwritable cache directory
> /home/feng/.cache/fontconfig: cleaning cache directory
> /home/feng/.fontconfig: not cleaning non-existent cache directory
> fc-cache: succeeded
> ################################################
>
> #+END_EXAMPLE
--
prev parent reply other threads:[~2017-09-22 12:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 22:45 "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f" Feng Shu
2017-09-22 8:41 ` Alex Kost
2017-09-22 10:52 ` Feng Shu
2017-09-22 12:21 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ingaexf2.fsf@163.com \
--to=tumashu@163.com \
--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.