summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Bug 595350 - set LC_ALL=C, not LANG=CBehdad Esfahbod2009-09-161-1/+3
|
* Only check doc coverage if building docsBehdad Esfahbod2009-09-091-0/+2
|
* New public API: pango_glyph_item_get_logical_widths()Behdad Esfahbod2009-08-122-0/+11
|
* [doc] Update doc templatesBehdad Esfahbod2009-08-111-0/+9
|
* [doc] Update for ATSUI changeBehdad Esfahbod2009-08-111-1/+1
| | | | Bug 562100 – docs check fails
* Update doc templatesBehdad Esfahbod2009-08-042-10/+1
|
* [docs] Add index of symbols new in 1.24 and 1.26Behdad Esfahbod2009-07-221-0/+6
|
* Bug 410169 – gravity problem with Common charsBehdad Esfahbod2009-07-222-0/+13
| | | | | | | | | | Only show wide chars (as in g_unichar_iswide()) upright. This improves rendering of 1) digits in CJK context, and 2) Narrow Hangul characters. New public API: pango_gravity_get_for_script_and_width()
* [docs] Fix Makefile.am to not delete .gitignore on distBehdad Esfahbod2009-04-171-1/+4
|
* [doc] Update templatesBehdad Esfahbod2009-04-171-0/+5
|
* Use git.mkBehdad Esfahbod2009-04-171-0/+2
|
* Bug 578944 – pango-1.24.1 fails its testsuiteBehdad Esfahbod2009-04-142-7/+1
| | | | Fix doc coverage.
* Bug 578935 – Syntax error (missing semicolon) in pango/pangowin32-fontmap.cBehdad Esfahbod2009-04-141-5/+0
| | | | Add missing semicolon.
* [doc] Tag markup attributes with version they were introducedPeter Clifton2009-04-072-8/+15
|
* [pangofc] Add a "fontmap" property to PangoFcFontBehdad Esfahbod2009-03-133-0/+16
| | | | | | | | | | | Gecko uses its own PangoFcFontMap subclass with its own PangoFontSet. Previously we were setting font->fontmap in our own private PangoFcFontSet. Now it's up to the PangoFcFont subclass to set it when creating the new font object. Also adds the following backend-public symbol: pango_fc_font_map_find_decoder()
* Update doc templatesBehdad Esfahbod2009-01-281-23/+23
| | | | svn path=/trunk/; revision=2810
* Bug 567165 – Apply all pattern matricesBehdad Esfahbod2009-01-282-5/+72
| | | | | | | | | | | | | | 2009-01-09 Behdad Esfahbod <behdad@gnome.org> Bug 567165 – Apply all pattern matrices * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): * pango/pangofc-fontmap.c (pango_fc_font_map_new_font): Apply all FC_MATRIX values, not just the first one. Fixes synthetic italic rotated text with ft2 and xft backends. Can't believe no one ever noticed that they are broken... svn path=/trunk/; revision=2808
* Autogenerage pango.types. Remove it from repository, but dist it.Behdad Esfahbod2009-01-282-37/+14
| | | | | | | | | | 2009-01-09 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am: * docs/pango.types: Autogenerage pango.types. Remove it from repository, but dist it. svn path=/trunk/; revision=2805
* Change PangoFc font loading API such that PangoContext is not passed down.Behdad Esfahbod2009-01-283-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-09 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/text-attributes.sgml: * pango/pangocairo-fc.h: * pango/pangocairo-fcfont.c (get_font_size), (get_gravity_class), (get_gravity), (_pango_cairo_fc_font_new): * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_font_key_substitute), (pango_cairo_fc_font_map_create_font), (pango_cairo_fc_font_map_class_init): * pango/pangofc-font.c (_pango_fc_font_get_font_key), (_pango_fc_font_set_font_key): * pango/pangofc-fontmap.c (pango_fc_font_key_equal), (pango_fc_font_key_hash), (pango_fc_font_key_free), (pango_fc_font_key_copy), (get_context_matrix), (pango_fc_font_key_init), (pango_fc_font_key_get_pattern), (pango_fc_font_key_get_matrix), (pango_fc_font_key_get_context_key), (pango_fc_font_map_init), (pango_fc_font_map_class_init), (pango_fc_font_map_add), (_pango_fc_font_map_remove), (pango_fc_make_pattern), (pango_fc_font_map_new_font), (pango_fc_default_substitute), (pango_fc_font_map_get_patterns), (pango_fc_font_map_load_fontset): * pango/pangofc-fontmap.h: * pango/pangofc-private.h: Change PangoFc font loading API such that PangoContext is not passed down. We use a new opaque struct called PangoFcFontKey. This struct is in fact our font hash key. This avoids problems where previously we were using context members that were not necessarily considered by the pangofc layer when caching. This is in preparation for lazy loading of fonts in the pangofc fontmap. svn path=/trunk/; revision=2804
* Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING andBehdad Esfahbod2009-01-072-0/+21
| | | | | | | | | | | | | | | | | | 2009-01-07 Behdad Esfahbod <behdad@gnome.org> Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and PANGO_ATTRIBUTE_INDEX_TO_TEXT_END * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c (pango_attribute_init): * pango/pango-attributes.h: Add two new public macros: PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING PANGO_ATTRIBUTE_INDEX_TO_TEXT_END svn path=/trunk/; revision=2793
* Bug 328206 – Update/remove some old filesBehdad Esfahbod2009-01-062-55/+1
| | | | | | | | | | | | 2009-01-06 Behdad Esfahbod <behdad@gnome.org> Bug 328206 – Update/remove some old files * docs/Makefile.am: * docs/TEXT/glossary: Remove some old files. svn path=/trunk/; revision=2791
* Bug 166709 – Handle font variants more consistentlyBehdad Esfahbod2009-01-061-2/+6
| | | | | | | | | | | | | | | | 2009-01-06 Behdad Esfahbod <behdad@gnome.org> Bug 166709 – Handle font variants more consistently * pango/pango-font.h: Add enum values PANGO_WEIGHT_BOOK and PANGO_WEIGHT_ULTRAHEAVY. * pango/fonts.c: * docs/tmpl/fonts.sgml: Add new weights with their aliases, as well as aliasing "Roman" to the normal weight. svn path=/trunk/; revision=2787
* Bug 512662 – Update check.docs for pango-undeclared.txtBehdad Esfahbod2009-01-032-16/+25
| | | | | | | | | | | | 2009-01-02 Behdad Esfahbod <behdad@gnome.org> Bug 512662 – Update check.docs for pango-undeclared.txt * docs/Makefile.am: * docs/check.docs: Sync to the version in cairo. svn path=/trunk/; revision=2778
* Bug 563898 – Generated output is not deterministicBehdad Esfahbod2008-12-142-4/+4
| | | | | | | | | | | | 2008-12-14 Behdad Esfahbod <behdad@gnome.org> Bug 563898 – Generated output is not deterministic * docs/pango-querymodules.xml: * docs/pango_markup.sgml: Add section ids, such that generated HTML is deterministic. svn path=/trunk/; revision=2757
* Bug 563557 – set g_get_prgname() in fc patternBehdad Esfahbod2008-12-082-0/+8
| | | | | | | | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> Bug 563557 – set g_get_prgname() in fc pattern * docs/pango-sections.txt: * pango/pangofc-fontmap.c (pango_fc_make_pattern): * pango/pangofc-fontmap.h: Add PANGO_FC_PRGNAME which is the fontconfig element "pangoprgname". Populate it on all our fontconfig search patterns using g_get_prgname(). See bug for sample use. svn path=/trunk/; revision=2751
* Bug 563356 – The input area of firefox and the blank width after text inBehdad Esfahbod2008-12-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | 2008-12-05 Behdad Esfahbod <behdad@gnome.org> Bug 563356 – The input area of firefox and the blank width after text in gnome-menu was stretched too wide, under pango-1.22.3 * docs/tmpl/fonts.sgml: * pango/pango-impl-utils.h: * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_create_metrics_for_context): * pango/pangocairo-win32font.c (pango_cairo_win32_font_create_metrics_for_context): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): For approximate_char_width calculation take each char's width into account. That is, do a weighted average instead of uniform average. g_unichar_iszerowidth() chars count as 0, g_unichar_iswide() chars count 2, and the rest count as 1. Pretty much wcwidth() behavior. See bug report for rationale. svn path=/trunk/; revision=2747
* Fix docsBehdad Esfahbod2008-08-201-2/+2
| | | | svn path=/trunk/; revision=2697
* Bug 473806 – Improve pango_language_get_sample_string()Behdad Esfahbod2008-08-201-1/+2
| | | | | | | | | | | | | | | 2008-08-19 Behdad Esfahbod <behdad@gnome.org> Bug 473806 – Improve pango_language_get_sample_string() * docs/Makefile.am: * pango/Makefile.am: * pango/pango-language-sample-table.h: * pango/pango-language.c (pango_language_get_sample_string): Add language sample texts that are actually usable. Compiled from a variety of sources. See pango-language-sample-table.h. svn path=/trunk/; revision=2695
* Bug 473805 – Add API enumerating scripts for a languageBehdad Esfahbod2008-08-205-90/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-18 Behdad Esfahbod <behdad@gnome.org> Bug 473805 – Add API enumerating scripts for a language * docs/Makefile.am: * docs/pango-sections.txt: * docs/tmpl/scripts.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/utils.sgml: * pango/pango-language.c (pango_language_get_scripts), (pango_language_includes_script), (pango_script_get_sample_language): * pango/pango-language.h: * pango/pango-script.c: * pango/pango.def: Add a minor new public API: pango_language_get_scripts() This is what pango_language_includes_script() has been using internally. Previously one had to call that function over all possible script values to determine which scripts a language uses. The new API makes that much easier. svn path=/trunk/; revision=2693
* Implement draw_glyph_item using cairo_show_text_glyphs().Behdad Esfahbod2008-08-065-29/+28
| | | | | | | | | | | | | | 2008-08-06 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (pango_cairo_renderer_show_text_glyphs), (pango_cairo_renderer_draw_glyphs), (pango_cairo_renderer_draw_glyph_item): Implement draw_glyph_item using cairo_show_text_glyphs(). * configure.in: Require cairo >= 1.7.1 svn path=/trunk/; revision=2685
* Bug 377948 – Make pango_glyph_item_iter publicBehdad Esfahbod2008-08-062-4/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-06 Behdad Esfahbod <behdad@gnome.org> Bug 377948 – Make pango_glyph_item_iter public * pango/pango-glyph-item.c (pango_glyph_item_iter_copy), (pango_glyph_item_iter_free), (pango_glyph_item_iter_get_type), (pango_glyph_item_iter_next_cluster), (pango_glyph_item_iter_prev_cluster), (pango_glyph_item_iter_init_start), (pango_glyph_item_iter_init_end), (pango_glyph_item_apply_attrs), (pango_glyph_item_letter_space): * pango/pango-glyph-item.h: New public API, for iterating a PangoGlyphItem: PangoGlyphItemIter PANGO_TYPE_GLYPH_ITEM_ITER pango_glyph_item_iter_copy() pango_glyph_item_iter_free() pango_glyph_item_iter_init_start() pango_glyph_item_iter_init_end() pango_glyph_item_iter_next_cluster() pango_glyph_item_iter_prev_cluster() * pango/pango.def: * docs/tmpl/glyphs.sgml: * docs/pango-sections.txt: * pango/Makefile.am: * pango/ellipsize.c (line_iter_next_cluster), (line_iter_prev_cluster), (find_initial_span): * pango/pango-layout.c (justify_words): Update. * pango/pango-glyph-item-private.h: Remove. svn path=/trunk/; revision=2679
* Make the following API public:Behdad Esfahbod2008-08-062-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-05 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c: * pango/pango-context.h: Make the following API public: pango_context_new() pango_context_set_font_map() * pango/pango-fontmap.c (pango_font_map_create_context): * pango/pango-fontmap.h: New public API: pango_font_map_create_context() * pango/pangocairo-context.c (pango_cairo_create_context): * pango/pangocairo-font.c (_pango_cairo_font_get_metrics), (_pango_cairo_font_private_get_hex_box_info): * pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context): * pango/pangocairo.h: Deprecate pango_cairo_font_map_create_context(). * pango/pangofc-font.c (pango_fc_font_get_metrics): * pango/pangofc-fontmap.c (pango_fc_font_map_create_context): * pango/pangofc-fontmap.h: Deprecate pango_fc_font_map_create_context(). * pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context), (pango_ft2_get_context): * pango/pangoft2.h: Deprecate pango_ft2_font_map_create_context(). * pango/pangowin32.c (pango_win32_get_context), (pango_win32_font_get_metrics): * pango/pangowin32.h: Deprecate pango_win32_get_context(). * pango/pangoxft-font.c (_pango_xft_font_get_mini_font): * pango/pangoxft-fontmap.c (pango_xft_get_context): * pango/pangoxft.h: Deprecate pango_xft_get_context(). * pango/pangox-fontmap.c (pango_x_font_map_for_display): * pango/pangox.c (get_context_info), (pango_x_get_context), (pango_x_context_set_funcs), (pango_x_render_layout_line): Deprecate pango_x_get_context(), again. * docs/pango-sections.txt: * docs/tmpl/fonts.sgml: * pango-view/viewer-pangocairo.c (pangocairo_view_get_context): * pango-view/viewer-pangoft2.c (pangoft2_view_get_context): * pango-view/viewer-pangox.c (pangox_view_get_context): * pango-view/viewer-pangoxft.c (pangoxft_view_get_context): * pango/check.defs: * pango/pango.def: Update. svn path=/trunk/; revision=2675
* New public API:Behdad Esfahbod2008-08-063-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-30 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/pango-renderer.sgml: * pango/pango-renderer.c: * pango/pango-renderer.h: New public API: PangoRenderer::draw_glyph_item() pango_renderer_draw_glyph_item() Make layout and layout-line default renderers go through draw_glyph_item(), which then by default falls back to draw_glyphs(). The advantage in draw_glyph_item() is that it has access to the text and cluster information. * pango/pangocairo.h: * pango/pangocairo-render.c: New public API: pango_cairo_show_glyph_item() svn path=/trunk/; revision=2674
* Fix doc build warning.Behdad Esfahbod2008-08-061-3/+3
| | | | | | | | 2008-07-30 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/text-attributes.sgml: Fix doc build warning. svn path=/trunk/; revision=2673
* Bug 537258 – Add a pango_language_to_string() functionBehdad Esfahbod2008-06-091-1/+1
| | | | | | | | | | | | | | | | | 2008-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 537258 – Add a pango_language_to_string() function * docs/tmpl/text-attributes.sgml: * pango/pango-language.c (pango_language_to_string): * pango/pango-language.h: * pango/pango.def: Add a function implementation of pango_language_to_string(). The macro is still available. To be removed in a cycle or two from now. (bug #537466) svn path=/trunk/; revision=2651
* Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>Behdad Esfahbod2008-04-301-3/+2
| | | | | | | | | | | 2008-04-30 Behdad Esfahbod <behdad@gnome.org> Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...> * docs/tmpl/main.sgml: Make it build. svn path=/trunk/; revision=2622
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29Behdad Esfahbod2008-04-251-0/+13
| | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 * docs/tmpl/main.sgml: * pango/break.c (pango_default_break): * pango/pango-break.h: * tests/testboundaries_ucd.c (main): Add new PangoLogAttr member is_word_boundary, that implements UAX#29's Word Boundaries semantics. Test fully passes for it. svn path=/trunk/; revision=2618
* Group bidi stuff together. Add a section in the docs for them.Behdad Esfahbod2008-04-225-101/+126
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/bidi.sgml: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction), (pango_get_mirror_char): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c: Group bidi stuff together. Add a section in the docs for them. svn path=/trunk/; revision=2608
* Bug 515432 – Add function to get bidirectional character type of aBehdad Esfahbod2008-04-214-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 515432 – Add function to get bidirectional character type of a unicode character Patch from Jürg Billeter * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pangocairo.sgml: * pango/Makefile.am: * pango/pango-bidi-type.c (pango_bidi_type_for_unichar): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction): * pango/pango.def: * pango/pango.h: New public API: enum PangoBidiType; pango_bidi_type_get_type() pango_bidi_type_for_unichar() svn path=/trunk/; revision=2607
* Bug 517119 – Add pango_cairo_create_context()Behdad Esfahbod2008-04-211-0/+1
| | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 517119 – Add pango_cairo_create_context() * docs/pango-sections.txt: * pango/pangocairo-context.c (pango_cairo_create_context), (pango_cairo_create_layout): * pango/pangocairo.def: * pango/pangocairo.h: New public API: pango_cairo_create_context() svn path=/trunk/; revision=2606
* Bug 404416 – pango_layout_get_baseline or somethingBehdad Esfahbod2008-04-211-0/+1
| | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 404416 – pango_layout_get_baseline or something * docs/pango-sections.txt: * pango/pango-layout.c (pango_layout_get_baseline): * pango/pango-layout.h: * pango/pango.def: New public API: pango_layout_get_baseline() svn path=/trunk/; revision=2605
* Bug 490669 – add some <span> attribute aliasesBehdad Esfahbod2008-04-211-18/+31
| | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 490669 – add some <span> attribute aliases * docs/pango_markup.sgml: * pango/pango-markup.c (span_parse_func): Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ... svn path=/trunk/; revision=2603
* Bug 514617 – Add pango_cairo_font_map_set_default()Behdad Esfahbod2008-04-212-0/+9
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 514617 – Add pango_cairo_font_map_set_default() * docs/pango-sections.txt: * docs/tmpl/pangocairo.sgml: * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default), (pango_cairo_font_map_set_default): * pango/pangocairo.def: * pango/pangocairo.h: New public API: pango_cairo_font_map_set_default() svn path=/trunk/; revision=2600
* Add index of new API in 1.22.Behdad Esfahbod2008-04-211-0/+3
| | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango-docs.sgml: Add index of new API in 1.22. svn path=/trunk/; revision=2599
* Bug 511183 – Add pango_attr_type_get_name()Behdad Esfahbod2008-04-212-0/+10
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 511183 – Add pango_attr_type_get_name() * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c (pango_attr_type_register), (pango_attr_type_get_name): * pango/pango-attributes.h: * pango/pango.def: New public API: pango_attr_type_get_name() svn path=/trunk/; revision=2598
* Minor.Behdad Esfahbod2008-04-081-4/+0
| | | | svn path=/trunk/; revision=2588
* Bug 491553 – Update to Unicode 5.1.0Behdad Esfahbod2008-04-081-13/+28
| | | | | | | | | | | | | | | | | | 2008-04-08 Behdad Esfahbod <behdad@gnome.org> Bug 491553 – Update to Unicode 5.1.0 * docs/tmpl/scripts.sgml: * pango/mini-fribidi/README: * pango/mini-fribidi/fribidi_tab_char_type_2.i: * pango/pango-script-lang-table.h: * pango/pango-script.h: Update to Unicode Character Databse 5.1.0. This adds new entries to the PangoScript enum. Requires glib >= 2.16.3 for the update Unicode data there, but not bumping the requirement in a stable point release. svn path=/trunk/; revision=2587
* MinorBehdad Esfahbod2008-01-281-10/+14
| | | | svn path=/trunk/; revision=2558
* Bug 508002 – change pango_layout_pixel_extents() to round logical rectBehdad Esfahbod2008-01-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-21 Behdad Esfahbod <behdad@gnome.org> Bug 508002 – change pango_layout_pixel_extents() to round logical rect to be inclusive * pango/pango-layout.c (pango_layout_get_pixel_extents), (pango_layout_line_get_pixel_extents): Round extents to pixels inclusively. That is, pass both ink_rect and logical_rect as first argument to pango_extents_to_pixels(). * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle): Fix rounding. * pango/pango-types.h: * docs/tmpl/glyphs.sgml: * pango/pango-utils.c (pango_extents_to_pixels): Rename pango_extents_to_pixels() function arguments from @ink_rect and @logical_rect to @inclusive and @nearest. Given that this API is a fairly new addition and not commonly used, language bindings are encouraged to update their argument names accordingly. Moreover, they are encouraged to wrap this function as two different calls: extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or similar conventions that best reflect their native language. svn path=/trunk/; revision=2548
* Bug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnitBehdad Esfahbod2008-01-152-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-14 Behdad Esfahbod <behdad@gnome.org> Bug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnit confusion * pango/pango-layout.h: * pango/pango-layout-private.h: * pango/pango-layout.c: * pango/ellipsize.c (_pango_layout_line_ellipsize): New public API: pango_layout_set_height() See docs for semantics. Currently only negative height values (number of lines) is implemented. * pango-view/viewer-render.c (make_layout), (output_body), (parse_options): Implement --height. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/layout.sgml: Update. 2008-01-14 Behdad Esfahbod <behdad@gnome.org> Bug 508179 – PangoGlyphUnit confusion * pango/pangowin32.c: * pango/glyphstring.c: * pango/pango-layout.c (process_item): Remove all traces of #PangoGlyphUnit svn path=/trunk/; revision=2542