diff options
author | Havoc Pennington <hp@redhat.com> | 2001-04-27 23:50:03 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-04-27 23:50:03 +0000 |
commit | 54fe82fbb797d6c72c81e629cba28fd803df7122 (patch) | |
tree | fdc77f4e259a37146f30d96b9724477f9702b970 /pango/pango-layout.h | |
parent | 374817f27422db4a5d4c68c423607ff560e53140 (diff) | |
download | pango-54fe82fbb797d6c72c81e629cba28fd803df7122.tar.gz |
Move some fontmap stuff to pangox-private.h to access fontmap->resolution
2001-04-27 Havoc Pennington <hp@redhat.com>
* pango/pangox-fontmap.c: Move some fontmap stuff to
pangox-private.h to access fontmap->resolution in pangox.c
* pango/pangox.c (get_font_metrics_from_subfonts): multiply
avg. width by PANGO_SCALE, and consider that avg width from X is
in decipoints
* modules/basic/basic-x.c: mark some chars unknown when shaping,
with a flag PANGO_X_UNKNOWN_FLAG
* pango/pangox.c (pango_x_font_get_metrics): use lookup_lang not
lang when calling get_font_metrics_from_string
(pango_x_render): render unknown chars
* pango/pango-layout.c:
(pango_layout_set_single_paragraph_mode): add mode where we don't
break on para separators, instead we shape them and display glyphs
(pango_layout_get_single_paragraph_mode): getter for above
(pango_layout_check_lines): handle single paragraph mode
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r-- | pango/pango-layout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index 76bef0e8..1944398f 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -124,6 +124,10 @@ void pango_layout_set_tabs (PangoLayout *la PangoTabArray* pango_layout_get_tabs (PangoLayout *layout); +void pango_layout_set_single_paragraph_mode (PangoLayout *layout, + gboolean setting); +gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout); + void pango_layout_context_changed (PangoLayout *layout); void pango_layout_get_log_attrs (PangoLayout *layout, |