summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Released 0.13PANGO_0_13Owen Taylor2000-11-1719-92/+336
| | | | | | | | | | | | | | | | | | | | | | | Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com> * Released 0.13 * NEWS: Updates for 0.13 Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com> * tools/Makefile.am (EXTRA_DIST): Add maps/tis-620 * Makefile.am (EXTRA_DIST): Added TODO.xml * pango/Makefile.am (EXTRA_DIST): Add .def files for Win32. * examples/Makefile.am (EXTRA_DIST): Add a couple of missing files. * docs/Makefile.am (dist-hook): Add back accidentally removed rule to distribute TEXT/*.
* Test against start not zero.Owen Taylor2000-11-178-1/+36
| | | | | | | Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Test against start not zero.
* hu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com>Owen Taylor2000-11-1612-110/+271
| | | | | | | | | | | | | | | * docs/pango-sections.txt docs/tmpl/modules.sgml: Add pango_module_register (). * pango/modules.c: Make ordering of module lookup predictable. * pango/modules.c (pango_module_register): Add a useful doc comment. * pango/pango-modules.[ch]: Fix indentation. * .cvsusers: Added
* Declare variable j so it compilesHavoc Pennington2000-11-168-1/+37
| | | | | | | 2000-11-16 Havoc Pennington <hp@redhat.com> * pango/modules.c (handle_included_module): Declare variable j so it compiles
* Make some vars static. Implement pango_module_register function. MoveElliot Lee2000-11-1610-27/+95
| | | | | | | * pango/modules.c: Make some vars static. Implement pango_module_register function. * pango/pango-modules.h, pango/modules.h: Move declaration of PangoIncludedModule to pango-modules.h for public use.
* Fix problem with unbreakable words at start of line longer than lineOwen Taylor2000-11-168-30/+72
| | | | | | | Wed Nov 15 16:56:38 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_item): Fix problem with unbreakable words at start of line longer than line width.
* Fix problem where right-aligned lines weren't getting properly offsetOwen Taylor2000-11-158-4/+47
| | | | | | | | Wed Nov 15 15:04:00 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_extents_internal): Fix problem where right-aligned lines weren't getting properly offset because width was left as -1.
* commit ChangeLog entryOwen Taylor2000-11-157-0/+49
|
* Rewrite of good portions of line-break code to be more readable, workOwen Taylor2000-11-158-106/+230
| | | | | | | | Wed Nov 15 10:50:38 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_line): Rewrite of good portions of line-break code to be more readable, work better, and maybe even be a little faster.
* get the value of any rise attribute (pango_layout_run_get_extents): takeHavoc Pennington2000-11-158-7/+73
| | | | | | | | 2000-11-14 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_get_item_properties): get the value of any rise attribute (pango_layout_run_get_extents): take rise into account
* Every character must be part of some cluster, so when we dont' have anOwen Taylor2000-11-141-1/+11
| | | | | | | | | Tue Nov 14 18:45:24 2000 Owen Taylor <otaylor@redhat.com> * pango/shape.c (pango_shape): Every character must be part of some cluster, so when we dont' have an engine at all (pathalogical, happens now for formatting characters), create a cluster with one glyph=0 and 0 size.
* Define HAVE_FRIBIDI.Tor Lillqvist2000-11-1419-2/+92
| | | | | | | | | | 2000-11-15 Tor Lillqvist <tml@iki.fi> * config.h.win32: Define HAVE_FRIBIDI. * pango/pango.def: Add new functions. * pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
* Fix low underline code to deal with run_ink == NULL.Owen Taylor2000-11-1420-96/+476
| | | | | | | | | | | | | | | | | Tue Nov 14 11:10:24 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_run_get_extents): Fix low underline code to deal with run_ink == NULL. * pango/pango-utils.c (pango_read_line): Return number of lines read to allow decent parse errors line numbers. * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): Fix line number count. * examples/pangox.aliases: Include extra international fonts for all styles, not just roman, reindent so it looks halfway legible.
* Don't need to check_lines, pango_layout_get_iter() will do thatHavoc Pennington2000-11-148-5/+52
| | | | | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_get_cursor_pos): Don't need to check_lines, pango_layout_get_iter() will do that (next_cluster_start): don't ever return a value past the end of the glyph string
* Add italic/bold variantsHavoc Pennington2000-11-138-0/+39
| | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * examples/pangox.aliases: Add italic/bold variants
* Patches from long ago: Make pango_layout slightly more robust. DoElliot Lee2000-11-138-1/+49
| | | | | | Patches from long ago: * pango/pango-layout.c: Make pango_layout slightly more robust. Do check_lines before getting cursor position.
* Add new PangoLayoutIter entry pointsHavoc Pennington2000-11-1315-255/+1573
| | | | | | | | | | | | | | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * docs/pango-sections.txt: Add new PangoLayoutIter entry points * pango/glyphstring.c (pango_glyph_string_extents_range): New function * pango/pango-layout.c: Create PangoLayoutIter for iterating over a layout's visual elements * pango/pango-layout.c (pango_layout_check_lines): plug a memleak (attr iterator not freed) * pango/pango-tabs.c (pango_tab_array_free): plug a memleak (array->tabs not freed)
* Remove fribidi include.Owen Taylor2000-11-1320-43/+343
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Renamed pango_attribute_compare to pango_attribute_equal. Renamed compareSebastian Wilhelmi2000-11-1315-46/+144
| | | | | | | | | | | | | | | | 2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * pango/pango-attributes.c, pango/pango-attributes.h: Renamed pango_attribute_compare to pango_attribute_equal. Renamed compare member of PangoAttrClass to equal. Renamed some static functions from ..._compare to ..._equal. * pango/fonts.c, pango/pango-font.h, pango/pango-context.c: Renamed pango_font_description_compare to pango_font_description_equal. * docs/pango-sections.txt, docs/tmpl/fonts.sgml, docs/tmpl/text-attributes.sgml: Changed accordingly.
* Remove UNICODE_LIBS UNICODE_CFLAGSHavoc Pennington2000-11-1312-7/+77
| | | | | | | | | | | | 2000-11-12 Havoc Pennington <hp@pobox.com> * pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS * modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto * modules/basic/Makefile.am: ditto * pango/Makefile.am: ditto
* Added a fallback Korean font which comes with X.Robert Brady2000-11-138-3/+49
| | | | (-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0)
* Add missing fileOwen Taylor2000-11-131-0/+18
|
* Replace fallback shaper with a call to pango_x_fallback_shape, this setsRobert Brady2000-11-139-18/+44
| | | | | | | | | Mon Nov 13 02:39:44 2000 Robert Brady <robert@suse.co.uk> * pango/modules/hangul/hangul.c: Replace fallback shaper with a call to pango_x_fallback_shape, this sets the cluster array properly. -------------------------------------------------------------------
* Remove checks for iconv - we now depend on g_iconv wrapper defined inOwen Taylor2000-11-1214-69/+103
| | | | | | | | | | | | | Sun Nov 12 18:36:38 2000 Owen Taylor <otaylor@redhat.com> * configure.in (included_modules): Remove checks for iconv - we now depend on g_iconv wrapper defined in GLib. * modules/basic/basic.c: Use g_iconv_* not iconv(). * pango/itemize.c pango/pango-context.c modules/thai/thai.c: Remove spurious iconv.h includes.
* Include a stripped-down version of fribidi to avoid the extra dependency.Owen Taylor2000-11-1234-128/+2512
| | | | | | | | | | | | | | | | | | | | Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango/pango-utils.[ch] pango/Makefile.am pango/mini-fribidi/*: Include a stripped-down version of fribidi to avoid the extra dependency. No fribidi symbols are exported so conflicts with the real fribidi should not happen. Library can optionally be compiled with the real libfribidi. * pango/pango-utils.[ch]: Wrappers for fribidi_ functions when compiling with fribiid. * modules/basic/basic-ft2.c modules/basic/basic-win32.c modules/basic/basic.c modules/thai/thai.c pango/Makefile.am pango/itemize.c pango/pango-context.c pango/pangoft2.c pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi functions.
* Don't corrupt the array.Robert Brady2000-11-128-4/+40
| | | | | | | 2000-11-12 Robert Brady <robert@suse.co.uk> * pango/pango-indic.c (pango_shift_vowels): Don't corrupt the array.
* Add accessor to get the text from the layoutHavoc Pennington2000-11-129-0/+53
| | | | | | | 2000-11-12 Havoc Pennington <hp@pobox.com> * pango/pango-layout.c (pango_layout_get_text): Add accessor to get the text from the layout
* Add code to call SetTextAlign, but commented out.Tor Lillqvist2000-11-1112-4/+89
| | | | | | | | | | | 2000-11-11 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_render): Add code to call SetTextAlign, but commented out. * pango/makefile.mingw.in (PANGO_OBJS): Add new objects. * pango/pango.def: Add new functions.
* Added missing filesRobert Brady2000-11-084-0/+468
|
* Shiny new Indic shapers!Robert Brady2000-11-0830-4616/+3795
|
* Add a per-PangoXFontMap cache for X Atoms.Robert Brady2000-11-0812-6/+733
| | | | | | | | | | | | | | | | | | | | | 2000-11-08 Robert Brady <rwb197@zepler.org> * pango/pangox-fontmap.c, pango/pangox-private.h: Add a per-PangoXFontMap cache for X Atoms. * pango/pango-intset.c, pango/pango-intset.h: Integer set. * pango/pangox.c, pango/pangox.h: Mainly add two new functions, font_struct_get_ligatures, to parse X font properties for ligature info, and pango_x_apply_ligatures, which does that actual ligation. Also add utility functions pango_x_fallback_shaper, pango_x_find_first_subfont. * pango/pango-indic.c, pango/pango-indic.h: Utility functions for Indic scripts. * pango/Makefile.am: Add pango-intset, pango-indic.
* New Arabic shaper from Karl Koehler.Owen Taylor2000-11-0217-544/+683
| | | | | | Thu Nov 2 16:21:22 2000 Owen Taylor <otaylor@redhat.com> * New Arabic shaper from Karl Koehler.
* Return the accel keyvalHavoc Pennington2000-11-018-0/+38
| | | | | | | 2000-11-01 Havoc Pennington <hp@redhat.com> * pango/pango-markup.c (pango_parse_markup): Return the accel keyval
* Fix bug where not all text was appended when parsing acceleratorsHavoc Pennington2000-11-018-7/+57
| | | | | | | 2000-11-01 Havoc Pennington <hp@redhat.com> * pango/pango-markup.c (text_handler): Fix bug where not all text was appended when parsing accelerators
* improved some X11 fotn registry aliasesPablo Saratxaga2000-11-0112-5/+69
|
* Add a new attribute for scaling a font; also required addingHavoc Pennington2000-11-0128-698/+3245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added docs for the publically exported functions in this module, evenOwen Taylor2000-10-309-1/+115
| | | | | | | | | | | | | Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com> * pango/modules.c (pango_map_get_entry): Added docs for the publically exported functions in this module, even though they are really only semi-public (for people implementing new types of #PangoFont), not public * pango/pango-utils.c (pango_read_line): Minor bug tweak.
* Add missing filesOwen Taylor2000-10-295-0/+736
|
* Fix up doc comments not to have obvious errors that gtk-doc barfs on.Owen Taylor2000-10-2921-57/+441
| | | | | | | | | | | | | | | 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.
* adapted g_Type_register_*() calls. GLib wants an additional flag field toTim Janik2000-10-2517-10/+52
| | | | | | | | Wed Oct 25 15:39:49 2000 Tim Janik <timj@gtk.org> * *.c: adapted g_Type_register_*() calls. GLib wants an additional flag field to specify tape flags per node. added 0s all over the place, making the assumption that no pango types are abstract ones.
* TODO: Figure out how to localise digits.Robert Brady2000-10-211-0/+7
|
* Fix < to &lt;Owen Taylor2000-10-211-1/+1
|
* pango/pango.def Add new entry points.Tor Lillqvist2000-10-0316-18/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Tor Lillqvist <tml@iki.fi> * pango/pango.def * pango/pangoft2.def: Add new entry points. * pango/pango-coverage.c (pango_coverage_set): Remove unnecessary loop calling memset() with same parameters 64 times ;-) * pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o. Some small changes that have been laying around on my disk. The Win32 and FT2 backends aren't "production quality" yet. For speedup, need to cache at least the coverage info. * pango/pangoft2.c (pango_ft2_get_coverage): New function. * modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to be unique. * modules/basic/basic-ft2.c: Add comments explaining what Unicode ranges the table entries covers. Use "BasicScriptEngineLangFT2" to be unique. (basic_engine_get_coverage): Test calling pango_ft2_get_coverage(). (basic_engine_ft2_new): Set corect engine type. Not that this apparently is used for anything, the X11 basic shaper module also sets its type as TYPE_LANG. * examples/viewer-ft2.c (split_paragraphs): Just end the string upon encountering an invalid character. Don't return.
* Put the pkg-config scripts back to the correct pkg-config syntaxMartin Baulig2000-09-302-18/+12
| | | | | (the pkg-config that comes with the RedHat 7.0 glib-gtkbeta RPM and not the one from pkgconfig.sourceforge.net which is old).
* Set this to `$(libexecdir)/pkgconfig'; this is the directory whereMartin Baulig2000-09-2910-13/+68
| | | | | | | | | 2000-09-29 Martin Baulig <baulig@suse.de> * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; this is the directory where pkg-config actually looks. * *.pc.in: Made the pkg-config scripts actually work.
* Remove comma at end of enumeration list.Martin Baulig2000-09-291-1/+1
|
* was pango_tab_array_new_with_defaults; apparently I didn't check in theHavoc Pennington2000-09-298-6/+48
| | | | | | | | 2000-09-28 Havoc Pennington <hp@pobox.com> * pango/pango-tabs.c (pango_tab_array_new_with_positions): was pango_tab_array_new_with_defaults; apparently I didn't check in the modified version at work
* Change to return allocated array.Havoc Pennington2000-09-279-14/+52
| | | | | | | 2000-09-27 Havoc Pennington <hp@redhat.com> * pango/pango-tabs.c (pango_tab_array_get_tabs): Change to return allocated array.
* TODO updatesOwen Taylor2000-09-261-1/+1
|
* Add a tab array field to PangoLayout, and use it when laying out the textHavoc Pennington2000-09-2512-29/+629
| | | | | | | | | | 2000-09-25 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c: Add a tab array field to PangoLayout, and use it when laying out the text (if it's set, otherwise use default tabs-are-8-spaces thing) * pango/pango-tabs.c, pango/pango-tabs.h: tab-related data types