Some of you may know that for quite some time, on and off, I am working on a rewrite of WonderBrush, the graphics tool that comes bundled with Haiku releases. Since I have last demonstrated the prototype publically, I have occasionally found the time to work on it some more. I’ve ported over most brush tool related code from the original WonderBrush. And in the past weeks, I have specifically worked on a new text tool (written from scratch). The new text tool will address some of the shortcommings of the one in the original WonderBrush: On canvas editing and support for style ranges. In the current WonderBrush, a text object has one global font, font size, color and so on. And editing text works indirectly by entering it into a separate BTextView in the tool setup area. Both of these issues will be addressed by the new text tool. Different fonts, font sizes, colors and so on can be applied to individual ranges of the text and editing can happen directly on the canvas. Generally, I think a separate, regular text widget to enter the text is not such a bad idea. The text object on the canvas may be hard to see and read, either because it is partially behind other objects on the canvas, or because of applied effects or simply the current zoom setting of the canvas. So there is still a dedicated text entering widget inside the tool configuration area.
This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/stippi/2012-10-25_new_wonderbrush/