LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   X-Windows Interface Fonts (https://www.linuxquestions.org/questions/linux-desktop-74/x-windows-interface-fonts-4175473020/)

linuxbawks 08-11-2013 05:32 PM

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!

linuxbawks 08-12-2013 03:51 PM

~/.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>



All times are GMT -5. The time now is 12:43 PM.