Fix many many problems in xtext.c related to character width.

* Rework multiline logic to use a GSList, not an array
* Remove all multibyte booleans; everything is potentially multibyte
  - Except for gtk_xtext_get_word(), which needs special attention
* Enhance pango work for bold and italics (attr_list -> attr_lists[4])
* Enhance gtk_xtext_strip_color () to save bold, italics info
* Involve emphasis information in all pixel-width calculations
* Rework find_x () to account for emphasis info in widths

Closes #891
Fixes #872
This commit is contained in:
RichardHitt
2014-02-02 00:45:51 -08:00
committed by TingPing
parent 10d3c15143
commit 4c1fd3ee67
2 changed files with 378 additions and 321 deletions

File diff suppressed because it is too large Load Diff