> > I think the fix proposed in the STR is correct fro 
> fixed-pitch fonts.
> 
> Yes, I was tempted to say that we should close this STR because it
> solves the column based wrapping for fixed width Latin fonts. The new
> problem that sparkaround has found with CJK fonts is probably best
> raised as a new STR, but I'm looking at it while he is available for
> testing. My experience of non-Latin font handling is non-existant.

One thing that is "interesting" in all this is that a lot of CJK glyphs
are basically "fixed pitch" in so far as it is cutomary to render them
in a fixed grid anyway...

If sparkaround's test used only-CJK or only-Latin glyphs, it might
actually look reasonable. The complexity arises from mixing Latin and
CJK glyphs in this case.

Well, that and the fact that Fl_Text_Buffer is really just the nedit
engine wrapped up, and the nedit engine was only ever intended to handle
fixed pitched text.

It is a programming editor, not a rich-text widget.

I don't think extending the nedit engine to become a rich-text widget is
feasible for us. I know I can't do it.

Perhaps there is a more recent version of nedit that already has that
ability?

Or, if we need a rich-text widget, we should add a new widget
(Fl_Rich_Text_Edit anyone?) and just leave poor old Fl_Text_Buffer et al
alone... They are being asked to do things they were never intended for,
and they can't cope.
-- 
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