You probably also need to modify SurfaceImpl::WidthText and
SurfaceImpl::MeasureWidths as its unlikely GetTextExtent* will work on
a text that doesn't work in ExtTextOut. MeasureWidths will be
unpleasant as, after finding the widths of all the characters as
Unicode, you then have to map the positions back onto the bytes in the
original encoding.

   The GTK+ implementation of MeasureWidths can be used as a base.
Open scintilla/gtk/PlatGTK.cxx and search for "dbcs" in the
MeasureWidths method to find the code.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to