News for hackers. Stuff that matters.
Re:Blend2D – 2D Vector Graphics Engine by Pxtl on Friday April 05, 2019 @08:11AM (#19581708)
Things like this convince me more and more that SVG is overdesigned and solving the wrong problem:

The world needed a vector version of PNG far more than it needed a vector version of HTML/CSS.

Re:Blend2D – 2D Vector Graphics Engine by gardaani on Friday April 05, 2019 @09:23AM (#19582234)
W3C is creating a subset of SVG called "SVG Native". It is intended for icons and simple graphics, so it won't have support for text, scripts, links or XSL processing. Also, use of CSS or animations isn't recommended. It will be similar to SVG in OpenType fonts: https://docs.microsoft.com/en-us/typography/opentype/spec/sv...
Re:Blend2D – 2D Vector Graphics Engine by Pxtl on Friday April 05, 2019 @01:19PM (#19584829)
Neat. Hopefully it gets adopted. And hopefully it uses its own file-extension so I can actually tell them apart - I'd love to have, like ".svgn" for native svg.
Re:Blend2D – 2D Vector Graphics Engine by pavlov on Friday April 05, 2019 @12:01PM (#19583826)
Wasn't there already "SVG Tiny" for this purpose? I recall it being used on mobile a long time ago, like circa 2005.
Re:Blend2D – 2D Vector Graphics Engine by pjmlp on Friday April 05, 2019 @12:28PM (#19584152)
Another subset to join the ones already being used by UWP, Android and iOS. Oh well, xkcd comes to mind.
Re:Blend2D – 2D Vector Graphics Engine by microcolonel on Friday April 05, 2019 @02:41PM (#19585707)
I will push back a bit and say SVG's integration with HTML documents is very convenient and useful. I think it has been held back by poor implementation, particularly Mozilla's.

The SMIL stuff has made the SVG DOM a bloody mess, and it's deprecated everywhere, which is a sad outcome, but it's still useful.

Re:Blend2D – 2D Vector Graphics Engine by bitbang on Saturday April 06, 2019 @11:42AM (#19591278)
That makes no sense. SVG _is_ the vector equivalent of PNG. Just because it's defined in an xml namespace that can be directly embedded in html, doesn't mean it is somehow bound to it.
Re:Blend2D – 2D Vector Graphics Engine by Pxtl on Saturday April 06, 2019 @01:57PM (#19592051)
I can't write JavaScript inside of a PNG. I can't reference external resources inside of a PNG. I can't reference CSS classes inside of a PNG. I can't animate a PNG. A PNG is a simple, dumb, uncomplicated file with a minimal surface area for vulnerabilities.
Re:Blend2D – 2D Vector Graphics Engine by mfabbri77 on Friday April 05, 2019 @08:34AM (#19581871)
Definitively, this.