|
From: Vinod K. <rig...@gm...> - 2007-11-21 05:17:59
|
Please remember that FreeType2 is for rasteriziing and rendering glyphs and not for handling script related processing. Script related processing for Indic is now mostly done using OpenType font. FreeType had started an effort to include OpenType support into their library but they concluded that OpenType handling is not a font level operation but a higher level layout operation. But their code handles OpenType very well for all its tables etc. Pango has used the opentype module and so has IndiX. Since Pango followed the MicroSoft OT feature based approach the Pango version is complex. IndiX follows an OT Feature independent approach. You can get the IndiX sourcecode. libraries with the OpenType code from FreeType from right under your nose at C-DAC, Mumbai, Juhu. (www.cdacmumbai.in/projects/indix ) ICU too is able to handle OpenType. Maybe you can use ICU to get the glyphs for the Devanagari font and then use FreeType2 to render those glyphs. Cheers Vinod Kumar Project IndiX On 11/21/07, Naveen Kumar <na...@gm...> wrote: > > Hi, > Is there a procedure some where which tells me the how to go about > doing rendering for the Devanagrai Script using FreeType library. I am > facing a problem rendering devanagari in 3D environment in OpenGL. Again > there are some libraries like FTGL and GLTT but as of now I do not know if > these libraries can read tables specified in OTFcorrectly. Till now I did > find anything. I am also not aware how to use FreeType API's to render Indic > Scripts. Earlier I was using Pango to render things for me, just give it a > handle of XftDraw and life is easy for you. > > It would have been good if there was a procedure as such how to do it > using FreeType2 library. Beacuse there are environments where abstraction > provided by libraries like pango would not be of much use, and you need an > "open procedure". Please help me. > > -- > Thanks & regards > Naveen Kumar > Project Engineer > Open Source Software Division( http://ossrc.org.in/ ) > C-DAC Mumbai ( http://www.cdacmumbai.in/ ) > > |