News for hackers. Stuff that matters.
Re:How Scribd's HTML5 conversion works ... even when it shou... by matthiaskramm on Thursday August 26, 2010 @06:15PM (#1637315)
Browsers are "smart"- they won't let you select text that's 100% transparent. 99% transparency works... but also looks kind of weird if the texts don't overlap perfectly.

You can roll your own text selection in javascript (on top of the bitmap) if you know the glyph positions though- that's what e.g. Google Books does. It's a valid option if you don't care about zoomability.

Re:How Scribd's HTML5 conversion works ... even when it shou... by bd on Thursday August 26, 2010 @06:28PM (#1637349)
Are you sure? I just made a quick test and it works ok in FF, Opera, Chrome, Safari, IE9 (Windows 7, Ubuntu 9.10):

  <body style="background:url(image.png)">
   <span style="color:rgba(0,0,0,0)">Hello world</span>
  </body>