New Feature: TRanslator Note support on exported images
Posted: Thu Jan 22, 2004 9:36 am
Hi all,
I added a new feature (that I've been meaning to add for a long time) to GMAO last night. I often make little Translator notes by adding a third "translation" to a bubble that starts with the text "[Trans. Note]" (no quotes.) Now, if you have the option selected (and it is by default) if GMAO sees a note that starts with the text [Trans. Note] that matches the language being displayed, it will add more space to the bottom of the exported image, and put the note down there.
There is a new pane in the Options dialog that lets you set the font and colors for this text - strangely, the background colors don't seem to match between what is under the text and what is the real background. That shouldn't happen - they are using the same color specifier... But if you keep things black or white, it is fine. Who wants crazy colors in there anyway?
Right now I don't have a way to indicate on the bubble that there is an associated translator note, but I'm thinking of how I could put a superscripted number in there somewhere. This might be hard though, since I would have to switch to use TextLayout objects on each line instead of doing the layout myself. (A benefit would be that the TextLayout would let me support styled text, like bold, different font colors, whatever. I don't think I would want to add that in because it would be a pain in the ass to persist it, but maybe later.) Anyway, if I can work something out soon, expect it to go in in a day or so, otherwise, expect it never to happen...
Also fixed a bug that was having HTML exports fail on the GMAOServer.
fugu
I added a new feature (that I've been meaning to add for a long time) to GMAO last night. I often make little Translator notes by adding a third "translation" to a bubble that starts with the text "[Trans. Note]" (no quotes.) Now, if you have the option selected (and it is by default) if GMAO sees a note that starts with the text [Trans. Note] that matches the language being displayed, it will add more space to the bottom of the exported image, and put the note down there.
There is a new pane in the Options dialog that lets you set the font and colors for this text - strangely, the background colors don't seem to match between what is under the text and what is the real background. That shouldn't happen - they are using the same color specifier... But if you keep things black or white, it is fine. Who wants crazy colors in there anyway?
Right now I don't have a way to indicate on the bubble that there is an associated translator note, but I'm thinking of how I could put a superscripted number in there somewhere. This might be hard though, since I would have to switch to use TextLayout objects on each line instead of doing the layout myself. (A benefit would be that the TextLayout would let me support styled text, like bold, different font colors, whatever. I don't think I would want to add that in because it would be a pain in the ass to persist it, but maybe later.) Anyway, if I can work something out soon, expect it to go in in a day or so, otherwise, expect it never to happen...
Also fixed a bug that was having HTML exports fail on the GMAOServer.
fugu