[sword-devel] Map Compatibility Suggestions

Matt Zabojnik mattzab at gmail.com
Wed Mar 15 13:16:21 MST 2017


Doing a little more probing, BPBible Portable handled it well, but they
display in different widgets since I built my maps with imp2ld rather than
imp2gbs.

I'll probably rebuild using imp2gbs for uniformity.

I know BP isn't maintained. I still recommend it to the Windows users that
aren't computer savvy. BPBPortable should work for that purpose.

Thanks everyone!

On Wed, Mar 15, 2017, 1:26 PM Karl Kleinpaste <karl at kleinpaste.org> wrote:

> On 03/15/2017 03:03 PM, Matt Zabojnik wrote:
>
> None of the maps work in BP, all worked in Xiphos & AndBible during my
> tests.
>
> I'm thinking it's a front end issue of some kind.
>
>
> All Xiphos does is request content from the engine with
> module.renderText() and paste the result into the HTML widget.
>
> Er, well...  Adjust that: Pre-pasting, Xiphos analyzes received content
> for images in order to impose image resizing if necessary. But that only
> adds width/height specifications without altering the image reference
> itself.
>
> Hmm... Just now gdb'ing Xiphos and watching it get image-including headers
> from my NET module, the content returned from renderText() on the heading
> entry attribute looks like this:
>
> Original content as it appears in module:
> <img src="/images/netbible.jpg"/>
>
> As rendered:
> <img src=
> "file:/home/karl/.sword/modules/texts/rawtext/net//images/netbible.jpg"
> border=0 />
>
> Note the double '/'. This says that there should be no difference, as to
> whether you include the leading '/' or not.
>
> I can't say how any of the other frontends deal with images.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170315/064fda22/attachment.html>


More information about the sword-devel mailing list