Gang:

    Here's a quickie fix for 1.3 (and 1.2).

    In paragraph.c, DoMultiImage, if tContext->activeAnchor is false we
create an anchor for the big image (DoAnchorBegin) and end it (AnchorStop)
after drawing. Or so we thought. AnchorStop does not clear
tContext->activeAnchor, so the next multiImage is appended to the 'anchor'
for the previous image... So all images when tapped display the
follow link/show image popup even tho they have no link.

    Fortunately the fix is shorter than the explaination.

--- paragraph.c.orig    Wed Oct 23 15:08:00 2002
+++ paragraph.c Tue Oct 29 08:41:05 2002
@@ -666,7 +666,7 @@
         DoAnchorBegin( pContext, tContext, functionWidth );
         DrawInlineImage( inlinedImage, tContext, functionWidth );
         AnchorStopImage( tContext, pContext->fontHeight, *functionWidth );
-        AnchorStop( tContext, pContext->fontHeight );
+        DoAnchorEnd( pContext, tContext, functionWidth );
     }
     return IMAGE;
 }

                                Chris

Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
Never meddle in the affairs of NT. It is slow to boot and quick to crash.
    -- Stephen Harris 




_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to