Scaling individual fonts using fontconfig/Xft/GTK
Hello,
On my Ubuntu system, there is a TrueType font called "Pothana2000" that is used to render Unicode text for the Telugu language. This font comes with the ttf-indic-fonts package which is also available on Debian systems. My problem is that, in all GTK programs that use Xft (and therefore also use fontconfig), this Pothana2000 font appears much smaller than all other fonts at the same point-size. For example, see this screenshot and notice how the English words "Link" and "Mouse" (near the bottom of the picture) appear much bigger than the surrounding Telugu text. To solve this problem, I have tried to force scaling of this font using a fontconfig configuration file, but was unsuccessful. Here is the configuration file I have tried (~/.fonts.conf): Code:
<?xml version="1.0"?> I would really appreciate any thoughts or comments on this problem. It has been annoying me for two years now. :cry: Thanks. |
Maybe you can try this code. I'm using a matrix to get a resized font, change the 1.1 to a value that fixes your font.
Code:
<match target="font"> |
All times are GMT -5. The time now is 09:48 PM. |