<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><div>[ Please don't drop the list from CC, you may get valuable input from<br>
others. ]<span class="ydpd4a88d8fim"><br></span></div><div><br></div><div dir="ltr" data-setdir="false">I've joined the list now. <br></div><div dir="ltr" data-setdir="false"><br></div></div><div>> Perhaps what you want is to tweak/extend the code that maps an OUString</div>
> to a list of glyphs, the vcl text layout.<br>
><br>> GenericSalLayout::LayoutText() at vcl/source/gdi/CommonSalLayout.cxx:286<br>
> does that using harfbuzz, I believe standard gtk apps use that at the<br>
> end as well.</div><div><br></div><div dir="ltr" data-setdir="false">What is OUString? Does it come from Harfbuzz which uses previously known characters? If so, it won't work. <br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">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 <span>GenericSalLayout::LayoutText()</span> and map it to the glyph value (again a non-standard value but which is part of a fontfile I have generated).</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">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 <span>GenericSalLayout::LayoutText() ?</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>-a</span><br></div></div></div></body></html>