CHM中的SVG图形(HTML帮助研讨会) [英] SVG Graphics in CHM (Html Help Workshop)

查看:121
本文介绍了CHM中的SVG图形(HTML帮助研讨会)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在CHM文件中使用SVG图形. CHM由HTML Help Worshop创建.不幸的是,svg文件没有显示在我编译的chm中...(在HTML中一切正常)

Im trying to use SVG-Graphics in a CHM-File. The CHM is created by HTML Help Worshop. Unfortunately the svg files dont show in my compiled chm... (Everything works fine in Html)

我已经将SVG添加到hhp的文件"部分中.但是仍然没有.

I already added my SVG to the Files section of my hhp. But still nothing.

有人成功使用Html帮助研讨会创建的CHM中的SVG文件吗?

Has anyone succeeded in using SVG Files in CHM created with Html Help Workshop?

我们非常感谢您的帮助!

Any Help is really appreciated!

问候 基督徒

(此主题仅与SVG相关.位图可以正常工作...)

(This topic is only related to SVG. Bitmaps work just fine...)

推荐答案

出于兼容性原因,HTML帮助查看器以IE 7标准模式呈现主题(请参见答案),而IE直到9版才支持SVG.

HTML Help Viewer renders topics in the IE 7 standards mode for compatibility reasons (see these answers), and IE doesn't support SVG until v. 9.

可能的解决方案:

  • Change the FEATURE_BROWSER_EMULATION registry flag to make HTML Help Viewer use the IE 9 mode.
  • Use some JavaScript SVG libraries to render SVG. (Didn't try it though; just an idea.)

这篇关于CHM中的SVG图形(HTML帮助研讨会)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆