> Hello, I began developing using FLTK, and so far so good. What I want to do > now is to draw text but using a different "aspect ratio" than the one > provided by the font I use. For example, I would like to draw the letter "A" > using twice the width it uses by default, stretching the character. I'm using > currently fl_draw(...); though there are some overloads to this function that > take width and height, they still draw the font "as is": I can't deform the > text. > I would appreciate any hint, thank you in advance.
Are you aware that you can use images as labels? When I need a label that can't be done with FLTK font, I prepare it in Photoshop, save it as a .gif, then assign it to a button as an image. That way you can take advantage of all the font options has Photoshop available. I made an example for you at http://www.mfwweb.com/OpenGL/Image_Labels.jpg The button in the lower left corner labeled 'Sensors' is done this way. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

