Aditya Gilra <[EMAIL PROTECTED]> wrote:
> I have some experience in C/Java programming,
> but I've never contributed to an open-source project
> before though I'd certainly like to.
>
> Pl. inform how to proceed and which parts of the code
> to look at for Hindi rendering.
Sorry, I actually do not have a time to help you.
But here is a general guideline (which IMHO is OK):
First, if you haven't joined the lyx-devel list, then please join.
Then make your plan and designs and discuss them on the list.
When they are concrete with other developers approval, ask Lars when
LyX will be ready to incorporate your ideas.
During the while, you can maintain unofficial patch just like
ChangGil Han is doing for CJK-patch.
The most low level stuffs to load and render fonts are in
FontLoader.C/FontLoader.h and in lyxfont.C/lyxfont.h
>From there, probably you can forget about OOP and compile LyX
with "gcc -g -pg" switchs and let gprof to tell you who is calling
the codes in question.
Once you are familiar with the design of LyX, you can study
font layout engines such as pango and/or LEFontInstance Class
of ICU and decide what to adopt. As Lars pointed out elsewhere,
ICU has a strange homemade string class and not very easily usable
from LyX. While, ICU has a powerful break iterators for character
boundary, line breakable point and so on, which pango lacks.
Since pango doesn't allow user of the library to access its
internal data, you have to reinvent a wheel in order to implement
a confortable editing interfaces.
Regards,
SMiyata