Hi Prunthaban,
Padma works by inspecting the font name of all the DOM nodes of the
web page and uses lookup tables to transform text within the DOM nodes
(See onPageLoad function in padma.js[1]). To implement padma in
webkit, we need to start with porting the following modules,
1. transformation logic.
2. code pages/lookup tables.
I am interested in contributing for this Padma port. Let me know how
you want to proceed on this.
Thanks
Saravana
[1] http://www.mozdev.org/source/browse/padma/src/content/padma.js?rev=1.31;content-type=text%2Fplain
On Wed, Nov 19, 2008 at 12:23 AM, Prunthaban Kanthakumar
<prunthaban at google.com> wrote:
> Hi All,
>> Glad to see the interest you show in porting Padma in C++.
> If anyone of you are actually ready to help in the rewrite of Padma in C++,
> we can have a separate project in code.google.com and work on that.
>> There are plenty of font specific JS classes in Padma, and they mostly
> contain a look-up table and a method to do the actual look-up. It will be
> helpful if we can get your help in writing them in C++.
>> I would like to hear from the developers about this option.
>> Nagarjuna,
> Thanks a lot for your interest. I will consolidate my queries and reach you
> for clarifications when needed.
>> Regards,
> Prunthaban
>>> On Wed, Nov 19, 2008 at 9:05 AM, Nagarjuna Venna <vnagarjuna at gmail.com>wrote:
>>> Prunthaban,
>>>> One point I forgot to add - it is not particularly hard to add support
>> for more Indic scripts in Padma (note that we are dealing here with
>> scripts and not languages). For our purposes, the scripts are actually
>> very similar.
>>>> I will be happy to walk through the design over a phone call if necessary.
>>>> Regards,
>> Nagarjuna
>>>> On Tue, Nov 18, 2008 at 8:22 AM, Nagarjuna Venna <vnagarjuna at gmail.com>
>> wrote:
>> > Hi Prunthaban,
>> >
>> > Good to hear there is interest in porting Padma to Webkit. I will be
>> > glad to assist with the porting though I wouldn't be able to
>> > contribute any code. Padma design is relatively straightforward - the
>> > somewhat hard piece is the code that breaks the input text into
>> > syllables. Everything else is table lookups. I will be happy to talk
>> > with whoever is working on the port.
>> >
>> > Thanks,
>> > Nagarjuna
>> >
>> >
>> > On Tue, Nov 18, 2008 at 7:36 AM, Prunthaban Kanthakumar
>> > <prunthaban at google.com> wrote:
>> >> Hi All,
>> >>
>> >> This is Prunthaban from Google Chrome browser team.
>> >>
>> >> We are working on improving Indian language support in Google Chrome
>> browser
>> >> (which used Webkit for rendering) and as a part of this work, we wanted
>> to
>> >> do something similar to Padma in Webkit. But we would like to integrate
>> it
>> >> as part of Webkit rather than having it as an extension/plug-in.
>> >> There were some discussions on this in Webkit and you can refer to the
>> >> comments in this bug discussion for details.
>> >>
>> >> https://bugs.webkit.org/show_bug.cgi?id=20542#c21>> >>
>> >> At present we are in the process of rewriting Padma plug-in and look-up
>> >> tables in C++ so that they can be integrated into Webkit.
>> >>
>> >> Would you be able to assist us in doing this? If you are interested in
>> >> contributing to - porting Padma in C++, please let us know so that we
>> can
>> >> discuss further.
>> >> At present we do not have clear ideas of Padma's design because the
>> current
>> >> team here do not have people with knowledge in all the languages (Padma
>> >> supports many languages and the intricacies of diffirent languages adds
>> to
>> >> the complexity). Would you be able to provide your assistance in this
>> >> regard?
>> >> If the Padma developers team can help us with developing look-up tables
>> for
>> >> fonts, etc in C++, it will be really helpful.
>> >>
>> >> Let us know about your preferences.
>> >>
>> >> Regards,
>> >> Prunthaban
>> >> _______________________________________________
>> >> Padma mailing list
>> >> Padma at mozdev.org>> >> https://www.mozdev.org/mailman/listinfo/padma>> >>
>> >
>> _______________________________________________
>> Padma mailing list
>>Padma at mozdev.org>>https://www.mozdev.org/mailman/listinfo/padma>>> _______________________________________________
> Padma mailing list
>Padma at mozdev.org>https://www.mozdev.org/mailman/listinfo/padma>