LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 04-09-2015, 11:53 AM   #1
bangnagr
Member
 
Registered: Jan 2013
Posts: 48

Rep: Reputation: 4
Help trouble with fonts...


Hi All

I spent a whole day installing and configuring arch linux with gnome3. I was not happy with font rendering, so after search in google, i came across this tutorial - Get High Quality Font Rendering in Linux with Infinality. I thought everything will be super fine, but after reboot, i have trouble with fonts display. Every time i move mouse, fonts start disappearing/re-appearing/dancing etc. Often they even wont display at all. Screen-shots attached.

I want to undo what i did, but not sure how to do it. I tried to uninstall packages that i had installed, still the problem persists.

How do i reset my fonts to previous stage.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	01.png
Views:	38
Size:	41.5 KB
ID:	18061   Click image for larger version

Name:	02.png
Views:	36
Size:	143.6 KB
ID:	18062  
 
Old 04-09-2015, 12:01 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Two things you ought to consider (1) look at that script for infctl.sh and see if there's anything to un-set. At least look at what it does. (2) uninstall these fonts via "sudo apt-get remove --purge fontconfig-infinality"

My concern with #1 is that it set up stuff to point to these fonts, which you're now uninstalling via #2, so it may be a problem removing stuff and then rebooting to find no fonts. I'm sure you'll see something, just unstyled system fonts though.
 
1 members found this post helpful.
Old 04-10-2015, 06:19 AM   #3
bangnagr
Member
 
Registered: Jan 2013
Posts: 48

Original Poster
Rep: Reputation: 4
@rtmistler, Thanks for replying. I tried everything I could possibly do from my limited knowledge on fonts/graphics subject. After spending whole night and when nothing changed, I just gave up. I installed again a fresh copy of Arch from scratch.

All I wanted was a gnome-terminal that looked like Ubuntu's terminal. In CentOS-6/7 and Fedoar-21, I did the following steps, which resulted in a smooth fonts in gnome-terminal. Plus, when I added Rainbow preset to PS1 prompt in /etc/bashrc that was generated from Bash $PS1 Generator, the gnome-terminal just looked so cool.

I'll be grateful, if you/someone could help me achieve the same effect in Arch linux.

In CentOS-6/7 & Fedora-21 (RPMFusion repo):

Code:
# yum install freetype-freeworld

$ gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "hinting" "slight" 
$ gsettings "set" "org.gnome.settings-daemon.plugins.xsettings" "antialiasing" "rgba" 
$ echo "Xft.lcdfilter: lcddefault" > ~/.Xresources

# reboot
Many Thanks.
 
Old 04-10-2015, 06:55 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Is it fonts or colors you really want?
 
Old 04-10-2015, 07:04 AM   #5
bangnagr
Member
 
Registered: Jan 2013
Posts: 48

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by rtmistler View Post
Is it fonts or colors you really want?
Not really. Its just looked good. I was configuring it on my personal laptop not on server. I can definitely live without that .
 
Old 04-10-2015, 08:04 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
My point is that under Ubuntu there are some default aliases:
Code:
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
So as a result, any ls is performed in color. Since ls is used in the ll, la, and l aliases, then the --color=auto is also included. I actually usually only use ls and ll. But the fact that files are colored I like a lot and I like seeing the slash / appended to directories due to the -F flag. In fact, for me, I probably should re-alias ls to always include the -F flag, and not just the ll alias case.

Either case, this was what I was talking about, if you like the coloring as a primary benefit and arch doesn't do that (I don't know if it does) then these are some aliases to try, the primary option being the --color=auto part.
 
Old 04-10-2015, 08:16 AM   #7
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
The Infinality guide you have linked is quite old and since then @bohoomil has secured an unofficial repository for his Infinality patches.

Follow these instructions for the best font rendering available:
https://wiki.archlinux.org/index.php...tom_repository

There is also a support thread for bohoomil's work on the Arch forums:
https://bbs.archlinux.org/viewtopic.php?id=162098
 
Old 04-10-2015, 08:59 AM   #8
BeaStiE35
Member
 
Registered: Oct 2014
Distribution: distrohopper
Posts: 76

Rep: Reputation: 3
What's wrong with fonts on Linux??? how is possible most people have 'to import' from winBUG$ ???
 
Old 04-11-2015, 08:50 AM   #9
bangnagr
Member
 
Registered: Jan 2013
Posts: 48

Original Poster
Rep: Reputation: 4
I resolved the problem.

This is what I did.

1. Installed/Reinstalled some packages: xorg xorg-server xorg-xinit xorg-server-utils

2. Added following to ~/.fonts.conf file for MAC OS-X like smooth font render:
Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>false</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
 </match>
 <dir>~/.fonts</dir>
</fontconfig>
3. Installed cope-git from AUR.

All worked well. Looks great.

Thanks you all.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	65
Size:	182.3 KB
ID:	18082  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting classic Slackware fonts (.fnt) to TrueType fonts? jeremya Slackware 14 09-14-2020 11:21 PM
12.04 Browser fonts changed unexpectedly after installing new fonts and rebooting jdier Linux - Software 1 11-19-2012 11:51 AM
A frontend to change the fonts of xterm/mrxvt using the ~/.fonts folder ? frenchn00b Linux - General 1 05-28-2008 12:28 PM
Suse 10.3 Non-oss install trouble (flash, pdf, fonts) dlackovic Linux - Newbie 4 11-23-2007 02:01 AM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration