LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-11-2013, 06:32 PM   #1
linuxbawks
Member
 
Registered: Apr 2013
Posts: 39

Rep: Reputation: Disabled
X-Windows Interface Fonts


I wish to do something about the display of fonts under X-Windows.

The fonts appear somewhat faint with Slight Hinting but appear crisp but tiny with Medium and Full Hinting.

So I would like to find a way to make the fonts using Slight Hinting to be bolder and crisper than normal.

Is there a straightforward way to do it? I've already tried Infinality but would like for a simpler more direct way to solve this problem.

Your experiences please.
Many thanks!
 
Old 08-12-2013, 04:51 PM   #2
linuxbawks
Member
 
Registered: Apr 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
~/.fonts.conf

Install Fonts: Google Droid, Open Sans and Noto Sans.

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>

<!--

    Private font directory 
-->
<dir>~/.fonts</dir>

<!--
<alias>
    <family>sans-serif</family>
    <prefer><family>Open Sans</family></prefer> 
    <prefer><family>Noto Sans</family></prefer>
</alias>
-->

<match target="pattern">
    <test name="family">
        <string>sans-serif</string>
    </test>
    <test name="weight" compare="eq">
        <const>bold</const>
    </test>
    <edit name="family" mode="prepend">
        <string>Open Sans Bold</string>
    </edit>
</match>

<match target="pattern">
   <test name="family">
       <string>sans-serif</string>
   </test>
   <test name="weight" compare="less">
       <const>bold</const>
   </test>
   <edit name="family" mode="assign">
       <string>Open Sans Semibold</string>
   </edit>
</match>


<!--
    use rgb sub-pixel ordering to improve glyph appearance on

    LCD screens. Changes affecting rendering, but not matching

    should always use target="font". 
-->
<match target="font">
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
</fontconfig>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hebrew fonts with centos 5 no GUI interface kernel 2.6.18-92.1.22.el5 Elnegro8 Linux - Distributions 1 01-13-2009 11:31 AM
Change the fonts of firefox interface and acrobat reader gupsy hraposo Ubuntu 1 08-12-2007 01:52 PM
Windows fonts Cyric Slackware 7 10-07-2004 10:59 AM
mozilla interface fonts too small in KDE NOT Gnome m_yates Debian 4 12-16-2003 01:50 PM
Where's the windows fonts? bigjohn Mandriva 1 09-05-2003 07:00 PM


All times are GMT -5. The time now is 10:49 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration