[Lohit-devel-list] fc-match/fc-cahe and setting Lohit as default font on Ubuntu

Pravin Satpute psatpute at redhat.com
Wed Jun 13 06:54:40 UTC 2012


On 06/13/2012 01:43 AM, Srikanth Lakshmanan wrote:

cc'ed to lohit-devel so we can get more views on same.

> Hello Pravin,
>
> I remember you told me some commands and edited a font config file to
> make Lohit as default font at Mumbai. I need those to the new Lohit
> Tamil / Classical on my machine, somehow search is not helping me
> properly :(.

Yes sure.
You can see 66-lohit-tamil-classical.conf file is available with
lohit-tamil-classical release.

1. rename 66-lohit-tamil-classical.conf to 65-0-lohit-tamil-classical.conf
2. copy it to /etc/fonts/conf.d/

Done, it should override 65-nonlatin.conf for tamil sans font.

>
> I would also like to know 
>
> 1. If Lohit-Tamil 2.5.1 would be available in ubuntu packages sometime
> soon?

I dunno who is package maintainer for Ubuntu, might be santhosh know
this. I will definitely help if any problem.
It will be good if we can update lohit package regularly in Ubuntu as
well with this way we can get more testing of fonts.
> 2. If the above way of setting system's default font is "hackish", is
> there a right way to set it?

It is right way to set it as per the fontconfig, following same way in
Fedora. I have renamed 66-lohit-tamil.conf to 65-0-lohit-tamil.conf to
make it default font for Fedora.

Same way once distro decide regarding default font for particular
language. They can update package accordingly.
>
> One requirement is to have Lohit-Tamil set as default font on the
> Collection server (PDF/ODT render server) so that items generated
> (typically downloadable wiki pages) through the server uses
> Lohit-Tamil for rendering as one feedback we got was that Lohit-Tamil
> is better font on ODT file than the current ubuntu default font. Since
> wmf servers are puppet based, am not sure if hackish solutions will be
> possible / encouraged.

Me too not sure how to configure font for particular application. Might
be you can ask to particular package upstream or fontconfig-list is
there any way.

Best Regards,
Pravin Satpute




More information about the Lohit-devel-list mailing list