Boost logo

Boost :

Subject: Re: [boost] [documentation] Are SVG's in documentation viable now?
From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2014-12-08 09:45:39

On 8 December 2014 at 14:38, Alex Perry <Alex.Perry_at_[hidden]> wrote:

> On 08 December 2014 12:52 John Maddock [mailto:boost.regex_at_[hidden]]
> wrote:-
> >
> > Folks I need your opinions,
> >
> > Since it's inception, Boost.Math has used PNG versions of equations and
> > graphs even though scalable SVG versions have been available.
> > Unfortunately, a variety of issues have prevented their use.
> > Fortunately, the logjam now appears to have cleared, and use of SVG's
> > appears viable.
> >
> > So... I wonder if I can get folks to point their browsers at
> > and let
> > me know if there are any issues? One that I'm aware of, is that the
> > equations reference Window's specific fonts, but so far in my tests this
> > appears not to be an issue.
> >
> Just thought in the light of recent posts on bed-time reading on tablets
> with would try this on a mobile device.
> On Android Kit-Kat default browser there is some clipping of these
> equations but I'm not quite sure how you are calculating the width and
> height for the svg elements since these are just given in your html.
> I've attached a screen shot showing the clipping for airy_bi
> If I adjust the sizes in the html to say <object type="image/svg+xml"
> data="equations/airy_bi.svg" width="300" height="125"></object> then no
> clipping occurs
> Alex
> Sorry for re-post if original does get through but the list didn't like
> the size of the png I attached so I've resent without it - see
> Which hopefully is accessible.

And in light of this reply, I tried it in Safari on my iPhone 5S, running
iOS 8.1.1 - they appeared to display fine (as far as I could see, no
clipping a la Android), and also loaded and zoomed a lot faster than in
Chrome 40 on my Windows 7 workstation.


Boost list run by bdawes at, gregod at, cpdaniel at, john at