Re: [fltk.general] Can't get text working

2011-07-27 Thread MacArthur, Ian (SELEX GALILEO, UK)
Most of the 2.0 stuff is utf-8 aware (with the major exception of that damn TextEditor), under what looks like both XFT and Xlib. I can't remember which I've tested, but in my debugging adventures I've definitely come across either of XFT or Xlib working as it should with utf8

Re: [fltk.general] Can't get text working

2011-07-26 Thread Stuart Shepherd
Well I say mostly working they are displaying how I want them=20 to. My next job is to get them to react to button presses.=20 We're not using a keyboard or mouse we just have some arrow=20 keys and buttons that and I need to work out how to generate=20 events from them for the app to

Re: [fltk.general] Can't get text working

2011-07-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
I have about a dozen buttons which will be used to change menus/options these are read through an FPGA device, I have a driver working that reads the FPGA on a timer and then wakes the user space app on a epoll when a button has been pressed/released. This all works fine but I need to

Re: [fltk.general] Can't get text working

2011-07-26 Thread Ben Stott
I just downloaded the latest source and tweaked it a little to compile, but not much. The text works but the other bits I had working tabs, images etc... now don't. Wait, you had to tweak it to compile? On what device / what config? It should compile out of the box. Did you try

Re: [fltk.general] Can't get text working

2011-07-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
I just downloaded the latest source and tweaked it a little to compile, but not much. The text works but the other bits I had working tabs, images etc... now don't. The fltk-1 and fltk-2 API's are quite different, so there's some work in getting your fltk code moved from one to the other.

Re: [fltk.general] Can't get text working

2011-07-26 Thread Duncan Gibson
The timeline went something like this: (ASCII art! Beware!) |--fltk-1.2(abandoned) | BigBang--fltk-1.0--fltk-1.1fltk-1.3--now | |--fltk-2.x-- See also Article #825: What are the Versions of

Re: [fltk.general] Can't get text working

2011-07-26 Thread Stuart Shepherd
I just downloaded the latest source and tweaked it a little to compile, but not much. The text works but the other bits I had working tabs, images etc... now don't. Wait, you had to tweak it to compile? On what device / what config? It should compile out of the box. Did you try

Re: [fltk.general] Can't get text working

2011-07-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
Just tried 1.1.10 and everything works wonderfully. Thank you for the info it has been a big help. Doh! I think I just realised why this doesn't work for you with fltk-1.3. UTF8 support. Box the XFT and Xlib backends in fltk-1.3 under X11 have been enhanced to support UTF8 rendering. So,

Re: [fltk.general] Can't get text working

2011-07-26 Thread Ben Stott
Doh! I think I just realised why this doesn't work for you with fltk-1.3. UTF8 support. Box the XFT and Xlib backends in fltk-1.3 under X11 have been enhanced to support UTF8 rendering. So, for example, in the Xlib version, where fltk-1.1 uses XDrawString() we now use XUtf8DrawString()

Re: [fltk.general] Can't get text working

2011-07-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
Well I say mostly working they are displaying how I want them to. My next job is to get them to react to button presses. We're not using a keyboard or mouse we just have some arrow keys and buttons that and I need to work out how to generate events from them for the app to use, but I'm

Re: [fltk.general] Can't get text working

2011-07-22 Thread Stuart Shepherd
No offence taken I've tried it on my host system as well just=20 to make sure the code does work and it works fine. Well there's a start then! I don't think I'll be using GL for anything. Yes - I seldom use it on an embedded target either, more I was just trying it 'cos it was

Re: [fltk.general] Can't get text working

2011-07-21 Thread Stuart Shepherd
On 15 Jul 2011, at 16:35, Greg Ercolano wrote: On 07/15/11 07:37, Stuart Shepherd wrote: I can't get text to display I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. =20 With fonts under X, you have a choice (via 'configure') to compile

Re: [fltk.general] Can't get text working

2011-07-21 Thread MacArthur, Ian (SELEX GALILEO, UK)
I have complied without xft and with, made no difference. OK - though I suspect that when configuring fltk for nanoX, selecting --disable-xft at configure time is probably safest in the short term - at least until something is working! The thing that is confusing me most is that the

Re: [fltk.general] Can't get text working

2011-07-21 Thread Stuart Shepherd
I have complied=20 without xft and with, made no difference. OK - though I suspect that when configuring fltk for nanoX, selecting --disable-xft at configure time is probably safest in the short term - at least until something is working! The thing that is=20 confusing me most is that

Re: [fltk.general] Can't get text working

2011-07-21 Thread MacArthur, Ian (SELEX GALILEO, UK)
No offence taken I've tried it on my host system as well just to make sure the code does work and it works fine. Well there's a start then! I don't think I'll be using GL for anything. Yes - I seldom use it on an embedded target either, more I was just trying it 'cos it was there... That

Re: [fltk.general] Can't get text working

2011-07-21 Thread Greg Ercolano
On 07/21/11 04:27, Stuart Shepherd wrote: Thanks for all your replies. I'm as sure as I can be that I have the fonts installed, and that nanoX and nxlib are pointed to the right place to find them. I have complied without xft and with, made no difference. The thing that is confusing me most

[fltk.general] Can't get text working

2011-07-15 Thread Stuart Shepherd
I've just started using FLTK but I can't get text to display on any of my programs, I've tried several examples from the web and they work apart from displaying text. I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. I can get text to display if I write

[fltk.general] Can't get text working

2011-07-15 Thread Stuart Shepherd
I've just started using FLTK but I can't get text to display on any of my programs, I've tried several examples from the web and they work apart from displaying text. I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. I can get text to display if I write

Re: [fltk.general] Can't get text working

2011-07-15 Thread Stuart Shepherd
I've just started using FLTK but I can't get text to display on any of my programs, I've tried several examples from the web and they work apart from displaying text. I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. I can get text to display if I write

Re: [fltk.general] Can't get text working

2011-07-15 Thread Matthias Melcher
On 15.07.2011, at 16:37, Stuart Shepherd wrote: I've just started using FLTK but I can't get text to display on any of my programs, I've tried several examples from the web and they work apart from displaying text. I'm cross compiling fltk to use on a coldfire processor with uclinux,

Re: [fltk.general] Can't get text working

2011-07-15 Thread Greg Ercolano
On 07/15/11 07:37, Stuart Shepherd wrote: I can't get text to display I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. With fonts under X, you have a choice (via 'configure') to compile FLTK to use XFT (antialiased fonts) or not.

Re: [fltk.general] Can't get text working

2011-07-15 Thread Ian MacArthur
On 15 Jul 2011, at 15:23, Stuart Shepherd wrote: I've just started using FLTK but I can't get text to display on any of my programs, I've tried several examples from the web and they work apart from displaying text. I'm cross compiling fltk to use on a coldfire processor with uclinux,

Re: [fltk.general] Can't get text working

2011-07-15 Thread Ian MacArthur
On 15 Jul 2011, at 16:35, Greg Ercolano wrote: On 07/15/11 07:37, Stuart Shepherd wrote: I can't get text to display I'm cross compiling fltk to use on a coldfire processor with uclinux, nanoX and nxlib. With fonts under X, you have a choice (via 'configure') to compile FLTK