Commit Graph

2 Commits

Author SHA1 Message Date
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