效果见 http://i.imgur.com/7jlBnNx.png


/etc/profile.d/infinality-settings.sh

export INFINALITY_FT_FILTER_PARAMS="03 35 44 35 03"
export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH=0
export INFINALITY_FT_FRINGE_FILTER_STRENGTH=0
export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH=5
export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH=10
export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH=0
export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=0
export INFINALITY_FT_STEM_FITTING_STRENGTH=0
export INFINALITY_FT_GAMMA_CORRECTION="800 100"
export INFINALITY_FT_BRIGHTNESS="0"
export INFINALITY_FT_CONTRAST="20"
export INFINALITY_FT_USE_VARIOUS_TWEAKS=false
export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS=false
export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT=20
export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=40
export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS=false



然后是 /etc/fonts/infinality/styles.conf.avail 从 osx 复制一份 linux-zh,加上
60-group-fonts-zh.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
        <match target="font">
                <test qual="any" name="family">
                        <string>WenQuanYi Micro Hei</string>
                </test>
                <edit name="font_type" mode="assign">
                        <string>Chinese Font</string>
                </edit>
        </match>
       <!-- blah blah -->
</fontconfig>

62-rendering-zh.conf 
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
        <match target="font">
                <test name="font_type">
                        <string>Chinese Font</string>
                </test>
                <edit name="autohint" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="hintstyle" mode="assign">
                        <const>hintnone</const>
                </edit>
                <edit name="hinting" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="antialias" mode="assign">
                        <bool>true</bool>
                </edit>
        </match>
</fontconfig>

-- 
Justin Wong
Fingerprint: 15CC 6A61 738B 1599 0095  E256 CB67 DA7A 865B AC3A

On Sun, Sep 27, 2015, at 15:48, 宋方睿 wrote:
> 求你调的
> 
> On 2015-09-27, Justin Wong wrote:
> >试图用过,发现没有效果拔群,比我自己调的也差点,就换回去了
> >
> >Sent from TypeMail
> >
> >On Sep 27, 2015, at 15:30, Ray Song <[email protected]> wrote:
> >
> >    你们用不用这个?
> >
> >    /etc/pacman.conf
> >
> >        [infinality-bundle]
> >        Server = http://bohoomil.com/repo/$arch
> >
> >        % pacman -Qg infinality-bundle
> >        infinality-bundle cairo-infinality-ultimate
> >        infinality-bundle fontconfig-infinality-ultimate
> >        infinality-bundle freetype2-infinality-ultimate
> >
> >    似乎是有那么一点点变化的样子
> >
> >    On 2015-09-26, Justin Wong wrote:
> >        装 freetype2 和 fontconfig 先把 infi 干掉吧
> >
> >        sent from android
> >
> >        On Sep 26, 2015 14:52, 惠轶群 <[email protected]> wrote:
> >
> >            按理说报名界面的字体应该是RobotoDraft,但是因为我对字体不敏感,所以这个字体
> >            是否真的生效就不知道了。
> >
> >            (百团大战报名的那台上面的字体乍一看感觉挺赞的)
> >
> >        你说的不是周四的时候那台电脑吧。那是infinality跪了之后的字体。
> >
> >        顺便求,我的infinality升级之后突然跪了,怎么reset?
> >
> >           --
> >
> >                 ---
> >            You received this message because you are
> >        subscribed to the Google Groups
> >            "TUNA 主邮件列表"
> >        group.
> >            To unsubscribe from this group and stop receiving emails
> >        from it, send an
> >                email to
> >        [email protected].
> >                  To post to this
> >        group, send email to [email protected].
> >            For more
> >        options, visit https://groups.google.com/d/optout.
> >
> >        --
> >
> >        ---
> >        You
> >        received this message because you are subscribed to the Google Groups
> >        "TUNA
> >        主邮件列表" group.
> >        To unsubscribe from this group and
> >        stop receiving emails from it, send an
> >        email
> >        to [email protected].
> >        To post to this group, send email to [email protected].
> >        For more options, visit https://groups.google.com/d/optout.
> >
> >--
> >
> >---
> >You received this message because you are subscribed to the Google Groups 
> >"TUNA
> >主邮件列表" group.
> >To unsubscribe from this group and stop receiving emails from it, send an 
> >email
> >to [email protected].
> >To post to this group, send email to [email protected].
> >For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> Ray
> http://maskray.me

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复