Re: [sword-devel] Problems with text rendering

2009-10-15 Thread Martin Gruner
Troy, just wanted to add that your suggestion sounds very good to me. mg Am Dienstag, 13. Oktober 2009 19:32:18 schrieb Troy A. Griffitts: > Yeah Martin, > > This seems like a problem with the concept of running an EXTERNAL buffer > through a modules RenderFilters: > > module->RenderText(ext

Re: [sword-devel] Problems with text rendering

2009-10-13 Thread Troy A. Griffitts
Yeah Martin, This seems like a problem with the concept of running an EXTERNAL buffer through a modules RenderFilters: module->RenderText(externalBuffer); as opposed to the usual use of simply rendering the module at its current position: module->RenderText(); Currently this resets the INTERNA

Re: [sword-devel] Problems with text rendering

2009-10-13 Thread Martin Gruner
Hi Troy, thank you for the hint. I see a problem though: The code that I mentioned is the actual OSIS filter that is being used when we render text. Now in a different method, I want to access the entry attributes just like usual, but the filter already destroyed them. key->key(keyname);

Re: [sword-devel] Problems with text rendering

2009-10-12 Thread Troy A. Griffitts
Dear Martin, I believe the BPBible or Xiphos guys ran into this same problem a little while back. I think, after talking about it, the best solution was to simply grab a copy on the stack, near the top of your method, and let it go out of scope after the filter completes. AttributeTypeList entry

[sword-devel] Problems with text rendering

2009-10-12 Thread Martin Gruner
Hi Troy, may I ask for your help with a rendering issue we are experiencing? I believe the code once came from you (simplerender.patch). It is in our OSIS filter descendant, where crossref notes are processed. if (type == "crossReference") { //note containing cross references