CSS/HTML/JS can render fonts perfectly if you use <canvas/>. The copy/paste problem can be solved using the HTML5 drag and drop API. (copy=drag, paste=drop)
To make sure you have the exact font, you may want to include the font file with @font in CSS.