User Tools

Site Tools


software:xfonts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:xfonts [2017/06/13 10:43] (current)
chris created
Line 1: Line 1:
 +  * A custom ~/​.config/​fontconfig/​fonts.conf can contain preference lists: 
 +<​code>​ 
 +<?xml version="​1.0"?>​ 
 +<​!DOCTYPE fontconfig SYSTEM "​fonts.dtd">​ 
 +<​fontconfig>​ 
 +  <​alias>​ 
 +    <​family>​monospace</​family>​ 
 +    <​prefer>​ 
 +      <​family>​Inconsolata</​family>​ 
 +    </​prefer>​ 
 +  </​alias>​ 
 +  <​alias>​ 
 +    <​family>​serif</​family>​ 
 +    <​prefer>​ 
 +      <​family>​Source Han Sans CN,​思源黑体 CN,Source Han Sans CN Normal,​思源黑体 CN Normal</​family>​ 
 +      <​family>​Caladea</​family>​ 
 +    </​prefer>​ 
 +  </​alias>​ 
 +  <!-- subpixel rendering --> 
 +  <!-- https://​wiki.archlinux.org/​index.php/​Font_configuration#​Replace_or_set_default_fonts --> 
 +  <match target="​font">​ 
 +    <edit name="​rgba"​ mode="​assign">​ 
 +      <​const>​rgb</​const>​ 
 +    </​edit>​ 
 +  </​match>​ 
 +  <match target="​font">​ 
 +    <edit name="​lcdfilter"​ mode="​assign">​ 
 +      <​const>​lcddefault</​const>​ 
 +    </​edit>​ 
 +  </​match>​ 
 +</​fontconfig>​ 
 +</​code>​ 
 +  * https://​wiki.archlinux.org/​index.php/​fonts#​Fallback_font_order_with_X11 
 +  * Families: serif, sans-serif or monospace 
 +  * Font family names Noto Sans, Noto Sans CJK: `fc-list | grep Noto`
software/xfonts.txt · Last modified: 2017/06/13 10:43 by chris