Home Download Buy Blog Forum Support

Font rendering on Arch Linux

Font rendering on Arch Linux

Postby jk779 on Fri Feb 03, 2012 12:27 pm

Hello, i have an issue with the font rendering in Sublime 2.
In the attached screenshot you can see how ubuntu mono 12 should look and how it looks in sublime. the letters are too "thin". i cannt really describe it, so please have a look at the attchment.
On Ubuntu the font gets rendered right.
i'm using gnome 3 (GNOME Shell 3.2.2.1) on Arch Linux and Sublime 2175-dev (The 2165 version also has this issue)

My Settings file reads:
Code: Select all
{
   "color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
   "font_face": "Ubuntu Mono",
   "font_size": 12
}

Can you help me?
Attachments
sublime.png
sublime is left, terminal right
sublime.png (47.2 KiB) Viewed 3038 times
jk779
 
Posts: 3
Joined: Fri Feb 03, 2012 12:18 pm

Re: Font rendering on Arch Linux

Postby jk779 on Fri Feb 03, 2012 3:16 pm

i found a solution, just create or edit ~/.fonts.conf file that it reads:

~/.fonts.conf
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
   <edit name="hinting" mode="assign">
      <bool>true</bool>
   </edit>
</match>

<match target="font">
   <edit name="hintstyle" mode="assign">
         <const>hintslight</const>
    </edit>
</match>

</fontconfig>
jk779
 
Posts: 3
Joined: Fri Feb 03, 2012 12:18 pm

Re: Font rendering on Arch Linux

Postby hnrch on Thu Nov 08, 2012 9:26 am

Thanks a lot! I have almost a year trying to get this done.
hnrch
 
Posts: 6
Joined: Mon Nov 22, 2010 4:52 pm
Location: México

Re: Font rendering on Arch Linux

Postby tsusanka on Sat Sep 20, 2014 1:03 pm

This actually works! Thank you so much.
tsusanka
 
Posts: 1
Joined: Sat Sep 20, 2014 1:02 pm


Return to Technical Support

Who is online

Users browsing this forum: crewone, Google [Bot] and 14 guests