summaryrefslogtreecommitdiff
path: root/docs/pango-docs.sgml
Commit message (Collapse)AuthorAgeFilesLines
* Fix up api index sectionsBehdad Esfahbod2015-05-051-6/+2
|
* Bug 602257 - Make pango_matrix_get_font_scale_factors() publicBehdad Esfahbod2015-04-301-1/+9
|
* [modules] Kill pango-querymodulesKhaled Hosny2015-04-041-5/+0
| | | | It serves no purpose now.
* Doc fixupsBehdad Esfahbod2013-09-271-0/+12
|
* Bug 685167 - migrate docs to no-tmpl flavourBehdad Esfahbod2013-09-271-4/+0
| | | | Patch from Rafał Mużyło.
* Add PANGO_GRAVITY_IS_IMPROPERBehdad Esfahbod2012-08-231-0/+4
|
* Fix the doc buildMatthias Clasen2012-08-201-1/+0
| | | | No more atsui docs either !
* More pangox resigual removalBehdad Esfahbod2012-08-181-1/+0
|
* Include corefont docsMatthias Clasen2011-11-221-0/+1
|
* pango-docs.sgml: Add xml index pages to avoid warningsJavier Jardon2011-06-231-18/+37
|
* docs: modernize docsStefan Kost2011-06-201-64/+37
| | | | | Get rid of entities and use xi:includes instead. This makes the docs build faster and makes it easier to conditionally include stuff.
* Add an index for 1.30 api additionsMatthias Clasen2011-05-161-1/+4
| | | | Turns out the index for 1.28 additions was mislabeled, too.
* Bug 610791 - checks fail for unused documented symbolsBehdad Esfahbod2010-02-231-0/+3
| | | | Hookup new symbol.
* [docs] Add index of symbols new in 1.24 and 1.26Behdad Esfahbod2009-07-221-0/+6
|
* Group bidi stuff together. Add a section in the docs for them.Behdad Esfahbod2008-04-221-0/+2
| | | | | | | | | | | | | | | | | | | 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
* 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 469641 – Initialize attribute start/end to [0..MAXUINT]Behdad Esfahbod2007-10-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 469641 – Initialize attribute start/end to [0..MAXUINT] * pango/pango-attributes.h: * pango/pango-attributes.c: New public API: pango_attribute_init() * pango/pango-attributes.c: (pango_attr_string_new), (pango_attr_language_new), (pango_attr_color_new), (pango_attr_int_new), (pango_attr_float_new), (pango_attr_size_new_internal), (pango_attr_font_desc_new), (pango_attr_shape_new_with_data): Initialize attributes using pango_attribute_init(). * pango/pango.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: Update. svn path=/trunk/; revision=2458
* Part of Bug 325714 – Pango should respect $LANGUAGEBehdad Esfahbod2007-05-141-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 325714 – Pango should respect $LANGUAGE * pango/pango-ot.h: * pango/pango-ot-private.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_from_language): * pango/pango-ot-info.c (pango_ot_info_find_script), (pango_ot_info_find_language), (pango_ot_info_find_feature), (pango_ot_info_list_languages), (pango_ot_info_list_features): * pango/pango-ot-ruleset.c (pango_ot_ruleset_new), (pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature), (pango_ot_ruleset_maybe_add_feature), (pango_ot_ruleset_maybe_add_features): Add new engine API: PANGO_OT_NO_FEATURE PANGO_OT_NO_SCRIPT PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_DEFAULT_LANGUAGE pango_ot_ruleset_new_for() pango_ot_ruleset_maybe_add_feature() pango_ot_ruleset_maybe_add_features() Using pango_ot_ruleset_new_for() and pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset building in modules, and does correct script and language selection too. Modules need to be updated to use it though. * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/opentype.sgml: Update. svn path=/trunk/; revision=2284
* New public API:Behdad Esfahbod2007-05-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-10 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: * pango/pango-ot.h: * pango/pango-ot-tag.c (pango_ot_tag_from_script), (pango_ot_tag_to_script), (lang_compare_first_component), (pango_ot_tag_from_language), (pango_ot_tag_to_language): New public API: PANGO_OT_DEFAULT_SCRIPT pango_ot_tag_from_script() pango_ot_tag_to_script() pango_ot_tag_from_language() pango_ot_tag_to_language() * tests/Makefile.am: * tests/test-ot-tags.c: Test case for new functions. * pango/pangoft2.def: * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/main.sgml: * docs/tmpl/opentype.sgml: Updated. svn path=/trunk/; revision=2274
* Xrefs for glib and cairo in the docs. Add object hierarchy to the docs.Stefan Kost2007-02-201-0/+5
| | | | | | | | * configure.in: * docs/Makefile.am: * docs/pango-docs.sgml: svn path=/trunk/; revision=2201
* Bug 323173 – Add layout of mixed direction text for vertical layoutBehdad Esfahbod2007-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-15 Behdad Esfahbod <behdad@gnome.org> Bug 323173 – Add layout of mixed direction text for vertical layout * pango/pango-gravity.h: * pango/pango-gravity.c: Moved gravity stuff here. New public API: PangoGravityHint pango_gravity_get_for_matrix() pango_gravity_get_for_script() * pango/pango-context.h: * pango/pango-context.c (pango_context_init), (update_resolved_gravity), (itemize_state_update_for_new_run): Support gravity hint. New public API: pango_context_set_gravity_hint() pango_context_get_gravity_hint() * pango/pango-utils.c: * pango/pango-matrix.c: * pango/pango-matrix.h: * pango/pango-types.h: Moved gravity and matrix stuff into its own header. pango-types.h includes both pango-matrix.h and pango-gravity.h * pango/pango.h: Include new headers. * pango/pango.def: * pango/Makefile.am: Update. * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: Add a section for Vertical Text. * examples/renderdemo.c (do_output), (parse_gravity_hint), (parse_options): Support gravity hint. * examples/test-mixed.txt: New test, mixed Latin, Arabic, Chinese text. svn path=/trunk/; revision=2144
* New generated public header file pango-features.h. Currently contains theBehdad Esfahbod2006-12-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-06 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/Makefile.am: New generated public header file pango-features.h. Currently contains the version information. In the future, can be expanded to define which backends have been enabled, etc. * pango/pango.def: * pango/pango-utils.h: * pango/pango-utils.c: New public macros and functions: PANGO_VERSION_ENCODE(), PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR, PANGO_VERSION_MICRO, PANGO_VERSION, PANGO_VERSION_STRING, PANGO_VERSION_CHECK(), pango_version(), pango_version_string(), pango_version_check(). * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/pango-version.sgml: Docs for new symbols, in a new section. * examples/renderdemo.c (show_version): If run-time Pango lib version is different than the compile-time one, show that one too. * pango/pango.h: #include <pango-utils.h> as well as almost all other public pango-*.h headers (though, the other ones were already included indirectly). The only public pango-*.h header pango.h shouldn't include are pango-ot.h (which is really misnamed) and pango-modules.h (that should not be needed by 99.99% users anyway). * docs/Makefile.am: * docs/check.docs: Test to check that all symbols are documented and properly hooked into documentation tree. * pango/pango.rc.in: * pango/pangoft2.rc.in: * pango/pangowin32.rc.in: Update, reflecting some internal symbol changes. * pango/check.defs: Improve.
* Bug 359043 – PangoRenderer does not show in API docsBehdad Esfahbod2006-10-021-0/+2
| | | | | | | | 2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 359043 – PangoRenderer does not show in API docs * docs/pango-docs.sgml: Hook PangoRenderer docs.
* Bug 345274 – list of new symbols for each version is missing in docsBehdad Esfahbod2006-07-091-0/+24
| | | | | | | | | | 2006-07-08 Behdad Esfahbod <behdad@gnome.org> Bug 345274 – list of new symbols for each version is missing in docs Patch from Priit Laes * docs/pango-docs.sgml: Generate index of deprecated, and new symbols per version.
* Hook up pango-utils.h into the documentation, as we are installing itBehdad Esfahbod2006-03-311-0/+2
| | | | | | | | 2006-03-30 Behdad Esfahbod <behdad@gnome.org> Hook up pango-utils.h into the documentation, as we are installing it anyway. Move some internal stuff to pango-impl-utils.h and make source files include that instead.
* Finish ATSUI module work. Bug #322022, Matthias Clasen.Behdad Esfahbod2006-01-211-0/+2
| | | | | | | | | | | | | | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> Finish ATSUI module work. Bug #322022, Matthias Clasen. * docs/tmpl/atsui-fonts.sgml: Added. * docs/pango-docs.sgml: Updated to reflect above change. * docs/pango-sections.txt: Updated to reflect above change and also document Standard ATSUI symbols. * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_atsu_font_id): Add docs. * pango/pangoatsui-fontmap.c: Register included ATSUI modules.
* Add checks for CairoOwen Taylor2005-01-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jan 8 16:46:37 2005 Owen Taylor <otaylor@redhat.com> * configure.in: Add checks for Cairo * pango/Makefile.am: Add libpangocairo. * pango/pangocairo-font.c pango/pangocairo-fontmap.c pango/pangocairo.h pango/pangocairo-private.h pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c pango/pangocairo-fc.h: Start of a Cairo/FreeType backend. * pango/pangofc-fontmap.[ch]: Add a "get_render_key" virtual function to allow subclasses to specialize the details of how caching works. Add a default implementation that's a little more sophisticated than what was there before. * pango/pangoft2-private.h pangofc-font.c pangoft2.c: Move default implementations of has_char(), get_glyph() to the base class. * pango/pangofc-private.h pango/pangoft2-private.h: Move PANGO_UNITS_26_6 and friends to pango/pangofc-private.h. * examples/renderdemo.[ch] examples/pangoft2topgm.c examples/xftview.c: Allow passing in a custom function to transform drawing. * examples/Makefile.am examples/cairoview.c: Add a Cairo/Xlib example program. * examples/cairosimple.c: Simple Cairo example with output to a PNG. * pango/pango-layout.c (pango_layout_line_get_extents): Fix bug where line ink rect was always including 0, 0.
* Remove color_set() virtual function ... it's not absolutely necessary forOwen Taylor2004-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 19 17:44:33 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-renderer.[ch]: Remove color_set() virtual function ... it's not absolutely necessary for chaining renderers, and it's not clear that chaining renderers is actually useful, anyways. * pango/pango-renderer.[ch] (pango_renderer_set_color): Constify color argument. * pango/pango-render.c: Fix various bugs. * pango/pango-attributes.[ch] (pango_attr_shape_new_with_data): Add the ability to create a shape attribute with user data. * pango/pango-renderer.[ch] (PangoRendererClass): Add a draw_shape virtual function, to draw content for PangoAttrShape. * pango/pangoxft-fontmap.c (pango_xft_shutdown_display): Add note to docs that XCloseDisplay() will automatically take care of releasing Pango's allocated resources for the display. * docs/Makefile.am (SCAN_OPTIONS): Add the appropriate --deprecated-guards option. * docs/tmpl/xft-fonts.sgml: Add long description. * docs/tmpl/x-fonts.sgml: Document as dead.
* Add new letter_spacing attribute.Owen Taylor2004-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jun 23 11:17:51 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch]: Add new letter_spacing attribute. * pango/pango-attributes.c (pango_attr_rise_new): Correct description; rise is in Pango units, not em-relative. * pango/pango-glyph-item.c: Break out iteration-over-clusters from ApplyAttrsState into a separate GlyphItemIter. * pango/pango-glyph-item.[ch]: New function pango_glyph_item_letter_space() to add add letter spacing to a single glyph item. * pango/pango-markup.c: Add a letter_spacing attribute. * pango/pango-layout.c: Use G_DEFINE_TYPE(). * pango/pango-layout.c (pango_layout_get_item_properties): Switch to use a structure rather than a pile of out parameters. * pango/pango-layout.c (pango_run_get_extents): Remove the unused shape_set out parameter. * pango/pangofc-decoder.[ch] pango/pangofc-fontmap.[ch]: Doc fixes. * pango/pango-types.h: Deprecate pango_get_mirror_char() * pango/pango-utils.c (pango_get_mirror_char): Add docs. * docs/pango-sections.txt docs/pango-docs.sgml: Add PangoFcDecoder and letter spacing.
* Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-basedOwen Taylor2003-08-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c pango/modules.c pango/break.c pango/pango-context.c pango/pango-layout.c pango/pango-modules.h pango/querymodules.c pango/shape.c: Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-based module-loading system closely based on the one used for GtkIMContext and GtkThemeEngine. * pango/pango-impl-utils.h: OK, I'm tired of typing in get_type() functions. * pango/pango-script.[ch] pango/pango-script-table.h tests/testscript.c tools/gen-script-table.pl: Add port of script-range code from ICU in preparation for future use. (#91542) * tools/gen-script-for-lang.c: Utility program to determine the script for each fontconfig .orth file. * docs/tmpl/{scripts.sgml,pango-engine-lang.sgml, pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml: Redo to go along with the above changes. * configure.in: chmod +x tests/runtests.sh
* Make pangoxft depend on pangoft2.Owen Taylor2003-08-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make pangoxft depend on pangoft2. * pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI into a real base class. * pango/pangofc-font.[ch]: Move some of the pangoxft/ pangoft2 implementation here. * pango/pangoft2.c pango/pangoft2-fontmap.c pango/pangoft2-private.h pango/pangoxft-font.c pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt to the new scheme * modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build separate FT2 and Xft shapers, just build one Fc shaper. * docs/pango-sections.txt docs/pango-docs.sgml docs/tmpl/pangofc-font{,map}.sgml: Basic docs for the new stuff. * configure.in: Up pango_module_version to 1.4.0.
* Add rule to regenerate man pages from Docbook. (man_MANS): AddMatthias Clasen2003-06-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | 2003-06-17 Matthias Clasen <maclas@gmx.de> * docs/Makefile.am: Add rule to regenerate man pages from Docbook. (man_MANS): Add pango-querymodules.1. (content_files): Add pangoe-querymodules.xml. * docs/pango-querymodules.xml: New refentry. * docs/pango-querymodules.1: Man page generated from the .xml source. * docs/pango-docs.sgml: Include pango-querymodules.xml. * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New macros to check for XML catalog contents and path, borrowed from gtk-doc. * configure.in: New option --enable-man to enable regeneration of man pages from Docbook, if the necessary tools are found.
* Add an autogenerated index.Matthias Clasen2003-06-161-0/+3
| | | | | | 2003-06-17 Matthias Clasen <mc2@YAST_ASK> * docs/pango-docs.sgml: Add an autogenerated index.
* Cosmetic changes to short descriptions.Matthias Clasen2002-12-111-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | * docs/tmpl/text-attributes.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/engines.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pango-indic.sgml: * docs/tmpl/coverage-maps.sgml: * docs/tmpl/fonts.sgml: * docs/pango_markup.sgml: Cosmetic changes to short descriptions. * docs/tmpl/tab-stops.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/xft-fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/win32-fonts.sgml: Add short descriptions. * docs/pango-docs.sgml: Move "OpenType Font Handling" to "Low Level Functionality". * docs/pango-sections.txt: Combine the "X Fonts" and "X Rendering" sections.
* Add version information.Matthias Clasen2002-11-231-0/+2
|
* Typo fix.Matthias Clasen2002-06-031-3/+0
| | | | | | | | | * pango/fonts.c (pango_font_description_better_match): Typo fix. * pango/pango-color.c (pango_color_parse): * docs/pango-docs.sgml: Replace homegrown "nbsp", "hash" and "mdash" entities by standard ISO entities "nbsp", "num" and "mdash".
* Produce XML, not SGML.Matthias Clasen2002-05-271-18/+23
| | | | | | | | | * docs/*: Produce XML, not SGML. * pango/fonts.c (pango_font_family_list_faces): Docs typo fix. * pango/pango-color.c (pango_color_parse): Fix markup to reduce spurious <link>s.
* Updates for new functions.Owen Taylor2001-01-251-1/+5
| | | | | | | Thu Jan 25 14:47:17 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-sections.txt pango/pango-docs.sgml pango/tmpl/*: Updates for new functions.
* Remove fribidi include.Owen Taylor2000-11-131-20/+34
| | | | | | | | | | | | | | | | | | | | | | | | Mon Nov 13 09:17:34 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox.c: Remove fribidi include. * pango.pc.in (Requires): Substitute fribidi reference only when necessary * Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig * modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h * fonts/Makefile.am (EXTRA_DIST): Remove devnag* * configure.in: Up version to 0.13 * docs/pango-docs.sgml: Reorganize, add all new chapters. * docs/pango-sections.txt: Update * docs/Makefile.am (IGNORE_HFILES): add mini-fribidi pango-intset.h
* Add a new attribute for scaling a font; also required addingHavoc Pennington2000-11-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-01 Havoc Pennington <hp@pobox.com> * pango/pango-attributes.c (pango_attr_scale_new): Add a new attribute for scaling a font; also required adding PangoAttrFloat. (pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling. * pango/pango-utils.c (pango_parse_stretch): Take a plain string not a GString (pango_parse_weight): ditto (pango_parse_variant): ditto (pango_parse_style): ditto * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass GString::str instead of the GString itself to pango_parse_* * pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto * pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file): ditto * pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize() signature (pango_layout_check_lines): Raise attr list copy/creation out of the loop over paragraphs. Adapt to pango_itemize() changes. * pango/pango-context.c (pango_itemize): pass in a starting index and a cached iterator (add_engines): Easy optimization, pass in n_chars instead of recomputing it. Also, pass on the start index and cached iterator. * docs/pango-sections.txt: Add new stuff docs/pango_markup.sgml: Docs on markup format * pango/pango-layout.c (pango_layout_get_attributes): New function to retrieve the AttrList from a layout (pango_layout_set_markup): Set layout from markup (pango_layout_set_markup_with_accel): Set layout from markup including accelerator parsing. * pango/pango-attributes.h (pango_parse_markup): New function to convert a tag string to an attribute list * pango/pango-markup.c (pango_parse_markup): implement * docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt, docs/pango_markup.sgml: oooooh, documentation for the above patch! * docs/tmpl/pango-unused.sgml: Remove from CVS; just causes problems, and was full of checked-in conflict markers.
* Fix up doc comments not to have obvious errors that gtk-doc barfs on.Owen Taylor2000-10-291-1/+1
| | | | | | | | | | | | | | | Sun Oct 29 01:27:39 2000 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontcache.c pango/pangoft2.[ch] pango/pangowin32.h: Fix up doc comments not to have obvious errors that gtk-doc barfs on. Correct parameter descriptions still need to be filled in. * configure.in pango/docs/Makefile.am: upgrade to have a real install rule, etc. * pango/docs/pango-sections.txt: Add various missing functions.
* Updates for recent API changes.Owen Taylor2000-04-251-1/+1
| | | | | | Mon Apr 24 20:28:31 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Updates for recent API changes.
* Convert log_clusters[] use from char offsets to byte offset - should makeOwen Taylor2000-03-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Mar 6 20:55:32 2000 Owen Taylor <otaylor@redhat.com> * libpango/mapping.c example/viewer.c: * modules/hangul/hangul.c modules/basic/basic.c modules/tamil/tamil.c: Convert log_clusters[] use from char offsets to byte offset - should make it easier to have all interface deal with stuff in byte offsets. * libpango/mapping.c libpango/pango-glyph.h: Rename x_to_cp and cp_to_x to make them "member functions" of glyph_string. * libpango/pango-types.h: Add a rectangle type for use in storing glyph/glyph-string extents, plus macros for extracting ascent/descent. * libpango/fonts.c libpango/pango-font.h libpango/pangox.c: Virtualize glyph extents function into the font. * libpango/pangox.c modules/*/*.c examples/viewer.c: Convert over to new rationalized unit system - everything in 1000ths of a point or 1000ths of a glyph unit. * libpango/pango-glyph.h libpango/glyphstring.c: Add function to get extents of a glyph string. (We may want to fastpath the width in the future, since getting the width seems to be a very common and time-critical operation)
* Add documentation for attributes.Owen Taylor2000-02-151-0/+2
| | | | | | | | | Tue Feb 15 02:35:56 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Add documentation for attributes. * Makefile.am libpango/pango-attributes.[ch]: Finish initial implementation of attributes APIs.
* updates.Owen Taylor2000-02-091-2/+4
| | | | | | | | | Wed Feb 9 14:04:35 2000 Owen Taylor <otaylor@redhat.com> * TODO: updates. * docs/*: Added some docs on font handling, both general and for X.
* The great header file reorganization. Split up roughtly by objects.Owen Taylor2000-02-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | Wed Feb 2 00:07:13 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-*.h: The great header file reorganization. Split up roughtly by objects. * libpango/pango-font.h libpango/fonts.h: Add generic font-loading and listing interfaces. * libpango/pangox.c: Implement font-listing/loading interfaces for X. * libpango/pango-context.[ch]: Flesh out context structure. Add appropriate accesors, font loading-methods, etc. * libpango/pango-coverage.[ch]: Coverage map objects. * examples/viewer.c: First stab at adding font-selection. Majorly deficient for the moment until we add font lists and fallbacks based on coverage maps.
* Initial revisionOwen Taylor2000-01-131-0/+25