[ Please don't drop the list from CC, you may get valuable input from
others. ]

I've joined the list now. 

> Perhaps what you want is to tweak/extend the code that maps an OUString> to a 
> list of glyphs, the vcl text layout.
>
> GenericSalLayout::LayoutText() at vcl/source/gdi/CommonSalLayout.cxx:286
> does that using harfbuzz, I believe standard gtk apps use that at the
> end as well.
What is OUString? Does it come from Harfbuzz which uses previously known 
characters? If so, it won't work. 

I need to map a combination of keys (two or more keys pressed simultaneously) 
to a glyph. As I said, the keys have non-standard keycodes. So I would still 
need to trap the keystrokes and save the values of the hardware_keycodes that 
are part of the GdkEventKey for each key that is pressed, and then create a 
composite value and pass that value to GenericSalLayout::LayoutText() and map 
it to the glyph value (again a non-standard value but which is part of a 
fontfile I have generated).
Where would I intercept the key_press_event and key_release_event of the 
GtkTextView before converting it to the OUString and passing it  to 
GenericSalLayout::LayoutText() ?
-a
_______________________________________________
LibreOffice mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to