summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.10.0 ===PANGO_1_10_0Owen Taylor2005-08-151-7/+7
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * === Released 1.10.0 === * configure.in: Version 1.10.0 * NEWS: Update
* Updated to Unicode 4.1, adding new scripts and Arabic joining data.Roozbeh Pournader2005-08-091-0/+7
| | | | | | | | | | 2005-08-08 Roozbeh Pournader <roozbeh@farsiweb.info> * docs/tmpl/scripts.sgml, modules/arabic/arabic-ot.c, pango/pango-script.c, pango/pango-script.h, pango/pango-script-table.h, tools/gen-script-table.pl: Updated to Unicode 4.1, adding new scripts and Arabic joining data. (#312884) `
* Based on patch from Gustavo J. A. M. Carneiro (#305975)Owen Taylor2005-07-223-0/+6
| | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Based on patch from Gustavo J. A. M. Carneiro (#305975) * pango/pango-layout.[ch] (pango_layout_line_ref) pango/pango-attributes.[ch] (pango_attr_list_ref): Return the argument to _ref() functions. * pango/pango-item.[ch]: Register PangoItem boxed type. * pango/pango-layout.[ch]: Register PangoLayoutLine boxed type.
* Rework handling of context-specific options: drop get_render_key() and addOwen Taylor2005-07-2124-3/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-19 Owen Taylor <otaylor@redhat.com> * pango/pango-fcfontmap.[ch]: Rework handling of context-specific options: drop get_render_key() and add a opaque "context key" (get_context_key() and friends). Also add a function to get the resolution. * pango/pango-fcfontmap.c pango/pangofc-font.h: - Move the 'lang' into the fontset key lookup and get rid of the funky list-of-hash-tables - Make lookups of fontsets and fonts dependent on the context key for the context. - Simplify the pattern/fontset caching to have one finite-size cache rather than an infinite first-level and a finite-size second level. * pango/pangocairo.h pango/pangocairo-private.h pango/pangocairo-fontmap.c: Add pango_cairo_context_get/set_resolution(), pango_cairo_context_set/get_font_options to allow controlling the resolution and font rendering options for a specific PangoContext. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap pango/pangocairo-win32font.c: Implement resolution and font options handling adapt to related Cairo changes. * docs/pango-sections.txt docs/Makefile.am pango/pangowin32.c: Doc updates and build fixes. * pango/pangofc-fontmap.c (pango_fc_make_pattern): Create patterns with FC_SIZE as well as FC_PIXEL_SIZE to work around a libgnomeprint bug. (#309477)
* Fix a stray newline (#308887, Ryan Lortie)Owen Taylor2005-06-241-2/+1
| | | | | | | 2005-06-24 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml (linkend): Fix a stray newline (#308887, Ryan Lortie)
* Add a new context_substitute() virtual function that replacesOwen Taylor2005-06-141-0/+2
| | | | | | | | | | | | | | | | 2005-05-17 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.[ch]: Add a new context_substitute() virtual function that replaces default_substitute() and adds a PangoContext argument. * pango/pangocairo.h pango/pangocairo-fontmap.c docs/pango-sections.txt: Add pango_cairo_context_set/get_hinting() to control hinting on individual contexts. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c: Implement hinting control for the for the fontconfig/cairo backend.
* Fix PANGO_DIRECTION_LTR/RTL cut-and-paste. (Tim Janik)Owen Taylor2005-03-161-1/+1
| | | | | | | 2005-03-15 Owen Taylor <otaylor@redhat.com> * docs/tmpl/main.sgml (pango_unichar_direction): Fix PANGO_DIRECTION_LTR/RTL cut-and-paste. (Tim Janik)
* PangoCairoFontMap for win32 fonts.Owen Taylor2005-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32.h pango/pangocairo-win32font.c pango/pangocairo-win32fontmap.c pango/Makefile.am: PangoCairoFontMap for win32 fonts. * pango/pangocairo-fontmap.c: Use PangoCairoWin32FontMap when available. * pango/pangowin32.h pango/pangowin32-fontmap.h pango/pangowin32.c: Add virtual pango_win32_font_select_font() to prepare a DC for use with a PangoWin32Font, and to release, pango_win32_font_scale_font() to get logical unit => Pango units scale, pango_win32_font_done_font() to release resources. * pango/pangowin32-fontmap.[ch]: Add a find_font() virtual method to allow subclasses that change how PangoFont lookup and creation happens. * pango/pangowin32-fontmap.c: Move initialization into pango_win32_font_map_init() to facilitate derivation. * pango/pangowin2.c pango/pangowin32-fontmap.c pango/pangowin32-private.h: Move PangoWin32Font/PangoWin32FontMap definitions into pangowin32-private.h to allow derivation for PangoCairoWin32Font. * modules/basic/basic-win32.c: Use pango_win32_font_select_font() and friends. * modules/basic/basic-win32.c: Use g_utf8_to_utf16 instead of g_convert for simplicity and speed. * pango/fonts.c (pango_font_get_font_map) pango/pango-font.h pango/pangofc-font.c pango/pangowin32.c pango/pango.c pango/pango.def docs/pango-sections.txt: Add a virtual function to get the fontmap for a font. * pango/pangocairo-render.c: Use pango_font_get_font_map() rather than PangoFcFontMap hack. * pango/pango-types.h: Move the declaration of PangoFontMap here to avoid interactions between pango-font.h and pango-fontmap.h. * pango/pangocairo.h: Remove accidental include of pangofc-fontmap.h.
* Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string(). AddOwen Taylor2005-02-073-2/+34
| | | | | | | | | | 2005-02-06 Owen Taylor <otaylor@redhat.com> * pango/pangocairo.h pango/pangocairo-render.c docs/pango-sections.txt: Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string(). Add pango_cairo_{glyph_string,layout_line,layout}_path() * docs/Makefile.am (INCLUDES): Add CAIRO_CFLAGS.
* Open the file with mode "wb", include cairo-png.h.Owen Taylor2005-02-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-03 Owen Taylor <otaylor@redhat.com> * examples/cairosimple.c: Open the file with mode "wb", include cairo-png.h. * examples/xftview.c examples/cairoview.c: Set WM_NORMAL_HINTS to avoid triggering a metacity bug. * examples/cairoview.c: Include cairo-xlib.h. * configure.in: Add checks for the Win32 Cairo backend. (not committing the code yet). * examples/Makefile.am pango/Makefile.am: add CAIRO_CFLAGS. * pango/pangocairo-fc.h pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c pango/pangofc-fontmap.[ch]: Rework Cairo/Fontconfig backend to use the current Cairo API. Make some PangoFcFontMap changes to enable that. * pango/pango/pangocairo-private.h pango/pangocairo-render.c: Update for cairo_font_t changes.
* Add checks for CairoOwen Taylor2005-01-0910-8/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add short and long descriptions.pango-1-8-branchpointOwen Taylor2004-12-161-2/+6
| | | | | | Thu Dec 16 14:03:32 2004 Owen Taylor <otaylor@redhat.com> * docs/tmpl/pango-renderer.sgml: Add short and long descriptions.
* Add missed fileOwen Taylor2004-12-161-0/+205
|
* Recent additionsOwen Taylor2004-12-164-0/+50
|
* Add. (#153548, Morten Welinder)Owen Taylor2004-12-131-0/+1
| | | | | | | | | | Mon Dec 13 14:44:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch] pango/pango.def docs/pango-sections.txt: Add. (#153548, Morten Welinder) * pango/pango-layout.c (pango_layout_set_font_description): Guard against the same description being set back.
* Add underline_color and strikethrough_color attribute types. (#147616,Owen Taylor2004-11-234-1/+56
| | | | | | | | | | | | | | | | | | | | | | | Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch]: Add underline_color and strikethrough_color attribute types. (#147616, Morten Welinder) * pango/pango-markup.c docs/pango_markup.sgml: Add corresponding 'underline_color' and 'strikethrough_color' attributes for <span>. * pango/pango-renderer.c (pango_renderer_default_prepare_run): Implement underline and strikethrough colors. * pango/pango-renderer.c: Fix some bigs with updating underlines/strikethrough state. * pango/pango-renderer.c (get_total_matrix): Fix a const warning. * docs/pango-sections.txt: Update
* Remove color_set() virtual function ... it's not absolutely necessary forOwen Taylor2004-11-196-9/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Document PANGO_UNDERLINE_ERROR as a 1.4 addition. (#156533, MortenMatthias Clasen2004-10-271-4/+5
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * docs/tmpl/text-attributes.sgml: Document PANGO_UNDERLINE_ERROR as a 1.4 addition. (#156533, Morten Welinder)
* Up version to 1.7.0.Owen Taylor2004-09-242-27/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Sep 24 12:59:22 2004 Owen Taylor <otaylor@redhat.com> * configure.in: Up version to 1.7.0. * pango/pango-renderer.[ch] pango/pango.h pango/Makefile.am: Add PangoRenderer, a base class that is subclassed to produce rendering drivers for different backends and purposes. * pango/pangoft2-private.h pango/pangoft2-render.c pango/pangoft2.c: Move rendering into pangoft2-render.c, use PangoRenderer. * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Add _pango_ft2_font_map_get_renderer() to retrieve a singleton fontmap for the fontmap. * pango/pangoxft-render.[ch] pango/pangoxft.c pango/Makefile.am: Make Xft rendering use PangoRenderer, add publically visible, subclassable PangoXftRenderer. * pango/pangoxft-fontmap.c pango/pangoxft-private.h: Add _pango_xft_font_map_get_renderer() to retrieve a singleton fontmap for the fontmap. * examples/xftview.c examples/Makefile.am: Add a test program using the Xft backend. * docs/*: Update minimally for PangoRenderer.
* === Released 1.6.0 ===PANGO_1_6_0Owen Taylor2004-09-141-0/+1
| | | | | | | | | | | | | | | | | Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.6.0 === * configure.in: Update versions for 1.6.0 * NEWS: Update. * README: Minor tweak. * pango/fonts.c pango/pango-context.c pango/pango-types.h pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c pango/opentype/pango-ot-buffer.c: Add a bunch of missing Since: 1.6.
* Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement. (#59071)Owen Taylor2004-07-146-0/+78
| | | | | | | | | | | | | | | | | | Wed Jul 14 17:47:38 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch] pango/ellipsize.c pango/Makefile.am: Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement. (#59071) * pango/pango-layout-private.h pango/pango-layout.c: Move PangoLayout structure into a separate header file. * pango/pango-glyph-item.[ch]: Add pango_glyph_item_free(). * pango/pango-glyph-item-private.h pango/pango-glyph-item.c: Internally export the PangoGlyphItemIter functionality. * examples/renderdemo.[ch]: Add --ellipsize option.
* Add a GType for PangoMatrix (#145532, Torsten Schoenfeld)Owen Taylor2004-07-131-0/+1
| | | | | | | | Tue Jul 13 16:23:15 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-types.h pango/pango-utils.c docs/pango-sections.txt: Add a GType for PangoMatrix (#145532, Torsten Schoenfeld)
* Add missing doc fileOwen Taylor2004-07-131-0/+52
|
* Add PANGO_TYPE_LAYOUT_ITER. (#138408, Johan Dahlin)Owen Taylor2004-06-231-0/+2
| | | | | | | Wed Jun 23 16:51:51 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch]: Add PANGO_TYPE_LAYOUT_ITER. (#138408, Johan Dahlin)
* #143693, Sayamindu DasguptaOwen Taylor2004-06-232-2/+3
| | | | | | | | | | | | | Wed Jun 23 16:13:53 2004 Owen Taylor <otaylor@redhat.com> #143693, Sayamindu Dasgupta * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h: Allow setting for whether marks should be given zero width, defaulting to FALSE. * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn on zero-width-marks setting.
* Add new letter_spacing attribute.Owen Taylor2004-06-236-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* use x-large instead of 100 in the markup example. (#142355, Doug Quale).Owen Taylor2004-06-211-2/+7
| | | | | | | | | Mon Jun 21 14:42:02 2004 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml: use x-large instead of 100 in the markup example. (#142355, Doug Quale). Fix the 'size' documentation to say 1024ths rather than 1000ths. Document using font_desc='12.5' instead.
* Missed commit: add -lm dependency to pkg-config files.Owen Taylor2004-06-214-1/+132
| | | | | | | | | | Mon Jun 21 11:47:41 2004 Owen Taylor <otaylor@redhat.com> * configure.in pango.pc.in: Missed commit: add -lm dependency to pkg-config files. * docs/pango-sections.txt: Add PangoMatrix and rotated rendering functions
* Fix textOwen Taylor2004-05-282-1/+9
|
* only invert if the layout and the context really disagree, not if they areJody Goldberg2004-05-281-3/+3
| | | | | | | | | | | | | | 2004-04-29 Jody Goldberg <jody@gnome.org> * pango/pango-layout.c (get_alignment) : only invert if the layout and the context really disagree, not if they are WEAK_LTR vs LTR 2004-03-11 Jody Goldberg <jody@gnome.org> * pango/pango-attributes.h : Add a comment clarifying that PangoAttribute::end_index is _exclusive_. The range is [start..end) Additionally clarify that that the indicies are in _bytes_ not characters.
* Add underline and strikethrough position and thickness metrics.Owen Taylor2004-05-272-1/+48
| | | | | | | | | | | | | | Thu May 27 15:32:03 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-font.h pango/fonts.c: Add underline and strikethrough position and thickness metrics. * pango/pangofc-font.c: Implement underline and strikethrough position and thickness metrics. * pango/pango-fontset.c (pango_fontset_real_get_metrics): Initialize metrics from the metrics of the first font in the fontset.
* === Released 1.3.5 ===PANGO_1_3_5Owen Taylor2004-03-025-6/+163
| | | | | | | | | | | | | | Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.3.5 === * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0. * NEWS: Update * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix a crash from left-over handling of clusters for non-spacing marks.
* Patch from Dov Grobgeld to add auto-direction to PangoLayout (more ofOwen Taylor2004-03-012-0/+7
| | | | | | | | | | | | | | | | | | | | | | | Fri Feb 27 11:23:21 2004 Owen Taylor <otaylor@redhat.com> Patch from Dov Grobgeld to add auto-direction to PangoLayout (more of #70451) * examples/pangofttopgm.c: Add --no-auto-dir argument. * pango-layout.[ch]: Add pango_layout_set_auto_dir() defaulting to TRUE; resolve paragraph direction within a layout by propagating base direction downwards from paragraph to paragraph. * pango-context.[ch]: Add pango_itemize_with_base_dir() which overrides the base direction from the PangoContext. Mon Mar 1 10:01:58 2004 Owen Taylor <otaylor@redhat.com> * docs/tmpl/text-attributes.sgml: Document %PANGO_UNDERLINE_ERROR. * pango/pangofc-fontmap.c: Pango*Fc*FontmapPrivate. Make compile.
* New attribute to turn font fallback on or off. (#105553)Noah Levitt2004-02-292-0/+11
| | | | | | | | | | | | 2003-02-29 Noah Levitt <nlevitt@columbia.edu> * docs/pango_markup.sgml: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c: * pango/pango-attributes.h: * pango/pango-context.c: * pango/pango-markup.c: New attribute to turn font fallback on or off. (#105553)
* Rework opentype interfaces and other changes to make GPOS work for Arabic.Owen Taylor2004-02-291-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Feb 29 09:25:13 2004 Owen Taylor <otaylor@redhat.com> Rework opentype interfaces and other changes to make GPOS work for Arabic. (Most of #117282, #121060) * pango/opentype/otlbuffer.[ch]: OTL_Buffer that acts as a replacement for the separate GSUB and GPOS string structures and hides many of the internal details. * pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]: Adapt to OTL_Buffer. * pango/opentype/ftxgpos.c: Redo handling of cursive chains so that it actually works. * pango/pango-ot.h pango/opentype/pango-ot-buffer.c: Pango wrapper around OTL_Buffer. * pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c: Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(), pango_ot_ruleset_position(), make them act on PangoOTBuffer, add a separate pango_ot_buffer_output() which does the default positioning and writes to a PangoGlyphString. * modules/arabic/arabic-fc.c modules/indic/indic-fc.c modules/indic/mprefixups.[ch]: Adapt to new OpenType interfaces; add GPOS features for Arabic. * pango/opentype/pango-ot-info.c: Don't derive class information from Unicode properties for Arabic presentation forms, let the shaping process derive the properties.
* Add some new enum and values and utilities for supporting automaticallyOwen Taylor2004-02-273-10/+61
| | | | | | | | | | | | | | | | | | | | | | | | | Fri Feb 27 09:30:10 2004 Owen Taylor <otaylor@redhat.com> Add some new enum and values and utilities for supporting automatically determined base direction. (#70451, based on changes by Dov Grobgeld) * pango/pango-types.h docs/tmpl/main.sgml: Add PANGO_DIRECTION_WEAK_RTL/LTR, extend the docs for PangoDirection. * pango/pango-types.h pango/pango-utils.h: Move pango_get_mirror_char() to pango-types.h. * pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels): Handle new values of PangoDirection, handle PANGO_DIRECTION_TTB_LTR/RTL as aliases for PANGO_DIRECTION_RTL/LTR. * pango/mini-fribidi/fribidi.c pango/pango-types.h: Add pango_unichar_direction(). * pango/pango-utils.c pango/pango-types.h: Add pango_find_base_dir()
* === Released 1.3.3 ===PANGO_1_3_3Owen Taylor2004-02-241-5/+5
| | | | | | | | | | Tue Feb 24 14:29:26 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.3.3 === * configure.in: Version 1.3.3, interface age 3. * NEWS: Updates
* === Released 1.3.2 ===PANGO_1_3_2Owen Taylor2004-01-221-5/+5
| | | | | | | | | | Thu Jan 22 12:36:10 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.3.2 === * configure.in: Version 1.3.2, interface age 2. * NEWS: Tweak.
* Document all members of PangoLayoutLine.Matthias Clasen2003-12-191-1/+2
| | | | | | Fri Dec 19 22:20:18 2003 Matthias Clasen <maclas@gmx.de> * docs/tmpl/layout.sgml: Document all members of PangoLayoutLine.
* === Released 1.3.0 ===PANGO_1_3_0Owen Taylor2003-10-246-12/+78
| | | | | | | | | | | | | | | | | | Fri Oct 24 00:09:17 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.3.0 === * pango/module-defs-fc.c.win32 pango/module-defs-fc.c.win32: Add the -fc version, remove the -ft2 version. Not sure this file is actually needed any more. * pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-impl-utils.h, pango-script-lang-table.h. * docs/Makefile.am (dist-hook-local): Distribute generated manpage. * tests/Makefile.am (CLEANFILES): Add pango.modules
* Replace get_coverage by covers in the doc comment.Matthias Clasen2003-09-291-1/+7
| | | | | | | | | | | | | | | | | | | | 2003-09-30 Matthias Clasen <maclas@gmx.de> * pango/pango-engine.h (struct _PangoEngineShapeClass): Replace get_coverage by covers in the doc comment. * pango/pango-script.c (pango_language_includes_script) (pango_script_get_sample_language): * pango/pango-fontset.c (pango_fontset_foreach): * pango/pango-fontmap.c (pango_font_map_get_shape_engine_type): * pango/modules.c (pango_map_get_engines): * pango/pango-fontset.h (PangoFontsetForEachFunc): Fix typos and add "Since: 1.4" tags. * docs/pango-sections.txt: Add PangoFontsetForeachFunc, pango_fontset_foreach(), pango_font_map_get_shape_engine_type(), PangoScriptForLang, pango_script_get_sample_language() and pango_language_includes_script(), remove pango_map_get_entry().
* Modules now declare a list of scripts that they cover instead of a list ofOwen Taylor2003-09-235-26/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engines.[ch] pango/pango-engines-private.h: Modules now declare a list of scripts that they cover instead of a list of code point ranges. Also, there is now a ->covers() virtual function that allows a module to decide live whether the font covers a particular codepoint; remove old get_coverage() method. * pango/pango-fontset.[ch]: Add a foreach() function to iterate over all the fonts in a fontset (with a true return stopping iteration). * pango/pango-context.c: Complete rewrite using script-run information to improve language tags. Switch to an approach where we handle one run at a time rather than computing information for each character individually then later breaking the result into runs. * pango/pango-fontset.[ch]: Switch over to using pango-impl-utils.h. * modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to the change from get_coverage => covers. * pango/pango-modules.h pango/modules.c: Switch PangoMap over to being based on script rather than being based on codepoint. Remove the no longer needed pango_map_get_entry(). * pango/modules.c: Handle new script-based modules. * pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c pango/pang-fontmap.[ch]: Add a shape_engine_type field to PangoFontmapClass, pango_font_map_get_shape_engine_type(); this allows generic code to find a shaper for a particular fontmap. * pango/pango-script.[ch]: Add pango_script_get_sample_language(), pango_language_includes_script(); functions for determining the relationship between scripts and language. * tools/gen-script-for-lang.c: Modify to spit out a useful table. * pango/pango-script-lang-table.h: Version of table generated from current fontconfig data. * pango/pangox.c: Remove complicated code to compute coverages; no longer useful now that we just have the basic shaper as a legacy thing. * modules/*/*.c: Adapt to identifying shape engines by language range. * modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]: Remove now unused "has_glyph" function and XTIS support. * modules/thai/thai-fc.c: Handle non-Thai characters as well, since the Thai module now gets spaces, punctuation, and so forth.
* Borrow argument parsing code from GDK.Owen Taylor2003-09-151-2/+0
| | | | | | | | | | | | | Mon Sep 15 15:48:25 2003 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am examples/argcontext.c examples/argcontext.h: Borrow argument parsing code from GDK. * examples/pangoft2topgm.c: Use argcontext.[ch]. Add options --header to display options in a header in the image, --text to pass the text on the command line, --width to set a wrap width. Add autoconversion to non-PGM output formats via 'convert' for --output="foo.png" etc.
* Add backspace_deletes_character to PangoLogAttr. (#114483)Noah Levitt2003-08-141-0/+12
| | | | | | | | | 2003-08-14 Noah Levitt <nlevitt@columbia.edu> * docs/tmpl/main.sgml: * pango/break.c: * pango/pango-break.h: Add backspace_deletes_character to PangoLogAttr. (#114483)
* Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-basedOwen Taylor2003-08-039-74/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Basic docs for the new stuff.Owen Taylor2003-08-033-0/+206
| | | | | | * docs/pango-sections.txt docs/pango-docs.sgml docs/tmpl/pangofc-font{,map}.sgml: Basic docs for the new stuff.
* Make pangoxft depend on pangoft2.Owen Taylor2003-08-037-120/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove.Owen Taylor2003-08-022-2/+3
| | | | | | | | | | | | Sat Aug 2 14:10:31 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am pango/pango-intset.[ch] pango/pango-indic.[ch]: Remove. * pango/pangox.c (pango_x_apply_ligatures): Make a noop, remove associated code. * pango/pangox-fontmap.c pango/pangox.[ch]: Deprecate everything.
* Get rid of explicit tables detailing the members of structs, use theNoah Levitt2003-07-253-267/+46
| | | | | | | | | 2003-07-25 Noah Levitt <nlevitt@columbia.edu> * docs/tmpl/engines.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: Get rid of explicit tables detailing the members of structs, use the automatic things instead. (#117857)
* Doc markup and typo fixes.Matthias Clasen2003-06-252-4/+5
| | | | | | | | | | 2003-06-25 Matthias Clasen <maclas@gmx.de> * pango/pango-layout.c: * pango/pango-tabs.c: * pango/pango-attributes.c: * docs/tmpl/layout.sgml: * docs/tmpl/text-attributes.sgml: Doc markup and typo fixes.