Better HN
topnewbestaskshowjobs
Log inSign up

wjd

200 karma · joined Jan 30, 2012 (14y ago) · 7 submissions

http://wdobbie.com
Submissions

comment 10y ago · link · parent

Should be fixed now!

comment 10y ago · link · parent

The .bmp file is served gzipped to 7 MB.

LZMA and Bzip2 both get it down to about 3 MB but I'd need to use a javascript decompressor.

comment 10y ago · link · parent

Loaded up linux and I got the same issue. Working on it!

4.

Show HN: War and Peace and WebGL(wdobbie.com ↗)

65 points · by wjd · 10y ago · 28 comments

comment 10y ago · link · parent

Subpixel rendering isn't implemented in the demo but just requires running the calculations three times with 1/3 pixel offsets. It still would only need to read the texture data once. I didn't implement it in the demo because there's no way to ask the browser what the display's subpixel order is. If you're viewing it on an ipad and switch from portrait to landscape your subpixel order changes.

Hinting was necessary back before good antialiasing existed but I don't think many renderers use it now. This technique renders each glyph differently according to its subpixel position - completely the opposite approach to hinting, which snaps features of the glyph to integer positions on the pixel grid.

comment 10y ago · link · parent

Consider that each "e" may be slightly differently aligned to the pixel grid though. So using an atlas is lower quality than drawing each "e" from scratch exactly as it aligns to the screen.

7.

Show HN: GPU text rendering with vector textures(wdobbie.com ↗)

334 points · by wjd · 10y ago · 87 comments