SVG 是基本图形的安全选择吗?
(如果这属于 stackexchange.com,我很抱歉 - 我不知道如何分辨)
我是点语言的忠实粉丝,并且希望采用一种语言来满足我更复杂的图表需求(例如软件架构图形、商学院论文) 、个人笔记等),并希望能够在这些方面达成良好的妥协:
1)相对容易阅读和理解(如点),并且不太冗长。到目前为止,我的研究表明没有明确的最爱。
2) 易于手动调整(即在文本编辑器中)。初始绘图可以在图形包中完成,但如果您只想更改一些文本或颜色,则使用纯文本 *NIX 工具应该很容易完成。所以这就排除了Flash。
3)它不会有一天失宠,并且有浪费精力的风险,我需要将我的图表迁移到其他格式。
我对 Metapost 很犹豫,因为它看起来很复杂,但我不确定 SVG 是否已经过时,Adobe 是否将所有投资都投入到了 Flash 上。
(I apologize if this belongs in stackexchange.com - I'm not sure how to tell)
I am a big fan of the dot language and want to adopt a language for my more complex diagramming needs (e.g. software architecture graphics, business school papers, personal notes etc.) and want something that is a good compromise on these:
1) Relatively easy to read and understand (like dot), and not too verbose. So far my research has shown that there is no clear favorite.
2) Easy to tweak by hand (i.e. in a text editor). The initial drawing can be done in a graphics package but if you just want to change some text or a color, it should be easy to do with plain text *NIX tools. So that rules out Flash.
3) It won't fall out of favor one day and risk being a waste of effort and I'd need to migrate my diagrams to some other format.
I'm put off by Metapost because it looks complicated, but I'm not sure if SVG is being obsoleted and Adobe are putting all their investment into Flash.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
dot 比 SVG 更高级;最后我检查了一下,SVG 是 dot 的输出格式之一。
手写的 SVG 在文本编辑器中相当容易编辑,就像手写的 HTML 一样。
计算机生成的 SVG 在文本编辑器中编辑起来相当烦人,就像 Word 生成的 HTML 一样。
当前所有浏览器都支持 SVG,包括 IE。。据我所知,SVG 是一种相对安全的图形格式。
Adobe 的兴趣在这一点上完全无关紧要。您可能会想到 Adobe 的 SVG 插件是查看 SVG 的唯一方式,但那些日子早已一去不复返了(并且该插件已失效)。如今,SVG 在浏览器中得到了很好的支持,至少对于静态图像来说是这样。此外,在过去的几年里,浏览器支持的 SVG 相关技术在所有浏览器中都在稳步增加(这是一个复杂的规范),而且我认为 SVG 支持没有理由停止或逆转。
dot's more high-level than SVG is; last I checked, SVG was one of dot's output formats.
Handwritten SVG is fairly easy to edit in a text editor, much like handwritten HTML.
Computer-generated SVG is fairly irritating to edit in a text editor, much like Word-generated HTML.
All current browsers have SVG support, including IE.. As far as I can tell, SVG is a relatively safe graphics format to write in.
Adobe's interest is fairly irrelevant at this point. You may be thinking of a time when Adobe's SVG plugin was the only way to view SVG, but those days are long gone (and the plugin is defunct). These days, SVG is fairly well supported in browsers, at least for static images. Additionally, the SVG-related technologies that browsers support has been steadily increasing in all browsers over the past few years (it's a complex spec), and I see no reason why SVG support would stall or reverse.
SVG 自 2001 年以来一直是 W3C 的推荐标准,现代浏览器多年来一直支持它,IE 最近也加入了它。到目前为止,所有主要浏览器供应商都在努力扩大其支持。
可以在这里找到很多信息:http://caniuse.com/#cats=SVG
SVG has been a W3C recommendation since 2001 and modern browsers have supported it for years, IE recently joined in. As of now all major browser vendors are working in the direction of expanding their support.
Alot of info can be found here: http://caniuse.com/#cats=SVG
据我所知,SVG 是 HTML 5 的一项功能。因此,如果您使用 SVG,它有可能在某些旧浏览器中无法工作。但是,我认为世界(所有浏览器)正在转向 HTML 5。
As far as I know SVG is a feature of HTML 5. So,if you use SVG there is a chance that it will not work in some old browsers. But, I think the world(all browsers) is moving to HTML 5.