On Sun, 11 Nov 2012 14:41:11 +0000 (GMT), Michael Drake wrote:
> In article
> <OUT-509FAF1E.MD-1.4.17.chris.young@unsatisfactorysoftware.co.uk>,
> Chris Young <chris.young@unsatisfactorysoftware.co.uk> wrote:
>
> > Looking at the plotters log, apart from one bitmap tile (which I think
> > is irrelevant) and loads of text, I get quite a few rectangle calls.
> > Is the alpha channel of the colour used in the rectangle call
> > relevant? At the moment I think it is getting ignored (I'm not sure
> > if this is the problem, just guessing that opaque rectangles might be
> > obliterating the SVGs)
>
> The libSVGTiny handler only uses the path and text plotter functions.
> Even rectangles would be rendered with the path plotter.
Sorry, I meant generally, in case something else on the page is
causing a rectangle to write over the top of where the SVGs are.
> There does seem to be something odd happening with that image. On RISC OS
> I get two small ellipses for eyes and a curved line for a mouth. With
> nsgtk I get just a large black circle for the whole face.
>
> Have you tried other images? Like the tiger:
>
> data:text/html,%3Ch1%3ESVG%20Tiger%20IMG%20Tag%3C/h1%3E%3Cimg%20src=%22http://croczilla.com/bits_and_pieces/svg/samples/tiger/tiger.svg%22%3E
>
> (That's all one URL.)
"SVG Tiger IMG Tag" at the top
Rest of the page blank.
If I go straight to the tiger URL it displays fine unembedded.
Chris
No comments:
Post a Comment