Re: [fltk/fltk] In Fl_Text_Display style should apply to UTF-8 characters. (#233)

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] In Fl_Text_Display style should apply to UTF-8 characters. (#233) erco77 17:53 May 19 top right image
 

Probably a bug in the handling of corresponding multibyte characters to the byte oriented style array.

The utf8 representation of e.g. the euro character is surely "several bytes" but is a "single character", and the widget is probably assigning the color characters "per byte" instead of "per character".


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.