Re: Increasing point size of Meera font using fontconfig

2008-07-25 Thread Pravin S
Hi Behdad,

original source is from
http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-04.1.zip
just edited it for testing
good to know it is working perfectly

where should i submit this patch
1) to fontconfig package? or
2) will it ok to copy it to /etc/conf.d through smc-fonts package?
IMO second one is not right

let me know so i can do remaining things for
https://bugzilla.redhat.com/show_bug.cgi?id=448078

Thanks,
Pravin S


2008/7/24 Behdad Esfahbod [EMAIL PROTECTED]:
 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
stringMeera/string
/test
edit name=matrix mode=assign
times
namematrix/name
matrixdouble1.2/doubledouble0/double
double0/doubledouble1.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/

 ___
 Fedora-fonts-list mailing list
 Fedora-fonts-list@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-fonts-list



___
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list


Re: Increasing point size of Meera font using fontconfig

2008-07-25 Thread Nicolas Mailhot
On Fri, 2008-07-25 at 11:43 +0530, Pravin S wrote:

 where should i submit this patch
 1) to fontconfig package? or
 2) will it ok to copy it to /etc/conf.d through smc-fonts package?
 IMO second one is not right

We have many packages that do that, because isuing a fontconfig update
each time a maintainer wants to change a fontconfig rule for his font is
frankly not scalable. As a bonus that also means fontconfig does not
have to process rules for fonts not installed on the system. The whole
conf.d change was made to make this kind of use possible.

 2008/7/24 Behdad Esfahbod :

  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.

Thanks but really, it's a wiki you know. Anyway:
http://fedoraproject.org/wiki/Fontconfig_packaging_tips#Auto-scaling_problem_fonts

Regards,

-- 
Nicolas Mailhot


signature.asc
Description: This is a digitally signed message part
___
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list


Re: Increasing point size of Meera font using fontconfig

2008-07-25 Thread Pravin S
2008/7/25 Nicolas Mailhot [EMAIL PROTECTED]:
 On Fri, 2008-07-25 at 11:43 +0530, Pravin S wrote:

 where should i submit this patch
 1) to fontconfig package? or
 2) will it ok to copy it to /etc/conf.d through smc-fonts package?
 IMO second one is not right

 We have many packages that do that, because isuing a fontconfig update
 each time a maintainer wants to change a fontconfig rule for his font is
 frankly not scalable. As a bonus that also means fontconfig does not
 have to process rules for fonts not installed on the system. The whole
 conf.d change was made to make this kind of use possible.

agree,
having .conf file with font package is very likely since it is for
particular font,
but problem can be
conf.d will get overwrite after each update of fontconfig and
possibility of loss of .conf files
that is only problem i think


 2008/7/24 Behdad Esfahbod :

  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.

 Thanks but really, it's a wiki you know. Anyway:
 http://fedoraproject.org/wiki/Fontconfig_packaging_tips#Auto-scaling_problem_fonts

 Regards,

 --
 Nicolas Mailhot




-- 
Thanks  Regards,
-
Pravin Satpute

The trouble with the world is that the stupid are cocksure and the
intelligent are full of doubt.
--Bertrand Russell

___
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list


Re: Increasing point size of Meera font using fontconfig

2008-07-24 Thread Behdad Esfahbod
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
stringMeera/string
/test
edit name=matrix mode=assign
times
namematrix/name
matrixdouble1.2/doubledouble0/double
double0/doubledouble1.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/


signature.asc
Description: This is a digitally signed message part
___
Fedora-fonts-list mailing list
Fedora-fonts-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-list