Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,429
    • Issues 1,429
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 242
    • Merge requests 242
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Merge requests
  • !488

Open
Created Jan 05, 2019 by LRN@lrnDeveloper
  • Report abuse
Report abuse

Better support for surrogate pairs and ligatures on Windows (GTK3)

  • Overview 7
  • Commits 16
  • Pipelines 8
  • Changes 10

This is an attempt to fix issue #1428 (closed).

The changes work for me, and fix the problems pointed out by the original submitter. The patches also do not seem to introduce any API breakages, although API behaviour changes somewhat, obviously.

That said, there's one remaining problem: GTKIMContextSimple uses guint16 for a lot of keyval manipulations, which breaks the cases where keyval is bigger than guint16 (such as the 'Y' and backtick keys in Gothic layout). Unfortunately, fixing that requires some major surgery all over gtkimcontextsimple.c, gtkimcontextsimpleseqs.h and compose-parse.py, and changes of the gdk_win32_keymap_check_compose() function that was introduced in 3.20 and is part of the GDK API now. Fixed that too, if somewhat inelegantly.

GTK4 will require similar changes.

Edited Jan 10, 2019 by LRN
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ligatures