> > > > Absolutely. The font number must be a 32bit integer pointing into a > > self-expanding array. There are a few other spots wher this applies, > > like box types (ok, maybe 16bit are enough here) and symbols. > > You think maybe unsigned 16-bit is not enough for a font > list? That's a lot of fonts...
Reading that back, it sounds a bit harsh - I was meaning to be humorous! Anyway... I've started on this now. I've made a new "type" specifically for font indexes, the plan being that if we decide to change the size again in future, we only have to change it in one place... For now, I've set it to unsigned short for my test builds, but it should be trivial (I hope!) to use some other base type as we see fit. -- Ian SELEX Sensors and Airborne Systems Limited 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
