Re: hint for vertical writing mode to input method
- Date: Tue, 7 Apr 2015 11:54:06 +0900
- From: Makoto Kato <m_kato@xxxxxxxxxxxxxxxx>
- Subject: Re: hint for vertical writing mode to input method
Hi, Matthias. Thank you for reply.
This hint will be used on candidate window layout by IME.
By default, each word item into candidate window is top to down. [*1]
Although I create screenshots [*2] for Windows and OSX, both OS's IMEs
can change the layout (item is right-to-left or left-to-right) of
candidate window by setting vertical layout value to IME.
Although we (Mozilla) want to implement this behavior for GTK [*3],
GTK has no API or property for this unfortunately. Also, we already
have implemented on Windows and OSX for this.
If GTK adds a way for this, I will negotiate to IME developers (ibus,
fcitx and etc) to implement vertical layout support (changing
candidate window to vertical layout mode etc) and support it.
On Mon, Apr 6, 2015 at 11:44 AM, Matthias Clasen
> On Tue, Mar 31, 2015 at 3:30 AM, Makoto Kato <m_kato@xxxxxxxxxxxxxxxx> wrote:
>> Hi, GTK team.
>> Mozilla is implementing vertical-writing spec [*1] to Gecko rendering
>> engine. But GTK has no API to add hint of vertical writing mode to
>> input method.
>> Other OS already has the following method / attribute for this case.
>> OSX / Cocoa
>> drawsVerticallyForCharacterAtIndex method
>> Windows / TSF
>> TSATTRID_Text_VerticalWriting attirubte
>> Do you have a plan to add an attribute or API of vertical writing hint
>> to GTK? If nothing, could you add this to any property such as adding
>> GTK_INPUT_HINT_VERTICAL_WRITING to GtkInputHints?
> There's no 'plan' for this. Adding such a hint to the enum would be
> pretty easy, of course. Note that these hints are currently not used
> for anything in practice. No application (that I know of) sets them,
> and no input method (that I know of) looks at them. How would your new
> vertical writing hint be set or used ?
gtk-devel-list mailing list