SVG Graphics in CHM (Html Help Workshop)

旧城冷巷雨未停 提交于 2020-01-11 10:18:26

问题


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)

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

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

Any Help is really appreciated!

Regards Christian

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


回答1:


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.

Possible solutions:

  • 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.)


来源:https://stackoverflow.com/questions/24026440/svg-graphics-in-chm-html-help-workshop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!