summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Make TypeInfo structs not static. Reduces relocations.Behdad Esfahbod2006-10-139-14/+14
| | | | | | | | | | | | | | | | | | | 2006-10-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_get_type): * pango/pangocairo-font.c (pango_cairo_font_get_type): * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_type): * pango/pangofc-fontmap.c (pango_fc_face_get_type), (pango_fc_family_get_type): * pango/pangowin32-fontmap.c (pango_win32_family_get_type), (pango_win32_face_get_type): * pango/pangox-fontmap.c (pango_x_font_map_get_type), (pango_x_face_get_type), (pango_x_family_get_type): * pango/pangox.c (pango_x_font_get_type): Make TypeInfo structs not static. Reduces relocations.
* Bug 361938 – Can't include *-lang modules (./configureBehdad Esfahbod2006-10-134-23/+27
| | | | | | | | | | | | | | | 2006-10-13 Behdad Esfahbod <behdad@gnome.org> Bug 361938 – Can't include *-lang modules (./configure --with-included-modules fails) * configure.in: * modules/Makefile.am: * pango/.cvsignore: * pango/Makefile.am: * pango/modules.c (init_modules): * pango/modules.h: Make included language engines work.
* Fix comment about PangoGlyphUnit being a 1000th of a char.Behdad Esfahbod2006-10-121-1/+1
|
* Bug 357686 – pangocairo-font.c: illegal g_object_unref inBehdad Esfahbod2006-09-251-1/+0
| | | | | | | | | | 2006-09-25 Behdad Esfahbod <behdad@gnome.org> Bug 357686 – pangocairo-font.c: illegal g_object_unref in pango_cairo_font_get_hex_box_info * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Remove wrong g_object_unref (fontmap).
* Minor simplification.Behdad Esfahbod2006-09-182-4/+2
| | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * tools/gen-script-table.pl: * pango/pango-script-table.h: * pango/pango-script.c (pango_script_for_unichar): Minor simplification. * tests/testscript.c (test_script_lookup): Update to pass.
* Remove a couple of unnecessary static variables.Behdad Esfahbod2006-09-181-15/+5
| | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> * pango/pangoft2-render.c (pango_ft2_font_render_glyph): Remove a couple of unnecessary static variables.
* Bug 356194 – more pango_get_log_attrs problemsBehdad Esfahbod2006-09-183-51/+72
| | | | | | | | | | | | | | | | | | | | | 2006-09-18 Behdad Esfahbod <behdad@gnome.org> Bug 356194 – more pango_get_log_attrs problems * pango/break.c (tailor_break): New function. Simply calls the script_break() function of the language engine, if any. * pango/break.c (pango_break): Call pango_default_break() unconditionally. Call tailor_break() on top of the result to tailor it using the language engines, if any. * pango/break.c (tailor_segment): Call tailor_break() on the segment, and make sure the log_attrs for the first position are not corrupted. * pango/break.c (pango_get_log_attrs): Call pango_default_break() on the entire paragraph, and call tailor_segment on each segment. * pango/pango-engine.h: Update docs about *script_break()'s behavior.
* Bug 355820 – pango_get_log_attrs brokenBehdad Esfahbod2006-09-151-51/+63
| | | | | | | | | 2006-09-15 Behdad Esfahbod <behdad@gnome.org> Bug 355820 – pango_get_log_attrs broken * pango/break.c (break_it), (pango_get_log_attrs): Use PangoScriptIter to itemize text, instead of pango_script_for_unichar().
* Oops Ooops Oooops, I did it again! Revert accidentally committed stuff :-(Behdad Esfahbod2006-09-152-21/+1
|
* Unset gravity on the resulting font description. We want gravity to be setBehdad Esfahbod2006-09-153-1/+25
| | | | | | | | 2006-09-15 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_face_describe): Unset gravity on the resulting font description. We want gravity to be set on all fonts described, but not font faces.
* Bug 355550 – Miscalculation of logical attributes inBehdad Esfahbod2006-09-131-3/+2
| | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 355550 – Miscalculation of logical attributes in pango_get_log_attrs() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): Pass the correct lang_engine to pango_break().
* Err about failing to load engine only once per module.Behdad Esfahbod2006-09-131-1/+19
| | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_engine_pair_get_engine): Err about failing to load engine only once per module.
* Part of Bug 355782 – Misaligned extents in pangoBehdad Esfahbod2006-09-131-9/+21
| | | | | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (pango_layout_get_extents_internal), (pango_layout_get_extents), (pango_layout_iter_copy), (pango_layout_get_iter), (pango_layout_iter_get_line_extents): Add a new internal member layout_width to PangoLayoutIter. Set it up in pango_layout_get_extents_internal and use in pango_layout_iter_get_line_extents to fix misalignment of ink link extents.
* "Thou shalt not touch code that does not fit in thy brain."Behdad Esfahbod2006-09-131-10/+11
| | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> "Thou shalt not touch code that does not fit in thy brain." * pango/pango-layout.c (update_cluster): Add cluster_start_index parameter back in.
* Remove unnecessary 'static' in type definition that causes a relocation.Behdad Esfahbod2006-09-132-2/+4
| | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-engine.h: Remove unnecessary 'static' in type definition that causes a relocation. * pango/shape.c (pango_shape): Make sure last_cluster is invalid.
* Oops, undo stuff that were committed accidentally.Behdad Esfahbod2006-09-134-27/+5
|
* Part of Bug 355782 – Misaligned extents in pangoBehdad Esfahbod2006-09-135-30/+52
| | | | | | | | | | | | | | | | | | | | | | 2006-09-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (cluster_width): Rewrite based on is_cluster_start instead of accessing log_clusters directly. This is more robust as next_cluster uses that, so the two match now. * pango/pango-layout.c (update_cluster): Remove the cluster_start_index parameter and use iter->cluster_start instead. * pango/pango-layout.c (pango_layout_iter_copy): Fix typo in copying iter->cluster_width. * pango/pango-layout.c (pango_layout_iter_get_cluster_extents): Add an assert to make sure iter->cluster_width is correctly set. * pango/pango-layout.c (pango_layout_iter_get_char_extents): Remove assert that was readded above to check more cases.
* Bug 355435 – Invalid calls to pango_map_get_engine() Patch fromBehdad Esfahbod2006-09-115-8/+14
| | | | | | | | | | | | | | 2006-09-11 Behdad Esfahbod <behdad@gnome.org> Bug 355435 – Invalid calls to pango_map_get_engine() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): * pango/pango-renderer.c (add_underline): * pango/pangofc-font.c (pango_fc_font_find_shaper): * pango/pangowin32.c (pango_win32_font_find_shaper): * pango/pangox.c (pango_x_font_find_shaper): Pass a PangoScript to pango_map_get_engine, not a gunichar!
* Bug 347146 – underline/overstrike spacesBehdad Esfahbod2006-09-112-27/+63
| | | | | | | | | | | | | | | | | 2006-09-11 Behdad Esfahbod <behdad@gnome.org> Bug 347146 – underline/overstrike spaces * pango/pango-renderer.c (add_underline), (add_strikethrough), (pango_renderer_draw_layout_line): Use logical extents for x and width of underline/strikethrough, such that trailing spaces are correctly handled. * pango/pango-layout.c (pango_layout_run_get_extents): Use logical rect for underline/strikethrough, and reflect that in run ink extents. * pango/pango-layout.c (pango_layout_line_get_extents): Don't let runs with empty ink extents affect total ink extents.
* Bug 352535 – Ink extents of empty glyphBehdad Esfahbod2006-09-111-1/+1
| | | | | | | | | | 2006-09-10 Behdad Esfahbod <behdad@gnome.org> Bug 352535 – Ink extents of empty glyph * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): Return zero ink_rect for PANGO_GLYPH_EMPTY.
* Parse style. It was dropped when I was adding support for gravity.Behdad Esfahbod2006-09-081-0/+1
| | | | | | | 2006-09-08 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (find_field_any): Parse style. It was dropped when I was adding support for gravity.
* Minor doc syntax update.Behdad Esfahbod2006-08-313-14/+14
| | | | | | | 2006-08-31 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c, pango/pangox-fontmap.c, pango/pangox.c: Minor doc syntax update.
* Bug 148732 – cursor movenmet is not correct in gedit when I type ArabicBehdad Esfahbod2006-08-301-5/+11
| | | | | | | | | | 2006-08-30 Behdad Esfahbod <behdad@gnome.org> Bug 148732 – cursor movenmet is not correct in gedit when I type Arabic text. * pango/pango-layout.c (pango_layout_move_cursor_visually): Update locally cached line properties upon line change.
* Bug 349813 – typo in docs for pango_layout_move_cursor_visuallyBehdad Esfahbod2006-08-261-1/+1
| | | | | | | | 2006-08-26 Behdad Esfahbod <behdad@gnome.org> Bug 349813 – typo in docs for pango_layout_move_cursor_visually * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix typo.
* pango/Makefile.am examples/Makefile.am pango/testfonts.c RenameTor Lillqvist2006-08-232-456/+2
| | | | | | | | | | 2006-08-23 Tor Lillqvist <tml@novell.com> * pango/Makefile.am * examples/Makefile.am * pango/testfonts.c * examples/pangowin32tobmp.c: Rename pango/testfonts.c to examples/pangowin32tobmp.c. (#104151)
* Replace (!isgraph && !isspace) with (!isprint) which is equivalent. Also,Behdad Esfahbod2006-08-221-3/+8
| | | | | | | | 2006-08-22 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (itemize_state_process_run): Replace (!isgraph && !isspace) with (!isprint) which is equivalent. Also, update comments.
* Find shaper/font for Private Use and space characters too. Finding shaperBehdad Esfahbod2006-08-221-4/+6
| | | | | | | | | | | | 2006-08-22 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (itemize_state_process_run): Find shaper/font for Private Use and space characters too. Finding shaper for Private Use is needed for any practical use of those areas. Ideally, spaces should be synthesized if they are not available in the font, but falling back to other fonts is far easier, and should give pretty good results with the current set of common fonts. These fixes allow Firefox+Pango to render MathML like Firefox+Xft does.
* Rename "Upright" to "Not-Rotated". Also, reorder the user-friendly namesBehdad Esfahbod2006-08-221-5/+5
| | | | | | | | | 2006-08-22 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c (gravity_map): Rename "Upright" to "Not-Rotated". Also, reorder the user-friendly names (Not-Rotated, Rotated-Left, ...) before the enum names (South, East, ...) such that they are used to describe fonts.
* Support per-item gravity.Behdad Esfahbod2006-08-214-26/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-08-20 Behdad Esfahbod <behdad@gnome.org> Support per-item gravity. * pango/pango-context.c (update_attr_iterator), (itemize_state_init), (itemize_state_update_for_new_run), (itemize_state_process_run): Make per-item gravity work, by setting gravity into font description before loading fonts. Also, allow the context font description to override the gravity (but not centered_baseline.) * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Get gravity from font description, not context. * pango/pangofc-fontmap.c (fontset_hash_key_equal), (fontset_hash_key_hash), (fontset_hash_key_copy), (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), (pango_fc_font_map_load_fontset), (pango_fc_font_description_from_pattern): Get gravity from font description, not context. Moreover, put it into pattern, and reconstruct it out of font patterns. * pango/pangofc-private.h: Define PANGO_FC_GRAVITY, which is the key we put PangoGravity into an FcPattern under.
* Add gravity in PangoFontDescription.Behdad Esfahbod2006-08-203-26/+108
| | | | | | | | | | | | | | | | | 2006-08-20 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/fonts.sgml: * pango/fonts.c (pango_font_description_set_gravity), (pango_font_description_get_gravity), (pango_font_description_merge_static), (pango_font_description_better_match), (pango_font_description_equal), (pango_font_description_hash), (find_field_any), (pango_font_description_from_string), (pango_font_description_to_string): * pango/pango-font.h: * pango/pango.def: Add gravity in PangoFontDescription.
* Correct switched return value of EAST/WEST.Behdad Esfahbod2006-08-208-12/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-08-20 Behdad Esfahbod <behdad@gnome.org> * pango/pango-matrix.c (pango_matrix_to_gravity): Correct switched return value of EAST/WEST. * pango/pango-types.h (PangoGravity): Add PANGO_GRAVITY_AUTO. * pango/pango-context.h: Add pango_context_get_gravity(). * examples/renderdemo.c (parse_gravity), (parse_options): * pango/pango-context.c (pango_context_init), (update_resolved_gravity), (pango_context_set_matrix), (pango_context_set_base_gravity), (pango_context_get_gravity), (itemize_state_init), (get_shaper_and_font): * pango/pango-layout.c (line_set_resolved_dir): * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics), (pango_cairo_fc_font_glyph_extents_cache_init), (_pango_cairo_fc_font_new): * pango/pangofc-fontmap.c (pango_fc_make_pattern), (pango_fc_font_map_load_fontset): * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/main.sgml: Update to above.
* Bug 351496 – PangoAnalysis::gravity breaks binary compatibilityBehdad Esfahbod2006-08-202-5/+4
| | | | | | | | 2006-08-20 Behdad Esfahbod <behdad@gnome.org> Bug 351496 – PangoAnalysis::gravity breaks binary compatibility * pango/pango-item.h (PangoAnalysis): Use bitfields for level.
* Redo stuff that Hans reverted accidentally.Behdad Esfahbod2006-08-191-3/+4
|
* Part of Bug 348825 – pango should optimize away calls to FcFontSort asBehdad Esfahbod2006-08-171-1/+1
| | | | | | | | | 2006-08-17 Behdad Esfahbod <behdad@gnome.org> Part of Bug 348825 – pango should optimize away calls to FcFontSort as much as possible * pango/pangofc-fontmap.c: Increase FONTSET_CACHE_SIZE from 16 to 64.
* Drop @WIN32_LIBS@, no need to search -lgdi32 when linking apps that linkTor Lillqvist2006-08-171-0/+2
| | | | | | | | | 2006-08-17 Tor Lillqvist <tml@novell.com> * pangowin32.pc.in: Drop @WIN32_LIBS@, no need to search -lgdi32 when linking apps that link with libcairowin32. * pango/pango.def: Add two symbols.
* updated error C2059: syntax error : '}' Intializing a struct with emptyHans Breuer2006-08-175-12/+15
| | | | | | | | | | | 2006-08-17 Hans Breuer <hans@breuer.org> * pango/makefile.msc pango/pango.def : updated * pango/break.c(1630) : error C2059: syntax error : '}' Intializing a struct with empty braces is not supported with MSVC, instead use 0. * pango/pangocairo.def : removed pango_fc_font_(map_)get_type pangocairo has either win32 fonts or freetype. The former is more usual. * pango/pango-utils.c : replaced M_PI by G_PI (from glib/gtypes.h).
* Bug 351585 – API documentation issues with 2.15 releaseBehdad Esfahbod2006-08-161-0/+2
| | | | | | | | | 2006-08-16 Behdad Esfahbod <behdad@gnome.org> Bug 351585 – API documentation issues with 2.15 release * pango/fonts.c (pango_font_describe_with_absolute_size): Add Since tag to docs.
* Adjust line resolved_dir according to context base_gravity, like we do inBehdad Esfahbod2006-08-162-2/+39
| | | | | | | | 2006-08-16 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (line_set_resolved_dir): Adjust line resolved_dir according to context base_gravity, like we do in itemize_state_add_character().
* Render block progression and line direction arrows, and a base gravityBehdad Esfahbod2006-08-1611-116/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-08-16 Behdad Esfahbod <behdad@gnome.org> * examples/viewer-pangocairo.c (render_callback): Render block progression and line direction arrows, and a base gravity roof-top. * pango/pango-matrix.c (pango_matrix_to_gravity): New function. * pango/pango-utils.c (pango_gravity_to_rotation): New function. * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Use pango_gravity_to_rotation(). * pango/pango-utils.h: * pango/pango-types.h: Reorder a bit. * examples/Makefile.am: * examples/test-chinese.txt: New test text for Chinese. * pango/check.defs: New script that checks that all the exported symbols are listed in the respective .def file. (only checks the libraries actually built. No win32 for example.) * pango/Makefile.am: Hook check.defs as a 'make check' test. * pango/pango.def: * pango/pangoft2.def: * pango/pangocairo.def: Update. * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: * docs/pango-sections.txt: Update.
* Return if none of logical_rect or ink_rect is non-NULL.Behdad Esfahbod2006-08-166-8/+50
| | | | | | | | | | | | | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_run_get_extents): * pango/glyphstring.c (pango_glyph_string_extents_range): Return if none of logical_rect or ink_rect is non-NULL. * pango/pango-item.h (PangoAnalysis): Add new member centered_baseline which if set, makes item rendered such that ascent == descent. * pango/pango-context.c (itemize_state_init), (itemize_state_add_character): * pango/pango-renderer.c (pango_renderer_draw_layout_line): Implement centered_baseline. * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics): When adjusting ascent/descent for vertical fonts, adjust strikethrough and underline position too. * docs/tmpl/main.sgml: Document new struct member.
* Always use fallback shaping for vertical fonts.Behdad Esfahbod2006-08-151-2/+22
| | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-fc.c (basic_engine_shape): Always use fallback shaping for vertical fonts. * pango/pango-context.c (get_shaper_and_font): Always use basic shaper for vertical items (east/west gravity).
* Render the header with SOUTH gravity.Behdad Esfahbod2006-08-151-6/+18
| | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * examples/renderdemo.c (do_output): Render the header with SOUTH gravity. * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics), (pango_cairo_fc_font_glyph_extents_cache_init): Center baseline for east/west gravity in pango_font_metrics too.
* Remove excess LRM.Behdad Esfahbod2006-08-151-5/+1
| | | | | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * examples/HELLO.utf8: Remove excess LRM. * examples/viewer-pangocairo.c (render_callback): Draw baselines in border-drawing mode. * pango/pango-layout.c (pango_layout_line_get_extents): Make sure we set logical_rect.y on empty lines. Previously empty lines had wrong baseline. The code apparently was written like that intentionally, but I cannot find out why.
* Remove initliazer members for analysis, let compiler zero them all. FixesBehdad Esfahbod2006-08-151-1/+1
| | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/break.c (pango_get_log_attrs): Remove initliazer members for analysis, let compiler zero them all. Fixes compile break after adding the gravity member inside there.
* Fix handling of WEST and EAST gravity effect on bidi level.Behdad Esfahbod2006-08-153-10/+45
| | | | | | | | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (itemize_state_add_character): Fix handling of WEST and EAST gravity effect on bidi level. * pango/pangocairo-fcfont.c (pango_cairo_fc_font_glyph_extents_cache_init): For NORTH gravity (upside down text), swap ascent and descent, and for EAST/WEST, center baseline between ascent/descent. * pango/shape.c (pango_shape): If glyph width is negative, negate it and shift glyph by that amount. This allows having font matrices that essentially move the glyph origin to the right of the glyph to still work.
* Move font_matrix rotation into font_new as we use only rotation and noBehdad Esfahbod2006-08-151-44/+12
| | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_scaled_font), (_pango_cairo_fc_font_new): Move font_matrix rotation into font_new as we use only rotation and no translation anymore.
* Oops. Exchange west<->east and north<->south gravities. The gravity is theBehdad Esfahbod2006-08-154-23/+23
| | | | | | | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/main.sgml: * examples/renderdemo.c (parse_gravity), (parse_options): * pango/pango-context.c (pango_context_init), (pango_context_get_base_gravity), (itemize_state_add_character): * pango/pango-types.h: * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_scaled_font): * pango/pangofc-fontmap.c (pango_fc_make_pattern): Oops. Exchange west<->east and north<->south gravities. The gravity is the side that the glyph sits on. So, for normal Latin text for example, gravity is south, not north.
* Support --gravity.Behdad Esfahbod2006-08-152-6/+72
| | | | | | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * examples/renderdemo.c (do_output), (parse_gravity), (parse_options): Support --gravity. * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_scaled_font), (compute_glyph_extents), (_pango_cairo_fc_font_new): Load rotated scaled_fonts to handle gravity. * pango/pangofc-fontmap.c (pango_fc_make_pattern), (pango_fc_font_map_get_patterns), (pango_fc_font_map_load_fontset): Set FC_VERTICAL_LAYOUT on West and East gravity.
* Add FIXME note about handling item gravity.Behdad Esfahbod2006-08-152-1/+12
| | | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (itemize_state_process_run): Add FIXME note about handling item gravity. * pango/pangofc-fontmap.c (fontset_hash_key_equal), (fontset_hash_key_hash), (fontset_hash_key_copy), (pango_fc_font_map_get_patterns): Add gravity into the hask key.
* Add a gravity member to PangoItem, andBehdad Esfahbod2006-08-152-0/+30
| | | | | | | | | | 2006-08-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-item.h: Add a gravity member to PangoItem, and * pango/pango-context.c (itemize_state_init), (itemize_state_add_character): Propagate context base_gravity into items.