>
> > I have compiled fltk-1.3.x-r6985, and run the test program in=20
> > my arm-board,
> > but I found that the font display is abnormal, between each=20
> > letter it has a empty rectangle. Why?
>
> Don't know why - what input text did you use?=20
>
> If your input text is in UTF-16 you might possibly get the effect you
> describe. Fltk-1.3 (and fltk-2) expect input text to be in UTF-8 format.
>
> I have used fltk-1.3 to display UTF-8 text in a number of language
> ranges very successfully (including CJK languages) and without seeing
> the effect you describe.
>
> Can you post (somewhere) a sample of the text you are attempting to
> display, so we can test it on a variety of different hosts to see what
> happens?
>
> > My configure option is as follows:
> >=20
> > ./configure --with-x --host=3Darm-linux --enable-shared=20
> > --enable-xft --disable-xdbe --enable-x11multithread=20
> > --x-includes=3D/usr/local/arm/3.4.6/arm-linux/usr/X11R6/include=20
> > --x-libraries=3D/usr/local/arm/3.4.6/arm-linux/usr/X11R6/lib/=20
> > --disable-xinerama --disable-gl=20
> > --prefix=3D/usr/local/arm/3.4.6/arm-linux/usr=20
> > CFLAGS=3D"-I/usr/local/arm/3.4.6/arm-linux/include =20
> > -I/usr/local/arm/3.4.6/arm-linux/usr/include"=20
> > CXXFLAGS=3D"-I/usr/local/arm/3.4.6/arm-linux/include -I=20
> > /usr/local/arm/3.4.6/arm-linux/usr/include"=20
> > LDFLAGS=3D"-L/usr/local/arm/3.4.6/arm-linux/include=20
> > -L/usr/local/arm/3.4.6/arm-linux/usr/lib"
>
> OK - but note that the fltk configure script is not cross-compilation
> aware, so I am guessing that you are actually building this *on* an arm
> host, with arm as the target?=20
>
> For the arm work I have done I have built my software on an x86 host
> cross-compiling for the arm target and that seems to be OK *but* I did
> not use the configure script - rather I hand edited "config.h" and
> "makeinclude" myself to set the cross-compilation options correctly.
>
> --=20
> Ian
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 3EL
> A company registered in England & Wales.  Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>

Hi Ian,
Many thanks for your reply.

I think it is not related to the text encoding, because I just run the fltk 
demo application in arm board, the text are all english letter. I have tried by 
using fltk-2.0, it has no such issue.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to