FWIW, the following code works fine on linux (using the Musica font 
face) but not on win32.
I don't have ready access to a mac right now...


#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>

/*****************************************************************************/ 

int main(int argc, char **argv) {
   Fl_Window *window = new Fl_Window(340,180);
   const char *labl = "Hello World\n"
": \xf0\x9d\x85\xa0  \xf0\x9d\x85\xa1  \xf0\x9d\x85\xa2 
\xf0\x9d\x85\xa3  \xf0\x9d\x85\xa4 :";

   printf ("labl = %s\n",labl); fflush(stdout);

   Fl_Box *box = new Fl_Box(5, 5, 330, 170, labl);

   /* setup the extra font */
   Fl::set_font(FL_BOLD, " Musica");

   box->box(FL_UP_BOX);
   box->labelfont(FL_BOLD);
   box->labelsize(24);
   window->end();
   window->show(argc, argv);
   return Fl::run();
}

/* end of file */




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

Reply via email to