您尚未登录。

#1 2022-09-13 17:15:36

Nirlvy
会员
注册时间: 2022-07-06
帖子: 57

请问各位chrome和edge字体都使用的什么

默认显示的是其他字体,被我手贱改了,现在四个字体设置改成啥都是扁平的,左右压扁的那种,求解

离线

#2 2022-09-13 23:22:40

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,442
个人网站

Re: 请问各位chrome和edge字体都使用的什么

我用 DejaVu 系列的。Google Chrome 这个字体默认不改的话是 Times New Roman 和 Arial(或者你系统上 fc-match 它们取得的结果),见 https://blog.lilydjwg.me/2022/8/8/googl … 16423.html

在线

#3 2022-09-13 23:47:17

Nirlvy
会员
注册时间: 2022-07-06
帖子: 57

Re: 请问各位chrome和edge字体都使用的什么

依云 说:

我用 DejaVu 系列的。Google Chrome 这个字体默认不改的话是 Times New Roman 和 Arial(或者你系统上 fc-match 它们取得的结果),见 https://blog.lilydjwg.me/2022/8/8/googl … 16423.html

jPu4i1myJl3V7vT.jpg
lYA79iZrpGPzOS4.jpg
改成DejaVu后还是这样,像是系统设置问题?
fc-match输出为NotoSansCJK-Regular.ttc: "Noto Sans CJK SC" "Regular"
kde设置字体是这样
9zVLG6ibqxaSmFU.jpg

离线

#4 2022-09-13 23:59:07

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,442
个人网站

Re: 请问各位chrome和edge字体都使用的什么

你装了 DejaVu 系列字体吗?

关于网页上的字体显示问题,对着有问题的地方点右键,选项「检查」,然后在右边「计算样式」里向下滚动到最后,看看「渲染的字体」里写的啥。

在线

#5 2022-09-14 00:12:52

Nirlvy
会员
注册时间: 2022-07-06
帖子: 57

Re: 请问各位chrome和edge字体都使用的什么

依云 说:

你装了 DejaVu 系列字体吗?

关于网页上的字体显示问题,对着有问题的地方点右键,选项「检查」,然后在右边「计算样式」里向下滚动到最后,看看「渲染的字体」里写的啥。

输出的字体是Arial Narrow—本地文件(308 个字形)
关于安装字体

fc-cache -vf                                                                
Font directories:
        /home/nirlvy/.local/share/fonts
        /usr/share/fonts
        /usr/local/share/fonts
        /home/nirlvy/.fonts
        /usr/share/fonts/100dpi
        /usr/share/fonts/75dpi
        /usr/share/fonts/TTF
        /usr/share/fonts/WindowsFonts
        /usr/share/fonts/adobe-source-code-pro
        /usr/share/fonts/adobe-source-han-serif
        /usr/share/fonts/cantarell
        /usr/share/fonts/code
        /usr/share/fonts/encodings
        /usr/share/fonts/gnu-free
        /usr/share/fonts/gsfonts
        /usr/share/fonts/liberation
        /usr/share/fonts/nerd-fonts
        /usr/share/fonts/noto
        /usr/share/fonts/noto-cjk
        /usr/share/fonts/util
        /usr/share/fonts/wenquanyi
        /usr/share/fonts/wps-fonts
        /usr/share/fonts/wps-office
        /usr/share/fonts/encodings/large
        /usr/share/fonts/wenquanyi/wqy-microhei
        /usr/share/fonts/wenquanyi/wqy-zenhei
/home/nirlvy/.local/share/fonts: caching, new cache contents: 127 fonts, 0 dirs
/usr/share/fonts: caching, new cache contents: 0 fonts, 19 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/WindowsFonts: caching, new cache contents: 77 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/adobe-source-han-serif: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/code: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/gnu-free: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/nerd-fonts: caching, new cache contents: 64 fonts, 0 dirs
/usr/share/fonts/noto: caching, new cache contents: 2456 fonts, 0 dirs
/usr/share/fonts/noto-cjk: caching, new cache contents: 80 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/wenquanyi: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/wenquanyi/wqy-microhei: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/wenquanyi/wqy-zenhei: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/wps-fonts: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/wps-office: caching, new cache contents: 1 fonts, 0 dirs
/usr/local/share/fonts: skipping, no such directory
/home/nirlvy/.fonts: skipping, no such directory
/usr/share/fonts/100dpi: skipping, looped directory detected
/usr/share/fonts/75dpi: skipping, looped directory detected
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/WindowsFonts: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/adobe-source-han-serif: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/code: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/gnu-free: skipping, looped directory detected
/usr/share/fonts/gsfonts: skipping, looped directory detected
/usr/share/fonts/liberation: skipping, looped directory detected
/usr/share/fonts/nerd-fonts: skipping, looped directory detected
/usr/share/fonts/noto: skipping, looped directory detected
/usr/share/fonts/noto-cjk: skipping, looped directory detected
/usr/share/fonts/util: skipping, looped directory detected
/usr/share/fonts/wenquanyi: skipping, looped directory detected
/usr/share/fonts/wps-fonts: skipping, looped directory detected
/usr/share/fonts/wps-office: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/usr/share/fonts/wenquanyi/wqy-microhei: skipping, looped directory detected
/usr/share/fonts/wenquanyi/wqy-zenhei: skipping, looped directory detected
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/nirlvy/.cache/fontconfig: cleaning cache directory
/home/nirlvy/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

pacman -Qs dejavu 
local/ttf-dejavu 2.37+18+g9b5d1b2f-3
    Font family based on the Bitstream Vera Fonts with a wider range of characters

离线

#6 2022-09-14 11:18:31

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,442
个人网站

Re: 请问各位chrome和edge字体都使用的什么

所以你没有 Arial 但是有 Arial Narrow 字体,于是它就这么窄了。把 Arial 系列字体都删掉吧。

在线

#7 2022-09-14 11:27:27

Nirlvy
会员
注册时间: 2022-07-06
帖子: 57

Re: 请问各位chrome和edge字体都使用的什么

依云 说:

所以你没有 Arial 但是有 Arial Narrow 字体,于是它就这么窄了。把 Arial 系列字体都删掉吧。

我把arial字体删除了变成了Liberation Sans,反正显示正常了,谢谢依云大佬

离线

页脚