Archive for November, 2007

SnapHtmlString wtih CSS

Saturday, November 24th, 2007

It is possibe to use html CSS sheet with SnapHtmlString when converting a html string to image.  The trick is to store the css in a local file and refer to it in the html string like below:

<link href=”file://c:/Styles.css” rel=”stylesheet” type=”text/css” />

Then you can use htmlsnapshot to capture the html string into image with the CSS specified.

Fedora 8 mouse invisible issue

Sunday, November 11th, 2007

I tried to install 64 bit fedora 8 today.

The installation went smoothly. When I came to the login interface, the mouse pointer was invisible. It was so frustrated.

I did some search on internet and  found that this problem appears on 64 bit linux with Nvida display card. So it may be a driver issue.

Fortunately there is a workaround that seems work for me.

su
gedit /etc/grub.conf

Remove the “rhgb” in the file. Then reboot again, the mouse pointer seems to come back now.