Thursday, May 28, 2009

Still gcalctool not allowing indic numerals

presently gcalctool not supporting indic numerals, but i think it will nice if we enable it for indic digit also, so if someone entered indic numerals for calculating it should do a calculations and display a result in indic numerals.
I googled for this but didn't found any topic related this.
now i dont know complexity involve in doing this, but as far as i think it will just require conversion from Indic numerals to Latin numerals and vice versa. When somebody enters any expression and if it contains indic numerals it will convert it to latin, then processing as usual and then while display result it will do same thing back.

Task:
1) understading gcalctool code
2) utf-8 to unicode conversion
3) validation for indic numerals
4) converting to latin before processing
5) converting result back to indic after processing
6) unciode to utf-8

thats it

hope so there is no any standard not allowing doing this thing :), i will talk with upstream for this lets see

Wednesday, May 20, 2009

facing problem while using Policykit for user authentication

I am trying to use policykit in system-config-language for authentication, so thought lets try with some test application

while doing so i am following steps given in murrayc

everything is going well
****************************************************
def write_file():
fp = open('/etc/fonts/fonts.conf', 'a')
fp.write("i have wrote")
fp.close


if __name__ == "__main__":
print "calling wrtie file"


#Call the D-Bus method to request PolicyKit authorization:
session_bus = dbus.SessionBus()
policykit = session_bus.get_object('org.freedesktop.PolicyKit.AuthenticationAgent', '/')
if(policykit == None):
print("Error: Could not get PolicyKit D-Bus Interface\n")
granted = policykit.ObtainAuthorization("test.org.gnome.lirc-properties.mechanism.configure", (dbus.UInt32)(0), (dbus.UInt32)(os.getpid()))

print granted


if granted:
write_file()
else:
print "no access"
****************************************************

in my code after calling

granted = policykit.ObtainAuthorization("test.org.gnome.lirc-properties.mechanism.configure", (dbus.UInt32)(0), (dbus.UInt32)(os.getpid()))

it is asking me for root password as per i stated in .policy file, but after entering root password, in next line when i am trying to update /etc/fonts/conf.d, it is not allowing me to do that :(

i dont know even after entering root password from policykit why my code is not able to edit above file

my all file are here
policykit

still trying for this, thought lets share it

Thursday, February 12, 2009

Malayalam Collation is now in glibc upstream

yesterday Ulrich upstreamed ml_IN collation patch

2008 nice year of Indic computing as we started targeting collation for Indic Languages in glibc,
starting point was Ulrich Drepper's India visit for foss.in 2008, he pointed out in his speech still there lots of work to do for Indic Languages in glibc
for collation and iconv
I started some work initially, studied already implemented things such that collation tables for ta_IN and as_IN, community event Indic Mashup in Pune helped lot, in that event almost all Languages LM were present and got a good input to start work

started collation with Devanagari mostly used script in India, then one bye one,
GUJARATI
TELUGU
GURUMUKHI
KANNADA
SINHALA
MALAYALAM

we have got a good community, they really worked very fast for this, for Sinhala and Malayalam harshula and santhosh completely wrote collation table i just reviewed and tested them.

so its really nice thing happen for Indic languages

now
we can see all menus for particular languages in sorted order,
also we can easily sort any long list using sort function provided by glibc and quickly search required item,
also like the way we search our required file in huge docs folder pressing initials of name, same thing now we can do for our language(i was missing that lot)

Fedora 10 already has support for most of the collation, now Fedora 11 will have support for Malayalam Collation also

collation table for above languages/script are available at glibc upstream

the only one remaining now is Bengali collation, Bug
hope so things for that also get sorted quickly and we can say now Linux support sorting for all Indic Languages :)

thanks to all contributed in this and special thanks to Ulrich for all support :)
cheers

Tuesday, January 13, 2009

now easily install ttf/otf fonts in fedora 10 using kfontview (kfontinst)

today i was trying to read news from http://onlinenews.lokmat.com, but it is using custom encoding font so i downloaded it..

I was planning to install it using regular mkfontdir, fc-cache command but was feeling bit lazy to do that..
just thinking can i just install it using just one click and yes now we can do that.

kfontview is now have that feature.

Just right click on any .ttf font file and open with kfontview

It will show you characters in fonts and also there is install buttton (It will be disables in font already installed ) just click on that, now restart your application in which you want to see same font and its d one

I am still remembering those days when windows user were calling me only for installing font for testing it in there Linux machine, It is very good for them now they can easily install and test font without any help :)

I think gnome-font-viewer is now disabled.

Friday, January 09, 2009

photofunia good one!!

today saw photos of my friends in some nice frames, tried photofunia
and its really funny

It quickly add you snap in nice frame, it uses face detection technology for doing this
some more of mine available at
http://picasaweb.google.co.in/pravin.d.s/Photo_funia#

for trying it visit photofunia.com :)

Friday, November 28, 2008

Gone through some things @ foss.in second day!!

Freeway is an advanced Open Source eCommerce platform which can sell using methods only previously available in enterprise class or niche bespoke systems.
http://www.openfreeway.org/

attended talk on OLPC,
It need more opensource contributors from india..

Talepathy..
http://telepathy.freedesktop.org/wiki/
Its really nice application, though i have not used yet but on tablet like nokia 810 its great application..
one can do chat, talk, video conferencing and many thing..


Nice to see Sun- Virtualbox and VMWare's stall in front of each other

Wednesday, November 26, 2008

1st day at foss.in:

first day started with registration and initial talk of Atul Chitnis telling the basics of foss, and what the means of "Talk is Cheap, show me the code"..

Also had a face to face meet with many opensource contributors meeting mostly on IRC

as we(Me and Rahul Bhalerao) had a talk on very first day in afternoon session, initially it was planned at 5pm but in final schedule it was at 2pm, so we mostly concentrate on our talk,

there was good audience in our talk, something around 100 and more, with majority of student..

and got a good response from some Tibetan students looking for there language to be recognize from OS point of view...

Also some people shows there concerns about Open Type Specs 1.6 and Its imact on present font rendering..

Got a good feedback on the way we covered all the i18n architecture in one shot..