unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f"
@ 2017-09-21 22:45 Feng Shu
  2017-09-22  8:41 ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Feng Shu @ 2017-09-21 22:45 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu


-----------
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?
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f"
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2017-09-22  8:41 UTC (permalink / raw)
  To: Feng Shu; +Cc: guix-devel

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?

Also please show the output of "fc-cache -fv".

-- 
Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f"
  2017-09-22  8:41 ` Alex Kost
@ 2017-09-22 10:52   ` Feng Shu
  2017-09-22 12:21     ` Feng Shu
  0 siblings, 1 reply; 4+ messages in thread
From: Feng Shu @ 2017-09-22 10:52 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel, Feng Shu

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




-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "font-wqy-microhei" installed but the font file can not be found by "fc-cache -f"
  2017-09-22 10:52   ` Feng Shu
@ 2017-09-22 12:21     ` Feng Shu
  0 siblings, 0 replies; 4+ messages in thread
From: Feng Shu @ 2017-09-22 12:21 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel, Feng Shu

"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

-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-22 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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