> OK, 128 is the correct count for both:
> 
> if (c>127) *dst = table[c-128];
> 
> The table exists twice, but will never be compiled in more 
> than once.  
> If you happen to statically link with only one of the conversions,  
> which happens to be the native one, the table will not be linked at  
> all (which could not be done if there was only a single table).
> 
> So if you are on a Mac and use fl_local_to_mac_roman(), which is  
> obviously a trivial "translation", you will not link a table into  
> your binaries. We do anything to save you space ;-)

Yes - this all seems eminently sensible.
But, fl_encoding_mac_roman has the tables declared wrong then, I think.

Also, is there any chance you could give my fltk-utf code a spin on OSX
and see how it goes - I think you did a big part of the OSX port, so can
spot things I don't understand...
Thanks,
-- 
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

Reply via email to