diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 4 | ||||
-rw-r--r-- | pango/pango-font.h | 10 |
8 files changed, 38 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index e642409c..dc4af043 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,7 @@ +2001-04-13 Havoc Pennington <hp@redhat.com> + + * pango/pango-font.h: Add macros for CSS font scale factors + 2001-04-13 James Henstridge <james@daa.com.au> * configure.in: AC_INIT should be the first statement in the file. diff --git a/pango/pango-font.h b/pango/pango-font.h index d0619f24..0354d2be 100644 --- a/pango/pango-font.h +++ b/pango/pango-font.h @@ -74,6 +74,16 @@ typedef enum { PANGO_STRETCH_ULTRA_EXPANDED } PangoStretch; + +/* CSS scale factors (1.2 factor between each size) */ +#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037) +#define PANGO_SCALE_X_SMALL ((double)0.6444444444444) +#define PANGO_SCALE_SMALL ((double)0.8333333333333) +#define PANGO_SCALE_MEDIUM ((double)1.0) +#define PANGO_SCALE_LARGE ((double)1.2) +#define PANGO_SCALE_X_LARGE ((double)1.4399999999999) +#define PANGO_SCALE_XX_LARGE ((double)1.728) + struct _PangoFontDescription { char *family_name; |