Commit Graph

3 Commits

Author SHA1 Message Date
John Mark Bell f734aaace5 Make round-to-nearest clearer.
svn path=/trunk/netsurf/; revision=8786
2009-07-25 17:21:35 +00:00
John Mark Bell 2939ec04de More consistent conversion of lengths to pixels.
We now calculate the nearest whole number of pixels required for 1 unit, then multiply that by the requested length.
This means that 2 * len2px(1, cm) == len2px(2, cm), for example.

svn path=/trunk/netsurf/; revision=8782
2009-07-25 13:19:11 +00:00
John Mark Bell ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00