Skip to content

Draft: Glyphs Panel, and On-canvas Glyphs Alternates Popup

Idriss Fekir requested to merge user062/gimp:glyphs_panel into master

This is a first step toward implementing OpenType features in GIMP.

The glyphs panel allows viewing/selecting glyphs available in the font, and alternate glyphs.

Also, an On-canvas popup showing alternates of selected text.

Demo

glyphs_panel

on_canvas_glyphs_alternates_popup

Not Yet Implemented (and not sure if these are all good ideas)

  • Zoom In/Out functionality
  • Resizing the panel
  • Maybe display glyphs info/bigger preview on hover
  • Maybe add a drop-down for choosing language/script
  • User should be able to choose from particular sets (with controls on-canvas maybe?)

In the future we should use HarfBuzz directly instead of calling Pango to display the glyphs on the panel (and the same applies for fonts preview).

Edit: marking this as a draft again, as it doesn't get all the alternates in Rana Kufi (see khaled hosney's demo app) to be investigated.

Edited by Idriss Fekir

Merge request reports

Loading