问题
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