Re: [fltk.opengl] different fonts in same window?

2007-06-06 Thread michael sephton
Greg Ercolano wrote: > Livia Koch wrote: > > I moved the glViewPort() call to the !valid() section, and > that solved the 'unexpected art' problem. > > But I notice if I uncomment your call to generate_model(), > this causes these errors in my linux console: > > XRequest.

Re: [fltk.opengl] different fonts in same window?

2007-06-06 Thread Greg Ercolano
Livia Koch wrote: I moved the glViewPort() call to the !valid() section, and that solved the 'unexpected art' problem. But I notice if I uncomment your call to generate_model(), this causes these errors in my linux console: XRequest.143: GLXBadContextState 0x12000

Re: [fltk.opengl] different fonts in same window?

2007-06-06 Thread Greg Ercolano
Livia Koch wrote: > When trying to cut down my program to the font problem, I discovered that it > is possible to use two different fonts in the same window - if I'm not using > display lists! In this small version of my program, if I'm using DL nothing > is displayed at all. What is wrong in my

Re: [fltk.opengl] different fonts in same window?

2007-06-06 Thread Livia Koch
When trying to cut down my program to the font problem, I discovered that it is possible to use two different fonts in the same window - if I'm not using display lists! In this small version of my program, if I'm using DL nothing is displayed at all. What is wrong in my way using DL? It would be

Re: [fltk.opengl] different fonts in same window?

2007-06-04 Thread Greg Ercolano
Livia Koch wrote: > Hi out there, > > I'm drawing a chart in a subclass of Fl_Gl_Window and want to label the axes > with the name of the units displayed. On one axis I would like to use greek > symbols, on the other english text. Is it possible to use two different fonts > in the same window?

[fltk.opengl] different fonts in same window?

2007-06-03 Thread Livia Koch
Hi out there, I'm drawing a chart in a subclass of Fl_Gl_Window and want to label the axes with the name of the units displayed. On one axis I would like to use greek symbols, on the other english text. Is it possible to use two different fonts in the same window? I've tried to put the two axes