[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1395-g47e2

From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.6.1-1395-g47e2b11
Date: Thu, 01 Jul 2010 17:18:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".

The branch, master has been updated
       via  47e2b1135eaaf7a43915326cd854a6479ed81c42 (commit)
      from  511fa997d9324c4ab6536c604ec9e0461062e1fc (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 -----------------------------------------------------------------
commit 47e2b1135eaaf7a43915326cd854a6479ed81c42
Author: Ben Pfaff <address@hidden>
Date:   Tue Jun 29 16:59:42 2010 -0700

    cairo: Fix handling of font sizes.
    Until now this code used pango_font_description_set_absolute_size() to set
    the font size.  This sets the font size in device units, e.g. pixels on a
    display.  But font sizes are actual specified by the user in points, so
    we should instead use pango_font_description_get_size().  This commit
    makes that change.
    That change is simple, but it necessitates a larger change.
    Until now the cairo driver has just assumed that the size of a font is
    the size that we assigned it.  But this is no longer the case, since
    points and pixels are now different.  So now we measure the actual width
    and height of characters and use those as the font size.  At the same
    time, the code no longer ignores font sizes included as part of font
    description strings, and allows different fonts to have different sizes.
    With plenty of help from John Darrington.


Summary of changes:
 src/output/cairo.c         |  164 +++++++++++++++++++++++++++-----------------
 tests/output/render-test.c |    2 +-
 2 files changed, 102 insertions(+), 64 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]