Just save the following code, with the name- ‘.fonts.conf’ and put it in your Ubuntu home-page , i.e, the home page of a particular user. Don’t forget the period(full-stop) before ‘fonts’ in the name of that file!
The code is-
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<edit name="autohint" mode="assign">
This tip was got from the following page-
Please visit this page to clarify further doubts. It surely has some notable difference, i tried.