CSS is not handled well on Windows style file path
Status: Beta
Brought to you by:
hoehrmann
When using (release 2010-04):
CutyCapt.exe --url=file:///c:\temp\smoke\p104\pictures\bubs_ctt_all.html --out=h:\ws\p104\help\fr\img\bubs_ctt_all.png
the file is rendered, but the associated CSS is not included, nor are the images.
When using
CutyCapt.exe --url=file:///c:/temp/smoke/p104/pictures/bubs_ctt_all.html --out=h:\ws\p104\help\fr\img\bubs_ctt_all.png
the HTML is fully correctly rendered, including all colours, fonts, etc from the CSS.
If you had a patch for this, you did not attach it (you filed the issue in the patch tracker). Is that still the case with the CutyCapt-Win32-2010-06-06.zip version? How should this behave, exactly? Is there some other very widely deployed tool that handles this in a more intuitive manner?
I am sorry, I have no patch for this. I have tried it using the latest release. Still no luck. The HTML renders fine, but the included css is not processed. It seems that cutycapt somehow prefers forward slash notation when files are included in the html such as css.
Extra suggestion: add a -v option to print the version of cutycapt.exe.
Example of another application that allows mixing slash direction is Apache Ant (build tool).
The following build.xml mixes various styles:
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="smoke" default="main" basedir="." >
<target name="main">
<copy file="c:\users\gle3/build.xml" tofile="c:/temp\test.x" />
</target>
</project>
In Windows I have build the CutyCapt.exe with all vertions of code. But it is not rendering the js. But the CutyCapt-Win32-2010-06-06.zip exe file is rendering. Not sure what I have missed to build in windows machine.
Could you please help me on this?
Attached is my html file.
I need the CutyCapt.exe file with Page height and Page width. Could you please provide the exe with that parameters?
Last edit: Vineet 2014-06-02