Results 1 to 6 of 6

Thread: Smooth font setup on Debian

  1. #1
    Join Date
    Nov 2010
    Posts
    56

    Smooth font setup on Debian

    I am new in debian operating system. I mean I just newly work with debian and just want to know mr about this. Here I just want to enable fonts in debian. So, I don’t have any idea how I can do this. Please anyone here provides me some detail which helps me to do this. I also ask this to my friend but he don’t have any idea how to do this or how can I enable this.

  2. #2
    Join Date
    Nov 2009
    Posts
    865

    Re: Smooth font setup on Debian

    I am utilizing Debian unbalanced for last 4 to 5 months and could not configure fonts correctly. Fonts were not smooth, setup msttcorefonts, tweaked font config, anti aliasing and so on, but outcome was not fine. I establish a font.conf from someplace over internet and it has distorted smoothness radically. I am truly overcome with it.
    Copy font config, save it as font conf and change it with .font.conf of your home file.
    Code:
    cd
    mv .font.conf font.conf.bak
    mv font conf .font.conf
    Regenerate X Server and observe the dissimilarity. It is worth to attempt. If you akin to it, delete font.conf.bak file. You can utilize similar configurations in Ubuntu or Kubuntu also.
    font-conf :

    Code:
    <? Xml version="1.0"?>
    <! DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
     <match target="font" >
      <edit mode="ass" name="at" >
       <bool>true</bool>
      </edit>
     </match>
     <match target="font" >
      <edit mode="ass" name="ra" >
       <const>none</const>
      </edit>
     </match>
     <match target="font" >
      <edit mode="ass" name="hin" >
       <bool>false</bool>
      </edit>
     </match>
     <match target="font" >
      <edit mode="ass" name="hs" >
       <const>hint none</const>
      </edit>
     </match>
     <match target="font" >
      <edit mode="ass" name="aa" >
       <bool>true</bool>
      </edit>
     </match>
    </fontconfig>
    Enjoy the smooth Fonts !

  3. #3
    Join Date
    Apr 2009
    Posts
    994

    Re: Smooth font setup on Debian

    Fonts have all the time been an extremely sensitive subject below Linux for me, too, and I have hated the results each time right later than installing the MS core fonts. Providentially, my fonts have seemed immense below Arch for the previous only some years, now. I must say here that this is really a greater feature of Debian. It really looks great.

  4. #4
    Join Date
    Nov 2009
    Posts
    792

    Re: Smooth font setup on Debian

    You can as well go into about: config in Firefox and do a search for free type and turn the suggestions on. I have not had a trouble with fonts not being smooth on my Debian box. I utilize the Liberation-ttf fonts from Red Hat and in KDE I only switched smoothing on. Obviously, I could have distorted something and not understand it because I have had this /home partition for ages.

  5. #5
    Join Date
    May 2008
    Posts
    681

    Re: Smooth font setup on Debian

    Actually, I have that Firefox flag turned on, as well the KDE smoothing font alternative, but with this config I can choose a few fonts which did not seem very well earlier, even GTK based applications seems improved than 3 days before and too, I have the gnome smooth font flags turned on. This alternative is a pleasant global improvement.

  6. #6
    Join Date
    Apr 2009
    Posts
    970

    Re: Smooth font setup on Debian

    Here is the .font.conf file I utilize. It is not that much dissimilar than the one initially posted, but it has some dissimilarity: it replaces the Helvetica font with 'sans-serif', because it is not a true type font that looks awful. As well, it turns off ating on bold fonts as those be inclined to get too wide.
    Code:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <!-- Disable sub pixel rendering.
     X perceives it anyway, and if you situate this too, it just seems truly awful -->
    <match target="font" >
    	<edit mode="ass" name="ra" >
    	 <const>none</const>
    	</edit>
     </match>
     <match target="font" >
    	<edit mode="ass" name="hin">
    	 <bool>true</bool>
    	</edit>
     </match>
     <match target="font" >
    	<edit mode="ass" name="hs">
    	 <const>hint full</const>
    	</edit>
     </match>
    
    <!-- The first part of the 'magic.'
     This makes the fonts begin to appear good,
     But some of the forms will be unclear, so hin is required still -->
     <match target="font" >
    	<edit mode="ass" name="aa">
    	 <bool>true</bool>
    	</edit>
     </match>
    
    <!-- Ater is not twisted on automatically.
     Just disable this if you have recompiled Free type with the byte code interpreter, which is run automatically. <br /> -->
     <match target="pattern" >
    	<edit mode="ass" name="at">
    	 <bool>true</bool>
    	</edit>
     </match>
     <match target="font">
    		 <test name="wt" compare="mr">
    				 <const>medium</const>
    		 </test>
    		 <edit name="at" mode="ass">
    				 <bool>false</bool>
    		 </edit>
     </match>
    <!-- Helvetica is a non true type font, and will seem awful.
     This changed it with whatever is the default sans-serif font -->
     <match target="pattern" name="fm" >
    	<test name="fm" qual="any" >
    	 <string>Helvetica</string>
    	</test>
    	<edit mode="ass" name="fm" >
    	 <string>sans-serif</string>
    	</edit>
     </match>
     <dir>~/.fonts</dir>
    </fontconfig>

Similar Threads

  1. Replies: 4
    Last Post: 24-08-2011, 09:26 PM
  2. Setup wifi in debian
    By Xmen in forum Networking & Security
    Replies: 4
    Last Post: 15-12-2009, 11:38 AM
  3. Veranda Poster SG Font: Is new Font?
    By Andrzej in forum Operating Systems
    Replies: 3
    Last Post: 21-11-2009, 08:35 AM
  4. To setup high services on Debian Lenny
    By Asaph in forum Operating Systems
    Replies: 3
    Last Post: 11-04-2009, 09:28 AM
  5. Font & font size changed for menu box!!
    By got2balls in forum Customize Desktop
    Replies: 5
    Last Post: 20-03-2009, 06:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,186,010.32001 seconds with 17 queries