[Bf-taskforce25] Keyboard Input in Blender 2.5. (Re: SVN commit[19148]: Text Editor back.)

Nathan Letwory jesterking at letwory.net
Sun Mar 1 21:31:20 CET 2009


2009/3/1 Brecht Van Lommel <brecht at blender.org>:
> Revision: 19148
> Author:   blendix
> Date:     2009-03-01 00:33:35 +0100 (Sun, 01 Mar 2009)
>
> Log Message:
> -----------
> 2.5: Text Editor back.

Let me start by saying YaY.

> * A monospace truetype font was added, since that is needed for
>  the text editor. It's Bitstream Vera Sans Mono. This is the
>  default gnome terminal font, but it doesn't fit entirely well
>  with the other font I think, can be changed easily of course.

I think it would be wise here to add a Unicode-capable font right from
the first release. This will immediately cut down any potential bug
reports about those characters not showing. I already tested with both
typing directly into the text editor and by loading a simple test.txt
containing the string "äöåÄÖŵ°ëéèôñ". On loading the test.txt simple
nothing got printed.

> * Operators:
>    * Insert

Related to the font and input is that we'll have to look into handling
deadcharacter stuff (to be decided where to handle properly, GHOST?
Event/WM manager?).

This is important, since some characters on different layouts are done
through keycombinations ie, AltGr+9 for ] (AltGr being the right
Alt-key) and ie. AltGr+r for the ^-character in text editor. The
latter for instance currently will trigger the SCREEN_OT_area_rip
operator. Clearly this isn't desirable :)

This is something that will not only affect text editor, it will
affect the whole of Blender: text fields and hotkeys being the obvious
victims.

Anyway, I have no real solutions now, main point is to make us aware
of these issues (hopefully something to talk about during Wintercamp).

/Nathan


More information about the Bf-taskforce25 mailing list