WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Font problem  (Read 2721 times)

tinycorelinux

  • Guest
Font problem
« on: November 20, 2020, 02:25:55 AM »
Hi All. long time no see.

How to achieve "screen font edge smoothing or anti aliasing" appearance effect(Picture 1)?
I have changed the font, changed the terminal, and modified the configuration information of the terminal,
which can not be solved. What is the matter? thank you
« Last Edit: May 04, 2021, 07:09:54 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: Font problem
« Reply #1 on: November 20, 2020, 03:24:09 AM »
I believe you would change things in /usr/local/etc/fonts/conf.d

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: Font problem
« Reply #2 on: November 20, 2020, 09:51:37 AM »
I can't see any difference, other than in the eastern glyphs. Those are clearly using a different font in your two pictures.
The only barriers that can stop you are the ones you create yourself.

tinycorelinux

  • Guest
Re: Font problem
« Reply #3 on: November 20, 2020, 04:38:38 PM »
You can see the difference if you zoom in on the picture. The Chinese characters will have jagged edges and aliasing in the second picture, but not in the first picture.
Quote
Those are clearly using a different font in your two pictures.
I'm using the same font, so to speak, for different machines, like Windows, Debian
« Last Edit: November 20, 2020, 04:45:28 PM by ONE »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1021
Re: Font problem
« Reply #4 on: November 20, 2020, 05:11:39 PM »
Which terminal are you using? Both these screenshots look like they were taken in the same terminal window.

tinycorelinux

  • Guest
Re: Font problem
« Reply #5 on: November 20, 2020, 06:17:44 PM »
Which terminal are you using?
urxvt,my terminal I have configured, but only useful for english.
« Last Edit: November 20, 2020, 06:19:27 PM by ONE »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1021
Re: Font problem
« Reply #6 on: November 21, 2020, 06:54:02 AM »
If both screenshots were taken in the same window, then they used the same font. You did not say which font you are using in TCL. We are not seeing what you see as different. Urxvt supports anti-aliasing. You may need to adjust some settings in ~/.Xdefaults:

Code: [Select]
Xft.dpi: 96.0
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
URxvt*scrollBar: true
URxvt*transparent: true
URxvt*title: Terminal
URxvt*foreground: white
URxvt*background: black
#URxvt*font: xft:DejaVu Sans Mono:style=Book:size=10
URxvt*font: xft:Hack:style=Regular:size=10
#URxvt*font: xft:Unifont:style=Regular:size=12
#URxvt*font: xft:Code2002:style=regular:size=12
#URxvt*font: xft:Noto Sans Disp Blk:style=Regular:size=10
#URxvt*font: xft:Terminus:style=Regular:size=20
URxvt*cursorColor: green
URxvt*fading: 20
URxvt*shading: 50
URxvt*color12: DodgerBlue1
URxvt*saveLines: 1000
URxvt*letterSpace: 0
URxvt*iso14755: 1

tinycorelinux

  • Guest
Re: Font problem
« Reply #7 on: November 21, 2020, 06:58:54 AM »
You may need to adjust some settings in ~/.Xdefaults:
Done.