Tk Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Overview

Artifact ID: e95a7d5a49d8bf292fb698f3da39740096e384f234afcc542eb5b706cfc28a9d
Ticket: a1795648260f658aae9c1209c4f35a5bcb5b684d
Tk 8.6: prevent issues when encountering non-BMP Unicode characters
User & Date: marc_culler 2020-05-23 19:09:56
Changes

  1. Change icomment to:

    I have written a prototype implementation of glyph-based indexing. It is in a branch off of 8.7 called glyph_indexing.

    It adds only a small amount of code to tkEntry.c and 400 lines of reusable code in tkMacOSXFont.c (half of which are comments) that implement a TextManager object. (Well, this is C, so it is similar to an object.) The TextManager leverages the NSMutableString class to handle the work of finding grapheme clusters in a unicode string. The interface to the TextManager is specified by C declarations in tkInt.h. There is a conditional compilation switch USE_GLYPH_INDEXING which a platform can use to say whether it provides an implementation of TextManager.

  2. Change login to "marc_culler"
  3. Change mimetype to "text/x-fossil-wiki"
  4. Change username to "Marc Culler"