Konsole and highlighted colors in bold

Source: Internet
Author: User

Recently, when using konsole, we found that the string was inexplicably truncated during display. It looks like:

I searched a lot of documents at night and found that it was caused by konsole's "Draw highlighted colors in bold" (the English is "Draw intense colors in bold font. If the font is wenquanyi micron black and, the font style is normal, and the "emphasize color with bold" option is selected, this problem will occur. My/etc/fonts/local. conf is as follows:

<Fontconfig>
<Alias>
<Family> sans-serif </family>
<Prefer>
<Family> WenQuanYi Micro Hei </family>
<Family> WenQuanYi Zen Hei </family>
</Prefer>
</Alias>

<Alias>
<Family> monospace </family>
<Prefer>
<Family> DejaVu Sans Mono </family>
<Family> WenQuanYi Micro Hei Mono </family>
<Family> WenQuanYi Zen Hei Mono </family>
</Prefer>
</Alias>
</Fontconfig>

 

So there is a "solution": Set the Monospace font style to bold, or do not select "Draw emphasis color with bold ". However, this is only a solution to the problem. Recall that konsole was not like this. So I found another computer and installed the KDE on it. I found the best solution: I chose to use the DejaVu Sans Mono font, style Book, size 9, and then OK.

Update address:

Recommended reading:

Gentoo kernel and system upgrade

Several minor issues with installing Gentoo in VMware

Gentoo Linux -- solve the problem that fcitx cannot call input in the GTK3 Application

Build a LAMP environment using Gentoo

Install a USB camera in Gentoo Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.