Increasing point size of Meera font using fontconfig

Behdad Esfahbod besfahbo at redhat.com
Thu Jul 24 16:14:58 UTC 2008


Hi again,

I tested your snippet and it works perfectly.  It's actually a very nice
trick that should be documented!  I'm CC'ing fedora-fonts-list.  Here's
the snippet to adjust font size for a family.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- multiply the matrix of Meera font for solving size mismatch with Rachana-->
        <match target="font">
                <test name="family" mode="eq">
                        <string>Meera</string>
                </test>
                <edit name="matrix" mode="assign">
                        <times>
                                <name>matrix</name>
                                <matrix><double>1.2</double><double>0</double>
                                        <double>0</double><double>1.2</double>
                                </matrix>
                        </times>
                </edit>
        </match>
</fontconfig>


behdad


On Thu, 2008-07-24 at 15:13 +0530, Pravin Satpute wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Behdad,
> 
> ~    I am maintainer of package smc-fonts-meera-04-6.fc9.noarch and i 
> want to double this fonts point size using fontconfig, i need your help 
> in this case.
> Attaching .conf file i have created for meera font,
> ~    https://bugzilla.redhat.com/show_bug.cgi?id=448078
> ~    I don't know how to test that whether it is working right or not, 
> alternately it will be nice if you help me in correcting this file.
> ~    I will be very thankful to you for giving some time from your busy 
> schedule.
> 
> 
> Thanks & Regards,
> Pravin S
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkiITqgACgkQLTnsA10u83yKdACeMo9+3CRMgp7ccnKYdfJgL2aH
> 9UsAnjkRTriDlfgLf7H0rXrzSWnbyn+B
> =tW3X
> -----END PGP SIGNATURE-----
> 
-- 
behdad
http://behdad.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-fonts-list/attachments/20080724/e9797077/attachment.sig>


More information about the Fedora-fonts-list mailing list