您尚未登录。

#1 2025-01-05 01:01:17

tshangdsun1208
会员
注册时间: 2024-12-23
帖子: 5

在ArchLinux KDE桌面环境中,“币”字中的某个地方有空缺

这是我的~/.config/fontconfig/fonts.conf配置文件:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
        <match target="font">
                <edit mode="assign" name="antialias">
                        <bool>true</bool>
                </edit>
                <edit mode="assign" name="autohint">
                        <bool>false</bool>
                </edit>
                <edit mode="assign" name="embeddedbitmap">
                        <bool>false</bool>
                </edit>
                <edit mode="assign" name="hinting">
                        <bool>true</bool>
                </edit>
                <edit mode="assign" name="hintstyle">
                        <const>hintslight</const>
                </edit>
                <edit mode="assign" name="lcdfilter">
                        <const>lcddefault</const>
                </edit>
                <edit mode="assign" name="rgba">
                        <const>rgb</const>
                </edit>
        </match>
        <match>
                <test qual="any" name="family">
                        <string>serif</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>Noto Serif</string>
                        <string>Noto Color Emoji</string>
                </edit>
        </match>
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans-serif</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>Noto Sans</string>
                        <string>Noto Color Emoji</string>
                </edit>
        </match>
        <match target="pattern">
                <test qual="any" name="family">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>Hack</string>
                        <string>Noto Color Emoji</string>
                </edit>
        </match>
        <match>
                <test name="lang" compare="contains">
                        <string>zh</string>
                </test>
                <test name="family">
                        <string>serif</string>
                </test>
                <edit name="family" mode="prepend">
                        <string>Noto Serif CJK SC</string>
                </edit>
        </match>
        <match>
                <test name="lang" compare="contains">
                        <string>zh</string>
                </test>
                <test name="family">
                        <string>sans-serif</string>
                </test>
                <edit name="family" mode="prepend">
                        <string>Noto Sans CJK SC</string>
                </edit>
        </match>
        <match>
                <test name="lang" compare="contains">
                        <string>zh</string>
                </test>
                <test name="family">
                        <string>monospace</string>
                </test>
                <edit name="family" mode="prepend">
                        <string>Noto Sans Mono CJK SC</string>
                </edit>
        </match>
</fontconfig>

fc-match -v的结果:

Pattern has 42 elts (size 48)
        family: "Noto Sans"(s)
        familylang: "en"(s)
        style: "Regular"(s)
        stylelang: "en"(s)
        fullname: "Noto Sans Regular"(w)
        fullnamelang: "en"(s)
        slant: 0(i)(s)
        weight: 80(f)(s)
        width: 100(f)(s)
        size: 12(f)(s)
        pixelsize: 12.5(f)(s)
        foundry: "GOOG"(s)
        antialias: True(w)
        hintstyle: 1(i)(w)
        hinting: True(w)
        verticallayout: False(s)
        autohint: False(w)
        globaladvance: True(s)
        file: "/usr/share/fonts/noto/NotoSans-Regular.ttf"(s)
        index: 0(i)(w)
        outline: True(s)
        scalable: True(s)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset: 
        0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        0002: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        0003: ffffffff ffffffff ffffffff fcffffff ffffd7f0 fffffffb ffffffff ffff0003
        0004: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        0005: ffffffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000
        0010: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08000000
        001a: 00000000 00000000 00000000 00000000 00000000 ffff0000 00007fa1 00000000
        001c: 00000000 00000000 00000000 00000000 000001ff 00000000 00000000 00000000
        001d: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fbffffff
        001e: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
        0020: ffffffff ffffffff ffffffff fff3ffdf 1fff7fff ffffffff 00000001 00010000
        0021: ffffffff ffffffff ffffffff 00000000 00000218 00000000 00000000 00000000
        0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        0025: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
        002c: 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000 00000000
        002d: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff
        002e: ffffffff ffffffff 3fffffff 00000000 00000000 00000000 00000000 00000000
        00a6: 00000000 00000000 ffffffff ffffffff ffffffff 00000000 00000000 00000000
        00a7: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 03eb07ff fffc0000
        00a9: 00000000 00004000 00000000 00000000 00000000 00000000 00000000 00000000
        00ab: 00000000 ffff0000 ffffffff 00000fff 00000000 00000000 00000000 00000000
        00fb: 0000007f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        00fe: 00000001 0000ffff 00000000 00000000 00000000 00000000 00000000 80000000
        00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 30000000
        0107: 00000000 00000000 00000000 00000000 ffffffbf 07fdffff 00000000 00000000
        01df: 7fffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
        lang: aa|ab|af|ast|av|ay|az-az|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|ff|fur|fy|ga|gd|gl|gn|gv|ha|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|sco|se|sel|sh|shs|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|ve|vi|vo|vot|wa|wen|wo|xh|yap|yo|zu|ak|an|ber-dz|crh|csb|ee|fat|fil|hsb|ht|hz|jv|kab|kj|kr|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
        fontversion: 132055(i)(s)
        capability: "otlayout:DFLT otlayout:cyrl otlayout:grek otlayout:latn"(w)
        fontformat: "TrueType"(s)
        embeddedbitmap: False(w)
        decorative: False(s)
        lcdfilter: 1(i)(w)
        namelang: "zh-CN"(s)
        prgname: "fc-match"(s)
        postscriptname: "NotoSans-Regular"(s)
        color: False(s)
        symbol: False(s)
        variable: False(s)
        fonthashint: True(s)
        order: 0(i)(s)
        desktop: "KDE"(s)

但是,在我这个配置文件中,“币”字在部分应用显示有空缺,请教一下如何解决这个问题
效果:8a7267de42e59c4828894924f5ff78620bfe937dec3a2c45d473c23fed58b1caff825015176b49ea700d8f22d0354fc8?pictype=scale&amp;from=30113&amp;version=3.3.3.3&amp;fname=xg.png&amp;size=750
补充:只在100%的缩放率上有这样的问题

离线

#2 2025-01-05 09:36:11

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

Re: 在ArchLinux KDE桌面环境中,“币”字中的某个地方有空缺

请发未压缩过的 PNG 原图。

离线

#3 2025-01-05 14:03:13

tshangdsun1208
会员
注册时间: 2024-12-23
帖子: 5

Re: 在ArchLinux KDE桌面环境中,“币”字中的某个地方有空缺

依云 说:

请发未压缩过的 PNG 原图。

具体怎么发送未压缩的PNG原图?
f3e881c1642d5d3cb94a5f59fc057210bb8b0277554da665fa59b8c40ce3fe5a0f5f3c2e9c93cd895b51dabb6cf4cb28?pictype=scale&from=30013&version=3.3.3.3&fname=sw.png&size=750

离线

#4 2025-01-05 14:57:18

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

Re: 在ArchLinux KDE桌面环境中,“币”字中的某个地方有空缺

你这糊得不成样子了……不要放大。
至于怎么发不压缩的 PNG,那要问你选用的图床了。

离线

页脚