diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-07-16 19:59:19 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-07-16 19:59:19 +0000 |
commit | ca5b24d14066ce35f5b92d117beee0e3605b2f4b (patch) | |
tree | dff2e3baad7fe6d7b31d0f9a13b5b84801aa12f5 /pango/pangowin32-private.h | |
parent | 33c98d1b53adc6708fc20ff2db11a71f93c23a13 (diff) | |
download | pango-ca5b24d14066ce35f5b92d117beee0e3605b2f4b.tar.gz |
pango/pango-utils.h pango/pango-utils.c pango/pangox-fontmap.c Move the
2000-07-16 Tor Lillqvist <tml@iki.fi>
* pango/pango-utils.h
* pango/pango-utils.c
* pango/pangox-fontmap.c
* pango/pangowin32-fontmap.c: Move the get_{style,variant,
weight,stretch} functions to pango-utils.c, and rename
them to pango_parse_*. Would otherwise be duplicated in
pangox and angowin32.
* pango/pango.def: Export them.
* pango/pango-font.h: Add PANGO_WEIGHT_ULTRALIGHT,
PANGO_WEIGHT_LIGHT, PANGO_WEIGHT_EXTRABOLD and PANGO_WEIGHT_HEAVY
values to PangoWeight.
* pango/pango-utils.c: Recognize the new weight strings.
* pango/pangowin32.c (pango_win32_list_subfonts): Don't g_free the
subfont_list from the subfonts_by_subrange hash table...
* pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file):
Also set the other properties in the LOGFONT, not only the face name.
(pango_win32_insert_font): Insert a pointer to a freshly allocated
LOGFONT in the hash table, not the one passed in as a parameter,
which could be (and in fact, *is*) a pointer to an auto
variable. Quantize the description weight values to exact
PANGO_WEIGHT_* values.
(pango_win32_get_unknown_glyph): Use subfont 1.
* examples/viewer-win32.c: (split_paragraphs): Don't include the
newline.
(draw): Correct 1st parameter to gdk_win32_hdc_{get,release}.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r-- | pango/pangowin32-private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h index 9d748798..78d459a3 100644 --- a/pango/pangowin32-private.h +++ b/pango/pangowin32-private.h @@ -22,6 +22,12 @@ #ifndef __PANGOWIN32_PRIVATE_H__ #define __PANGOWIN32_PRIVATE_H__ +/* Just for debugging, will be removed */ +#define PING(printlist) \ +(g_print ("%s:%d ", __PRETTY_FUNCTION__, __LINE__), \ + g_print printlist, \ + g_print ("\n")) + #include "pango-modules.h" #include "pangowin32.h" |