Tech Gossips

July 1, 2007

FoieGras- First look at how the text rendering

Filed under: FOSS,Fun,GSoC,My Activities,Python — Laknath @ 2:10 am

After about a months of time into the GSoC project, I was able to finish the first significant improvement in the project that happened from my side. For a long time I was wandering here and there testing one thing or the other to see what’s working best and finally had enough of it.

For now FoieGras (The code name of the editor we are developing) text engine is capable of these capabilities. It can render some given tags but only inline tags. It can hide and show tags so if the user wanted to see tags and work with tags it’s possible. Also you can add more tags and configure the style tags are rendered using a configure file. I think it’ll be the main configure file regarding text rendering functions. After phenatic ( ) has released the first UI part we’ll be able to map the menu events to this text rendering functions and present the first release of FoieGras. 🙂

To tell you how the implementation of FoieGras is done, well it’s all done using python and pygtk as the wrapper for GTK to do UI things. First I planned on implementing the text renderer using some thread system, giving a thread to take care of each tag. But soon I understood that it’s a waste of time and resources so thought of a better way. Now the text rendering is done through the XMLparser that comes with python and so far it’s working nicely.

Also my mentor ( Dr. Don Scorgie – yeah, he is now a doctor 🙂 . Congrats Don ! ) is giving me a good support and good ideas. FoieGras now has a repository in GNOME svn and I’ve created a branch for tags rendering implementations and copied my works there, So you can check it. And another news is that I’m planning to goto GUADEC in next 14th July and I hope it’ll be fun and be able to discuss more about FoieGras there with the team and also hack FoieGras there.




Blog at