Hello all,

I am using Fl_PlotXY (http://www.fltk.org/wiki.php?V132+TC+Q) which includes
Rotated.c and Rotated.h. Header contains:

// Rotated text drawing with X.

// Original code:
// Copyright (c) 1992 Alan Richardson ([EMAIL PROTECTED]) */
//
// Modifications for fltk:
// Copyright (c) 1997 Bill Spitzak ([EMAIL PROTECTED])


I have been hacking Fl_PlotXY for my needs. So far the only thing that
doesn't work is the rotated text for the Y-axis. As workaround I used
fl_draw() rather than calling draw_rotated().

>From what I can figure is that Xft has been enabled (FLTK 1.3 r6140). As a
result fl_xfont will always be NULL (according to
http://www.fltk.org/documentation.php/doc-1.3/osissues.html#osissues). The
docs say to use fl_xftfont in this situation.

The problem is that the version of the Rotated files use only fl_xfont.

Does anyone know where I can find a routine for drawing rotated text when
Xft is enabled?

Thanks,
-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to