Re: [ft-devel] Reg:True Type Font display
Hi, On Thu, 25 Feb 2010 12:59:38 +0530 Poornima poornim...@jasmin-infotech.com wrote: We have ported Free Type Font Library (freetype-2.3.11) on fixed point DSP processor (BF533, 600 MHz) in VDSP Platform. Basic functionality is working fine. We have got output display in LCD monitor through HDMI connector. But the FT_Load_Char() function is taking lot of time to execute (around 3 ms per character). Could you please provide your inputs for optimizing the function FT_Load_Char()? I have no experience of the development for DSP, so I have no idea about DSP-specific issue exists /or not. How about the speed of FT_Get_Char_Index() and FT_Load_Glyph()? Regards, mpsuzuki ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
RE: [ft-devel] Reg:True Type Font display
Hi, Thank you for the response. FT_Load_Glyph() takes lot of time compared to FT_Get_Char_Index(). Please find the details below. FT_Get_Char_Index()- It takes around 0.005 ms per character. FT_Load_Glyph() - It takes around 2.9 ms per character. Could you please provide your inputs for improvements? Thanks and Regards, Poornima. -Original Message- From: mpsuz...@hiroshima-u.ac.jp [mailto:mpsuz...@hiroshima-u.ac.jp] Sent: Thursday, February 25, 2010 1:54 PM To: Poornima Cc: freetype-devel@nongnu.org; jeyasathy...@jasmin-infotech.com Subject: Re: [ft-devel] Reg:True Type Font display Hi, On Thu, 25 Feb 2010 12:59:38 +0530 Poornima poornim...@jasmin-infotech.com wrote: We have ported Free Type Font Library (freetype-2.3.11) on fixed point DSP processor (BF533, 600 MHz) in VDSP Platform. Basic functionality is working fine. We have got output display in LCD monitor through HDMI connector. But the FT_Load_Char() function is taking lot of time to execute (around 3 ms per character). Could you please provide your inputs for optimizing the function FT_Load_Char()? I have no experience of the development for DSP, so I have no idea about DSP-specific issue exists /or not. How about the speed of FT_Get_Char_Index() and FT_Load_Glyph()? Regards, mpsuzuki ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Reg:True Type Font display
We have ported Free Type Font Library (freetype-2.3.11) on fixed point DSP processor (BF533, 600 MHz) in VDSP Platform. Basic functionality is working fine. We have got output display in LCD monitor through HDMI connector. But the FT_Load_Char() function is taking lot of time to execute (around 3 ms per character). Could you please provide your inputs for optimizing the function FT_Load_Char()? Caching, caching, caching. Especially loading a hinted TrueType glyph needs a lot of resources. I really doubt that there is any possibility to make it really faster, given that David is a specialist for exactly such things. Note, however, that not all compilers optimize in the same way, so you should play with your optimization options, together with a lot of profiling. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Reg:True Type Font display
On Thu, 25 Feb 2010 14:49:16 +0530 Poornima poornim...@jasmin-infotech.com wrote: FT_Load_Glyph() takes lot of time compared to FT_Get_Char_Index(). Thanks. FT_Get_Char_Index()- It takes around 0.005 ms per character. FT_Load_Glyph() - It takes around 2.9 ms per character. Hmm. In next, could you check if hinting affects the speed? hinting module can be disabled by commenting out 2 lines in module.cfg: # FreeType's auto hinter. HINTING_MODULES += autofit # PostScript hinter. HINTING_MODULES += pshinter If hinting is not important factor, the next candidate would be the outline calculation of TrueType font. Could you check the time to load an embedded bitmap glyph? Regards, mpsuzuki ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel