[links] DirectFB rendering text

Harry Lin D332 (中光電) harry.lin at coretronic.com
Tue Aug 7 20:11:09 MDT 2007


Hello,
I am a french developer and I am trying to use links in an embedded linux Set Top Box. I am now testing links which seems to be a very interesting project using DirectFB displaying system.
I know that links doesn't support CSS or style features in HTML code, but I need to display some links (<a href=..> tag) on DIrectFB, wherever I want, by using coordinates.

I've already looked for some solution in directfb.c but I didn't find the method or function to display some text and links. Moreover I barely understand how links 'display system works.

What I would like to know, is :

1. How does links do to display some text on DirectFB ?



View_gr.c g_text_draw() #265 g_print_text()

Dip.c g_print_text() #1804 print_letter()

Dip.c print_letter() #1707 gd->draw_bitmap()

The gd->draw_bitmap() is directfb.c #335 directfb_draw_bitmap()

It blits the pngs to data->surface


2. How does links do to display data like "links" on DirectFB ?

 

Maybe you can trace html.c html_a() ?


I hope there will be a possibility to modify this method or to replace it with a new one.
Thanks in advance for your advice.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linuxfromscratch.org/pipermail/links-list/attachments/20070808/baf8df18/attachment.html 


More information about the links-list mailing list