> However, there are some problems displaying CJK characters, which I've
> been trying to solve in http://www.fltk.org/str.php?L2158, and there
> are various other UTF-8 related STRs that may or may not be closed...
> 
> Any help gratefully received :-)

I think the fix proposed in the STR is correct fro fixed-pitch fonts.

For proportional fonts, we need to use fl_text_extents(...) or something
to measure how wide the rendered string actually is.

But... Should we even do that in Fl_Text_Buffer? It is really intended
as a fixed-pitch text editor. It's ability to handle
proportional-pitched fonts is pretty much non-existent, so adding this
ability will be "problematic".

I don't have a way forwards...

-- 
Ian


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