Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux, Chrome browser font settings beautification     - Android in the event delivery and handling mechanism (Programming)

- Compression decompression command under Linux (Linux)

- Detailed use Zabbix monitoring Nginx (Server)

- Android 5.1 OTA package compilation error (Programming)

- How to interactively create a Docker container (Server)

- Shorewall firewall settings under Ubuntu (Linux)

- Oracle 11G using DG Broker create DataGuard (Database)

- How to download GOG games in Linux command line (Linux)

- Mind mapping software installed in CentOS 7 in XMind (Linux)

- Linux screen commonly commands (Linux)

- Writing Better Bash build script 8 (Programming)

- Linux_Logo - output color ANSI Linux distributions logo command-line tool (Linux)

- Experience CoreCLR stack unwinding characteristics of initial implementation on Linux / Mac (Linux)

- Vim useful plugin: EasyGrep (Linux)

- IOwait Linux system monitoring diagnostic tools (Linux)

- Linux with Windows Explorer as a security system (Linux)

- php for Linux the MySQL extension module installation and configuration (Database)

- Linux process scheduling opportunity (Programming)

- Open Ubuntu system updates (Linux)

- To install the Ubuntu Touch emulator on Ubuntu (Linux)

  Linux, Chrome browser font settings beautification
  Add Date : 2017-01-08      
  Windows would have no chance, as well as its own font rendering technology Cleartype DirectWrite on pulpy mess. Mac font rendering below have been very good, so the key is in how to make Linux Chrome's font rendering more beautiful? First, to understand that, Chrome's font rendering dependent on two o'clock: Linux operating system font rendering settings, and Chrome's own web font rendering control. In Fedora 22 GNOME 3.16 environment, using gnome-tweak-tool set font rendering fine-tuning is none, antialiasing after Rgba, but no effect on the Chrome, Chrome still use the "full" fine tuning mode font rendering, which can lead many Chinese font display very ugly. The reason is that, Chrome is to read the Linux system fontconfig configuration, by default the system does not configure the fontconfig font global hint, so we only need to create a local.conf in / etc / fonts directory, you can write the following :

< ? Xml version = "1.0"?>
< ! DOCTYPE fontconfig SYSTEM "fonts.dtd">
< Fontconfig>
    < Match target = "font">
        < Edit name = "autohint" mode = "assign">
            < Bool> false < / bool>
            < / Edit>
        < Edit name = "hinting" mode = "assign">
            < Bool> false < / bool>
        < / Edit>
        < Edit name = "hintstyle" mode = "assign">
            < Const> none < / const>
        < / Edit>
    < / Match>
< / Fontconfig>

After saving systems can be found all programs can follow this setting, close to fine-tune font rendering, Chinese font rendering will be very nice. Next, install in Chrome stylish widget, create a valid style for all sites, and their use as "All", which reads as follows:

body * {
    ! Font-family: "Source Han Sans CN" important;
pre, code, kbd, samp, var {
    font-family: "Monospace", "Source Han Sans CN" important;!

This ensures Chrome access to any sites have adopted this style. Of course, do not forget to set its own in Chrome font to font you like to.
- How to use the tab in Vim carried Python code completion (Linux)
- Linux atomic operations and synchronization mechanisms (Programming)
- C ++ pointer two third memory model (Programming)
- Security enhancements in Ubuntu ssh service (Linux)
- Linux Getting Started tutorial: Ubuntu 14.04 in the installation Sogou Pinyin (Linux)
- Google open source TCP team repaired the Linux kernel TCP flaw (Linux)
- Android in the coordinate system and a method to obtain the coordinates (Programming)
- Installation of Gitlab under Ubuntu (Linux)
- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)
- Oracle in the add & split partition on the impact of global & local index (Database)
- Terminal fun: 6 interesting Linux command-line tools (Linux)
- How the program is executed (Programming)
- CentOS install expect (Linux)
- Mount and unloading disks under Linux (Linux)
- Linux Firewall Basics (Linux)
- Fedora 20 users install the Mate 1.8 desktop (Linux)
- Ubuntu iptables prevent IP attacks (Linux)
- How to install Laravel PHP framework on CentOS 7 / Ubuntu 15.04 (Server)
- MongoDB uses aggregate, group, match mysql achieve in having (count (1)> 1) features (Database)
- Detailed installation OpenCV2.3.1 under CentOS 6.5 (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.