Hello John-Mark On 07.06.09, you wrote:
> On Sat, 2009-06-06 at 10:11 +0200, Bernd Roesch wrote: > >> 68k is big endian so i set too the define __Big_Endian.but it doesnt >> help. amiga os use freebsd includes.this have this defines not.but after a closer look i see what i do wrong.After i add #define __BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */ #define __BYTE_ORDER=__BIG_ENDIAN in my endian.h (-D__BYTE_ORDER=4321 in makefile seem work too) netsurf work better.no cyan background.but still not correct colors.(see screenshot with freetype fonts) Fonts i do not see with internal.but also with freetype netsurf seem a very fast browser. I add in make.config this lines and compile with freetype all again.now i see text. the screen i used is a bgra 32bit screen.the CPU work big endian, but gfx card work on most amiga little endian and users with Voodoo3 cards can use both modes.SDL with other programs work. I use winuae (thats a free amiga emulator on PC).Here i can choose too argb mode.but netsurf colors are the same wrong as in bgra mode. i try also bgr 16 mode.here graphic have stripes and chars are 2* wider.seem netsurf support only 32 bit ? MNG i cant compile because a configure file is miss and i dont know how can this create under cygwin.maybe somebody have a sources with configure file and can send me ? I get too problems with font finding. I change in fb_font_freetype.c this line #define VERA_PATH "fonts:truetype/ttf-bitstream-vera/" maybe it is possible in future versions to define it at make.config too ? thats my makefile.config. # override NETSURF_USE_BMP := NO NETSURF_USE_MNG := NO # Framebuffer frontend. # Valid values are: linux, sdl, vnc, able NETSURF_FB_FRONTEND := sdl # Library to use for font plotting # Valid options: internal, freetype NETSURF_FB_FONTLIB := freetype here are the defines freebsd use http://read.pudn.com/downloads27/sourcecode/windows/85298/svmlight/endian.h__.htm I dont know if there are common defines out that work on all platforms or what i must set in this netsurf makefile defines.i let this in. -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L * from: @(#)endian.h 7.8 (Berkeley) 4/3/91 * $FreeBSD: src/sys/i386/include/endian.h,v 1.21 2000/10/16 17:06:48 brian Exp $ */ .. /* * Definitions for byte order, according to byte significance from low * address to high. */ #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax */ #define BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */ #define PDP_ENDIAN 3412 /* LSB first in word, MSW first in long */ #define BYTE_ORDER LITTLE_ENDIAN >> >> when i want use freetype i get this error.(i use libfreetype 2.3.8 from >> 27.2.2009) > > How have you told NetSurf that you want the Freetype font support? > You should have NETSURF_FB_FONTLIB := freetype in your Makefile.config. Yes, i have done this first but because get no error, only window close i first did not find out that this define was wrong #define VERA_PATH "/usr/share/fonts/truetype/ttf-bitstream-vera/" > > These are a result of you using a version of libxml that was not built > with HTML support enabled. do you still think after the new screenshot, that there is missing something in libxml ? i have not build this lib, maybe only the includes are wrong and dont set correct define. > > > J. > Regards
<<attachment: netsurf.jpg>>
