Sunday, October 23, 2011

Tamil fonts not displayed properly in browsers.. in linux..

Once i came to know about tamil lyricist Arivumathi's blog.  So, i open it in my browser but tamil fonts are not shown properly.  The fonts are either like a rectangle or torn.  I try to see the blogpost in tamil properly, and atlast i got the following solution..

The solution is removing the Freesans, Freeserif fonts from your linux system(BOSS, ubuntu, all debian derived linux).  These fonts are in /usr/share/fonts/truetype/freefont directory.  Either remove the fonts by deleting it or copy it to some other place but not in the fonts directory.  Thats all now the blog is shown well in tamil.  the following images are

Tamil blog with tamil font rendering problem
Tamil blog after font problem fixed

Tuesday, October 18, 2011

Do you hear about Vanilla kernel?

Simply all the kernel that downloaded from the http://kernel.org/ are "Vanilla Kernel".


 We know that the home site of the linux kernel is at http://kernel.org/.  All the linux distributions will use the stable linux kernel from here(of different kernle versions[for ex: 2.6.32.46, 2.6.35.14 etc]). 

  Here comes the difference, so some distributions will patch the kernel before use it in its distribution.  For example SUSE's kernel patch for boot screen animation, Debian's kernel patch for LOGO , bad-ram.  [ Page to debian's kernel patches ]. 

 Now consider the security patches like SElinux, grsecurity.  The team that works on these projects are not able to know, monitor & follow back the kernel patch by different linux distributions.  So, they do write patches only to the kernel in http://kernel.org/.

 So, its true that the kernel you are using may not be completely same as the Vanilla kernel, even if they are same kernel versions.  Some features/securites that patched in one distribution and may not be patched in another.  So if one want a Plain kernel he should go with vanilla kernel download only from http://kernel.org/ not from their distribution's repository.