From yann.souro_sanou at iwedia.com Fri Jul 6 05:48:17 2007 From: yann.souro_sanou at iwedia.com (yann.souro_sanou at iwedia.com) Date: Fri, 06 Jul 2007 13:48:17 +0200 Subject: [links] DirectFB rendering text Message-ID: <468E2C01.2090604@iwedia.com> 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 /( 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 ? 2. How does links do to display data like "links" on DirectFB ? 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/20070706/c096ea1d/attachment.html From clock at twibright.com Sat Jul 7 02:27:57 2007 From: clock at twibright.com (Karel Kulhavy) Date: Sat, 7 Jul 2007 10:27:57 +0200 Subject: [links] Links In-Reply-To: References: Message-ID: <20070707082757.GA25354@kestrel.barix.local> On Fri, Jul 06, 2007 at 04:08:20PM +0100, David Benn wrote: > Hi > > > > I have tried using the browser software on cygwin and on Ubuntu as a > host from a Windows XP host machine running VMware. You had only directfb available on the system and even that doesn't work. You have to either configure direectfb to work or install x window system and recompile. in cygwin it's possible to install x window system as well. CL< > > > > I have attached a few files which shows my configuration and the results > when I try to run Links. I hope you can help. Please "reply to all" so > that I may receive your reply at home as well as at work. > > > > Do you have a contact telephone number ? > > > > > > > > BR > > > > David Benn > > > > > > > > DISCLAIMER > Any opinions expressed in this e-mail are those of the individual and not necessarily of Hochiki Europe (UK) Limited. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from Hochiki Europe (UK) Limited, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. > > If you have received this email in error please notify Hochiki Europe (UK) Limited via email to mailto:administrator at hochikieurope.com, including a copy of this message. Please then delete this email and destroy any copies of it. > > All business is conducted subject to Hochiki Europe (UK) Limited?s standard terms and conditions, copies of which are available upon request. > > Registered address: 11 Raven Wharf, Lafone Street, Butlers Wharf, London SE1 2LR. Reg in England No 25639909 Vat No GB 5738188 03. > > This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com Content-Description: links_config_ubuntu.txt > loading cache ./config.cache > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... (cached) yes > checking for working aclocal... found > checking for working autoconf... found > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... missing > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking whether gcc needs -traditional... (cached) no > checking for EMX... (cached) no > checking for typeof... (cached) yes > checking for long long... (cached) yes > checking for dirent.h that defines DIR... (cached) yes > checking for opendir in -ldir... (cached) no > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for fcntl.h... (cached) yes > checking for limits.h... (cached) yes > checking for sys/ioctl.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for time.h... (cached) yes > checking for unistd.h... (cached) yes > checking for math.h... (cached) yes > checking for ieee.h... (cached) no > checking for endian.h... (cached) yes > checking for values.h... (cached) yes > checking for sigaction.h... (cached) no > checking for netinet/in_systm.h... (cached) yes > checking for netinet/in_system.h... (cached) no > checking for netinet/ip.h... (cached) yes > checking for netinet/dhcp.h... (cached) no > checking for sys/select.h... (cached) yes > checking for sys/resource.h... (cached) yes > checking for sys/utsname.h... (cached) yes > checking for sys/un.h... (cached) yes > checking for sys/fmutex.h... (cached) no > checking for sys/cygwin.h... (cached) no > checking for io.h... (cached) no > checking for setjmp.h... (cached) yes > checking for langinfo.h... (cached) yes > checking for md5.h... (cached) no > checking for working const... (cached) yes > checking for inline... (cached) inline > checking for size_t... (cached) yes > checking for socklen_t... (cached) yes > checking whether time.h and sys/time.h may both be included... (cached) yes > checking whether struct tm is in sys/time.h or time.h... (cached) time.h > checking size of short... (cached) 2 > checking size of unsigned short... (cached) 2 > checking size of int... (cached) 4 > checking size of unsigned... (cached) 4 > checking size of long... (cached) 4 > checking size of unsigned long... (cached) 4 > checking for big endian... (cached) no > checking for little endian... (cached) yes > checking if rename can replace existing files... (cached) yes > checking for 8-bit clean memcmp... (cached) yes > checking return type of signal handlers... (cached) void > checking for strftime... (cached) yes > checking for vprintf... (cached) yes > checking for calloc... (cached) yes > checking for snprintf... (cached) yes > checking for memmove... (cached) yes > checking for raise... (cached) yes > checking for gettimeofday... (cached) yes > checking for mkdir... (cached) yes > checking for select... (cached) yes > checking for strcspn... (cached) yes > checking for strerror... (cached) yes > checking for strstr... (cached) yes > checking for strtol... (cached) yes > checking for strtoul... (cached) yes > checking for strtoq... (cached) yes > checking for strtoll... (cached) yes > checking for chmod... (cached) yes > checking for getpid... (cached) yes > checking for setpgid... (cached) yes > checking for popen... (cached) yes > checking for uname... (cached) yes > checking for getpagesize... (cached) yes > checking for tempnam... (cached) yes > checking for strptime... (cached) yes > checking for setlocale... (cached) yes > checking for nl_langinfo... (cached) yes > checking for sigsetjmp/siglongjmp... (cached) yes > checking for atan in -lm... (cached) yes > checking for MD5Data in -lmd... (cached) no > checking for MD5Init... (cached) no > checking for MD5Data... (cached) no > checking for socket... (cached) yes > checking for setsockopt... (cached) yes > checking for gethostbyname... (cached) yes > checking for gethostbyaddr... (cached) yes > checking for dhcp_option... (cached) no > checking for herror... (cached) yes > checking for cfmakeraw... (cached) yes > checking for cygwin_conv_to_full_win32_path... (cached) no > checking for requested debug level... 2 > checking if you want to enable javascript... yes > checking if you want to link with system libfl... no > checking for pkg-config... (cached) /usr/bin/pkg-config > checking for libpcre... checking for pcre_compile in -lpcre... (cached) no > checking for pcre.h... (cached) no > checking for regcomp... (cached) yes > checking for regex.h... (cached) yes > checking if you want to use graphics... yes > checking for Gpm_Open in -lgpm... (cached) no > checking for gpm.h... (cached) no > checking for OS/2 threads... (cached) no > checking for atheos/threads.h... (cached) no > checking for spawn_thread... (cached) no > checking for resume_thread... (cached) no > checking for MouOpen... (cached) no > checking for _read_kbd... (cached) no > checking for XFree for OS/2... (cached) no > checking for dlopen in -ldl... (cached) yes > checking for openssl... yes > checking OPENSSL_CFLAGS... > checking OPENSSL_LIBS... -lssl -lcrypto > checking for OpenSSL... yes > checking for svgalib... (cached) no > checking for linux/fb.h... (cached) yes > checking for linux/kd.h... (cached) yes > checking for linux/vt.h... (cached) yes > checking for sys/mman.h... (cached) yes > checking for directfb-config... (cached) /usr/bin/directfb-config > checking for DirectFB >= 0.9.17... yes > checking for X... (cached) no > checking for pmshell... (cached) no > checking for gui/view.h... (cached) no > checking for gui/window.h... (cached) no > checking for gui/desktop.h... (cached) no > checking for gui/bitmap.h... (cached) no > checking for util/locker.h... (cached) no > checking for util/application.h... (cached) no > checking for inflate in -lz... (cached) yes > checking for libpng >= 1.0.0... yes > checking LIBPNG_CFLAGS... -I/usr/include/libpng12 > checking LIBPNG_LIBS... -lpng12 > checking for png.h... (cached) yes > checking for libpng/png.h... (cached) yes > checking for png_create_info_struct in -lpng... (cached) yes > checking for png_set_rgb_to_gray... (cached) yes > checking for png_get_image_width... (cached) yes > checking for png_get_image_height... (cached) yes > checking for png_get_gAMA... (cached) yes > checking for png_get_color_type... (cached) yes > checking for png_get_bit_depth... (cached) yes > checking for png_set_strip_alpha... (cached) yes > checking for png_get_valid... (cached) yes > checking for png_get_sRGB... (cached) yes > checking if you can include both setjmp.h and png.h... (cached) no > checking for jpeglib.h... (cached) yes > checking for jpeg_destroy_decompress in -ljpeg... (cached) yes > checking for tiffio.h... (cached) yes > checking for TIFFClientOpen in -ltiff... (cached) yes > creating ./config.status > creating Makefile > creating config.h > config.h is unchanged > --------------------------------------------------------- > Configuration results: > > GPM support: NO > SSL support: YES > Javascript enabled: YES > Regular expressions: LIBC > Graphics enabled: YES > Graphics drivers: DIRECTFB > Image formats: GIF PNG XBM JPEG TIFF > xterm for OS/2 support: NO > --------------------------------------------------------- Content-Description: links_ubuntu.txt > > ---------------------- DirectFB v0.9.24 --------------------- > (c) 2000-2002 convergence integrated media GmbH > (c) 2002-2004 convergence GmbH > ----------------------------------------------------------- > > (*) DirectFB/Core: Single Application Core. (2006-10-13 15:40) > (*) Direct/Memcpy: Using MMX optimized memcpy() > (!) Direct/Util: opening '/dev/fb0' failed > --> No such device > (!) DirectFB/FBDev: Error opening framebuffer device! > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > Could not initialize any graphics driver. Tried the following drivers: > directfb: > Initialization error! Content-Description: links_cygwin.txt > Could not initialize any graphics driver. Tried the following drivers: > x: > Can't open display ":0.0" Content-Description: links_config_cygwin.txt > loading cache ./config.cache > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... (cached) yes > checking for working aclocal... found > checking for working autoconf... found > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... found > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking whether gcc needs -traditional... (cached) no > checking for EMX... (cached) no > checking for typeof... (cached) yes > checking for long long... (cached) yes > checking for dirent.h that defines DIR... (cached) yes > checking for opendir in -ldir... (cached) no > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for fcntl.h... (cached) yes > checking for limits.h... (cached) yes > checking for sys/ioctl.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for time.h... (cached) yes > checking for unistd.h... (cached) yes > checking for math.h... (cached) yes > checking for ieee.h... (cached) yes > checking for endian.h... (cached) yes > checking for values.h... (cached) no > checking for sigaction.h... (cached) no > checking for netinet/in_systm.h... (cached) yes > checking for netinet/in_system.h... (cached) no > checking for netinet/ip.h... (cached) yes > checking for netinet/dhcp.h... (cached) no > checking for sys/select.h... (cached) yes > checking for sys/resource.h... (cached) yes > checking for sys/utsname.h... (cached) yes > checking for sys/un.h... (cached) yes > checking for sys/fmutex.h... (cached) no > checking for sys/cygwin.h... (cached) yes > checking for io.h... (cached) yes > checking for setjmp.h... (cached) yes > checking for langinfo.h... (cached) yes > checking for md5.h... (cached) no > checking for working const... (cached) yes > checking for inline... (cached) inline > checking for size_t... (cached) yes > checking for socklen_t... (cached) yes > checking whether time.h and sys/time.h may both be included... (cached) yes > checking whether struct tm is in sys/time.h or time.h... (cached) time.h > checking size of short... (cached) 2 > checking size of unsigned short... (cached) 2 > checking size of int... (cached) 4 > checking size of unsigned... (cached) 4 > checking size of long... (cached) 4 > checking size of unsigned long... (cached) 4 > checking for big endian... (cached) no > checking for little endian... (cached) yes > checking if rename can replace existing files... (cached) yes > checking for 8-bit clean memcmp... (cached) yes > checking return type of signal handlers... (cached) void > checking for strftime... (cached) yes > checking for vprintf... (cached) yes > checking for calloc... (cached) yes > checking for snprintf... (cached) yes > checking for memmove... (cached) yes > checking for raise... (cached) yes > checking for gettimeofday... (cached) yes > checking for mkdir... (cached) yes > checking for select... (cached) yes > checking for strcspn... (cached) yes > checking for strerror... (cached) yes > checking for strstr... (cached) yes > checking for strtol... (cached) yes > checking for strtoul... (cached) yes > checking for strtoq... (cached) no > checking for strtoll... (cached) yes > checking for chmod... (cached) yes > checking for getpid... (cached) yes > checking for setpgid... (cached) yes > checking for popen... (cached) yes > checking for uname... (cached) yes > checking for getpagesize... (cached) yes > checking for tempnam... (cached) yes > checking for strptime... (cached) yes > checking for setlocale... (cached) yes > checking for nl_langinfo... (cached) yes > checking for sigsetjmp/siglongjmp... (cached) yes > checking for atan in -lm... (cached) yes > checking for MD5Data in -lmd... (cached) no > checking for MD5Init... (cached) no > checking for MD5Data... (cached) no > checking for socket... (cached) yes > checking for setsockopt... (cached) yes > checking for gethostbyname... (cached) yes > checking for gethostbyaddr... (cached) yes > checking for dhcp_option... (cached) no > checking for herror... (cached) yes > checking for cfmakeraw... (cached) no > checking for cygwin_conv_to_full_win32_path... (cached) yes > checking for requested debug level... 2 > checking if you want to enable javascript... yes > checking if you want to link with system libfl... no > checking for pkg-config... (cached) /usr/bin/pkg-config > checking for libpcre... yes > checking LIBPCRE_CFLAGS... > checking LIBPCRE_LIBS... -lpcre > checking for pcre_compile in -lpcre... yes > checking for pcre.h... yes > checking if you want to use graphics... no > checking for Gpm_Open in -lgpm... (cached) no > checking for gpm.h... (cached) no > checking for OS/2 threads... (cached) no > checking for atheos/threads.h... (cached) no > checking for spawn_thread... (cached) no > checking for resume_thread... (cached) no > checking for MouOpen... (cached) no > checking for _read_kbd... (cached) no > checking for XFree for OS/2... (cached) no > checking for dlopen in -ldl... (cached) yes > checking for openssl... yes > checking OPENSSL_CFLAGS... > checking OPENSSL_LIBS... -lssl -lcrypto > checking for OpenSSL... yes > checking for zlib.h... (cached) yes > checking for inflate in -lz... (cached) yes > checking for bzlib.h... (cached) yes > checking for BZ2_bzDecompress in -lbz2... (cached) yes > updating cache ./config.cache > creating ./config.status > creating Makefile > creating config.h > --------------------------------------------------------- > Configuration results: > > GPM support: NO > SSL support: YES > Supported compression: ZLIB BZIP2 > Javascript enabled: YES > Regular expressions: PCRE > Graphics enabled: NO > --------------------------------------------------------- From hhalvors at Princeton.EDU Sat Jul 7 09:03:05 2007 From: hhalvors at Princeton.EDU (Hans Halvorson) Date: Sat, 07 Jul 2007 11:03:05 -0400 Subject: [links] characters garbled in xterm Message-ID: <874pkgp87q.wl%hhalvors@Princeton.EDU> I issue the command # links -source wwwa.accuweather.com/adcbin/public/local_index_print.asp?zipcode=08544 and what is returned is garbled characters -- nothing legible at all. This command was issued in Xterm(225), with default system UTF8 encoding, and unicode enabled for links. Thanks, Hans From clock at twibright.com Sun Jul 8 04:38:46 2007 From: clock at twibright.com (Karel Kulhavy) Date: Sun, 8 Jul 2007 12:38:46 +0200 Subject: [links] characters garbled in xterm In-Reply-To: <874pkgp87q.wl%hhalvors@Princeton.EDU> References: <874pkgp87q.wl%hhalvors@Princeton.EDU> Message-ID: <20070708103846.GA14534@kestrel.barix.local> On Sat, Jul 07, 2007 at 11:03:05AM -0400, Hans Halvorson wrote: > I issue the command > > # links -source wwwa.accuweather.com/adcbin/public/local_index_print.asp?zipcode=08544 > > and what is returned is garbled characters -- nothing legible at all. > This command was issued in Xterm(225), with default system UTF8 > encoding, and unicode enabled for links. That's normal - the source consists of garbled characters (since it's gzipped), so you got garbled characters when you asked for the source. CL< > > Thanks, > Hans > _______________________________________________ > links-list mailing list > links-list at linuxfromscratch.org > http://linuxfromscratch.org/mailman/listinfo/links-list From kovzol at gmail.com Wed Jul 11 12:46:01 2007 From: kovzol at gmail.com (=?ISO-8859-1?Q?Zolt=E1n_Kov=E1cs?=) Date: Wed, 11 Jul 2007 20:46:01 +0200 Subject: [links] Fwd: links-1.00pre20 zlib/ssl detection bug In-Reply-To: References: Message-ID: Dear Developers, I found a bug in the configure script when detecting the openssl library. If openssl-dev is installed and zlib-dev is not installed, the configure script thinks that openssl-dev is missing. I use OpenSuSE 10.2 Linux on an Intel P4. I consider this to be a bug. Congratulations to this great program, however. Best regards, Zoltan Kovacs system administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: http://linuxfromscratch.org/pipermail/links-list/attachments/20070711/2bf98a3f/attachment.html From yann.souro_sanou at iwedia.com Wed Jul 18 05:31:05 2007 From: yann.souro_sanou at iwedia.com (yann.souro_sanou at iwedia.com) Date: Wed, 18 Jul 2007 13:31:05 +0200 Subject: [links] Adding to Links svg support Message-ID: <1184758265.5808.10.camel@pcUbuntu> Hello, I am intending to add svg support to links by adding a svg renderer to the source code. I almost have a SVG renderer (worfing on DirectFB), and I need Interactivity. I am at the very begining of this project, and I am now studying links code. As I need interactivity, I was wondering how does Links do to display some links in HTML( tag). Indeed, my first aim is to place some links in the SVG document, and display them (as it is done in HTML). I have started some research, arround "wiew_gr.c" document, more precisely in "g_text_draw" function. Unfortunately I can't place any link correctly (which seems to be normal). Then in a second time I made some modifications in the source code and I can read the coordinates where the link is supposed to be displayed. But "g_text_draw" is not sufficient as the text is displayed at the right place when the virtual link is set in some other location. My question is the following one: 1. Which function(s) is (are) used to display links ? 2. Could you please explain me how does the displaying process work when data are already stored ? I do hope someone will be interested enough to give me any idea or advice. Best Regard Yann From yann.souro_sanou at iwedia.com Wed Jul 25 08:35:42 2007 From: yann.souro_sanou at iwedia.com (yann.souro_sanou at iwedia.com) Date: Wed, 25 Jul 2007 16:35:42 +0200 Subject: [links] Adding to Links svg support In-Reply-To: <1184758265.5808.10.camel@pcUbuntu> References: <1184758265.5808.10.camel@pcUbuntu> Message-ID: <46A75FBE.6080808@iwedia.com> yann.souro_sanou at iwedia.com a ?crit : > Hello, > I am intending to add svg support to links by adding a svg renderer to > the source code. > I almost have a SVG renderer (worfing on DirectFB), and I need > Interactivity. > I am at the very begining of this project, and I am now studying links > code. As I need interactivity, I was wondering how does Links do to > display some links in HTML( tag). > Indeed, my first aim is to place some links in the SVG document, and > display them (as it is done in HTML). > > I have started some research, arround "wiew_gr.c" document, more > precisely in "g_text_draw" function. Unfortunately I can't place any > link correctly (which seems to be normal). > Then in a second time I made some modifications in the source code and I > can read the coordinates where the link is supposed to be displayed. But > "g_text_draw" is not sufficient as the text is displayed at the right > place when the virtual link is set in some other location. > > My question is the following one: > 1. Which function(s) is (are) used to display links ? > 2. Could you please explain me how does the displaying process work when > data are already stored ? > > I do hope someone will be interested enough to give me any idea or > advice. > > Best Regard > > Yann > > > > > > > _______________________________________________ > links-list mailing list > links-list at linuxfromscratch.org > http://linuxfromscratch.org/mailman/listinfo/links-list > > Hi, Still working on svg support, I would welcome a bit of help. I found that a text link was the sum of a virtual link and a graphic object (text, or image). I barely succeed in displaying the text at the right place, but the virtual link is still "displayed" somewhere else. Could someone give me a guidance to understand how does the virtual link is displayed ??? Thank you in advance. From clock at twibright.com Fri Jul 27 02:09:36 2007 From: clock at twibright.com (Karel Kulhavy) Date: Fri, 27 Jul 2007 10:09:36 +0200 Subject: [links] Links In-Reply-To: <772515.58340.qm@web51109.mail.re2.yahoo.com> References: <772515.58340.qm@web51109.mail.re2.yahoo.com> Message-ID: <20070727080936.GA28048@kestrel.barix.local> On Thu, Jul 26, 2007 at 01:35:54PM -0700, Dave Stuart wrote: > Hello- > > I have a webpage that uses fixed image placement with the 'style' option. > The links browser doesn't seem to support this. Or am I doing something > wrong? This is because Links doesn't support CSS. > > Are there any plans to add this functionality? Has anything been started? I Unfortunately no plans. > would be more than happy to work on adding this option if I could be pointed > to a starting point. It would be a lot of work to add CSS into Links. CL< > > You can see an example of the webpage here: > > http://justdave.us/mcams.html > > thanks > > dave > > From yann.souro_sanou at iwedia.com Fri Jul 27 07:21:30 2007 From: yann.souro_sanou at iwedia.com (yann.souro_sanou at iwedia.com) Date: Fri, 27 Jul 2007 15:21:30 +0200 Subject: [links] Links In-Reply-To: <20070727080936.GA28048@kestrel.barix.local> References: <772515.58340.qm@web51109.mail.re2.yahoo.com> <20070727080936.GA28048@kestrel.barix.local> Message-ID: <46A9F15A.1020904@iwedia.com> Karel Kulhavy a ?crit : > On Thu, Jul 26, 2007 at 01:35:54PM -0700, Dave Stuart wrote: > >> Hello- >> >> I have a webpage that uses fixed image placement with the 'style' option. >> The links browser doesn't seem to support this. Or am I doing something >> wrong? >> > > This is because Links doesn't support CSS. > > >> Are there any plans to add this functionality? Has anything been started? I >> > > Unfortunately no plans. > > >> would be more than happy to work on adding this option if I could be pointed >> to a starting point. >> > > It would be a lot of work to add CSS into Links. > > CL< > >> You can see an example of the webpage here: >> >> http://justdave.us/mcams.html >> >> thanks >> >> dave >> >> >> > _______________________________________________ > links-list mailing list > links-list at linuxfromscratch.org > http://linuxfromscratch.org/mailman/listinfo/links-list > > Hi, I am working on svg rendering support for Links and I was also considering CSS style and placement. Indeed, as it is explained in another thread, I would like to display some links wherever I want on the screen. It has been one week now that I am working on it, and I only have a few results. What I find difficult, is to understand how does the graphical rendering system work, and how are stored the data (trees like DOM). If you want to add styles to a few tags, then I think, it is possible to modify the rendering system, as soon as you understand how it works. I used the following steps to display links style in my project. It is not clean code, and only some part does work. You'll have to adapt it and/or modify it: 1. Add *int positionX, *and* int positionY* in *struct text_attrib {} *and in *struc link {}* in file links.h 2. In the end of the function *void html_a(...) *in /html.c/, I added: / char * style; int X=0, Y=0; if(style = get_attr_val(a, "style")){ getDimensionsFromStyle(style, &X ,&Y); mem_free(style); if (X && Y){ format.positionX = X; format.positionY = Y; } } /........................... /getDimensionsFromStyle/ is a function I made to parse the elements in the style feature. It provides the X and Y position we need. When you have done these two steps, you are able to read the coordinates of a html link. As far as i understand it, (and I only understand a little), you have to use the right function to display it on screen. I noticed that many functions called *draw_text, draw_line, draw...* were available in /view_gr.c/ file. If you can use a debugger (it is very hard to use one under directfb), you'll notice, that : - /draw_graphical_doc/ calls /g_area_draw - //g_area_draw /calls /g_line_draw - //g_line_draw /calls /g_text_draw/ (which is the one I am very interrested in). All these functions pass parameters which seems like / are coordinates, but I still don't understand their structures, and the way they work. I am keeping on trying to find a solution to display my links on the right position. Just let me know if you understand the code better than I do, or if you have a clue. Best regard.