Thanks Albrecht,

> This ought to show U+1D160 - U+1D164 and U+D160 - U+D164 for 
> comparison
> in the 2nd row. I did NOT load any fonts for this test, since Win7
> seems to do a good job w/o it anyway. The 2nd row shows what is to be
> expected with the old code, and indeed, I can see two identical rows
> with the old code, whereas your code shows only placeholders
> (rectangles) for non-drawable characters in the first row.

Yes - so my mod "fixes" the wrapping of the font codepoints, but even
though we now have the correct (I am sure) surrogate pairs generated,
nothing seems to get rendered...

I do not understand why.


> Maybe loading a font would help, I don't know. However, I can't test
> more now...

I'm not sure, as Win7 (and Vista) seem to do a passable job at
font-substitution generally, but on XP I do need to set fonts
explicitly.

If you have the Musica font installed, then (in your modified hello
world) it should be as simple as adding a call:

    Fl::set_font(FL_BOLD, " Musica");

And then using that font for the label:

    box->labelfont(FL_BOLD);

But, as you say, that does not appear to work, and I think that it
should...




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to