Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/041e9426c1be16709f620757e79c68843058f43f
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/041e9426c1be16709f620757e79c68843058f43f
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/041e9426c1be16709f620757e79c68843058f43f

The branch, master has been updated
       via  041e9426c1be16709f620757e79c68843058f43f (commit)
      from  ffc199d778c7666edca028da965009574fdfd3df (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=041e9426c1be16709f620757e79c68843058f43f
commit 041e9426c1be16709f620757e79c68843058f43f
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    CSS: Use helper to convert form css to physical pixels.

diff --git a/content/handlers/css/utils.c b/content/handlers/css/utils.c
index b6a77e4..dd669c6 100644
--- a/content/handlers/css/utils.c
+++ b/content/handlers/css/utils.c
@@ -248,8 +248,7 @@ css_fixed nscss_len2px(
                break;
        }
 
-       px_per_unit = FDIV(FMUL(px_per_unit, nscss_screen_dpi),
-                       nscss_baseline_pixel_density);
+       px_per_unit = nscss_pixels_css_to_physical(px_per_unit);
 
        /* Ensure we round px_per_unit to the nearest whole number of pixels:
         * the use of FIXTOINT() below will truncate. */


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/css/utils.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/content/handlers/css/utils.c b/content/handlers/css/utils.c
index b6a77e4..dd669c6 100644
--- a/content/handlers/css/utils.c
+++ b/content/handlers/css/utils.c
@@ -248,8 +248,7 @@ css_fixed nscss_len2px(
                break;
        }
 
-       px_per_unit = FDIV(FMUL(px_per_unit, nscss_screen_dpi),
-                       nscss_baseline_pixel_density);
+       px_per_unit = nscss_pixels_css_to_physical(px_per_unit);
 
        /* Ensure we round px_per_unit to the nearest whole number of pixels:
         * the use of FIXTOINT() below will truncate. */


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to