summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added a --runs options, useful for profiling. Misc cleanup, freeingBehdad Esfahbod2005-11-034-88/+107
| | | | | | | | 2005-11-03 Behdad Esfahbod <behdad@gnome.org> * examples/pangoft2pgm.c, renderdemo.c, renderdemo.h: Added a --runs options, useful for profiling. Misc cleanup, freeing memory. (from #170414)
* Patches from #170414. Reviewed by Matthias Clasen.Behdad Esfahbod2005-11-035-177/+169
| | | | | | | | | | | | 2005-11-03 Behdad Esfahbod <behdad@gnome.org> Patches from #170414. Reviewed by Matthias Clasen. * pango/opentype/ftxgpos.c, pango/opentype/ftxgsub.c: Use call table to dispatch different lookup types. * pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-ruleset.c: Small cleanup.
* Add const to gchar * members of structs. Shuts up gcc warnings. (#317676)Behdad Esfahbod2005-10-032-4/+9
| | | | | | | 2005-10-02 Behdad Esfahbod <behdad@gnome.org> * pango/pango-engine.h: Add const to gchar * members of structs. Shuts up gcc warnings. (#317676)
* unset all part colors, since when drawing just a glyph string,Owen Taylor2005-10-033-1/+20
| | | | | | | | | | | 2005-09-09 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-render.c (pango_cairo_show_glyph_string): unset all part colors, since when drawing just a glyph string, prepare_run() isn't called. (#315599, Choe Hwanjin) * pango/pango-renderer.c (pango_renderer_draw_layout_line): NULL out renderer->priv->line_state.
* Removed. Not needed since 2003 or so!Behdad Esfahbod2005-09-252-131/+5
| | | | | | | 2005-09-25 Behdad Esfahbod <behdad@gnome.org> * pango/mini-fribidi/fribidi_get_type.c: Removed. Not needed since 2003 or so!
* Move the calculation of dpi and size earlier. Use the size variable instadTor Lillqvist2005-09-224-22/+33
| | | | | | | | | | | | | | | | | 2005-09-22 Tor Lillqvist <tml@novell.com> * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Move the calculation of dpi and size earlier. Use the size variable instad of isize when looking for a matching cached font. Isize was supposed to be the same as size anyway. (Actually it was the same only when LOGPIXELSY equalled 96 (which often is the default value), see below.) * pango/pangocairo-win32fontmap.c (pango_cairo_win32_font_map_init): Set dpi to the LOGPIXELSY value instead of hardcoding 96. * pango/Makefile.am (libpangocairo_1_0_la_LIBADD): Need WIN32_LIBS now.
* Update.Tor Lillqvist2005-09-142-9/+48
| | | | | | 2005-09-14 Tor Lillqvist <tml@novell.com> * README.win32: Update.
* Use identical glyph extents cacheing as in pangocairo-fcfont.c. HugeTor Lillqvist2005-09-142-24/+82
| | | | | | | 2005-09-14 Tor Lillqvist <tml@novell.com> * pango/pangocairo-win32font.c: Use identical glyph extents cacheing as in pangocairo-fcfont.c. Huge performance improvement.
* Have a list of metrics by language instead of just one metrics.Tor Lillqvist2005-09-145-59/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-14 Tor Lillqvist <tml@novell.com> * pango/pangocairo-win32font.c (struct _PangoCairoWin32Font): Have a list of metrics by language instead of just one metrics. (pango_cairo_win32_font_get_scaled_font): Use the name cwfont instead of cffont. (free_metrics_info, pango_cairo_win32_font_finalize): Free the metrics by language list. (create_metrics_for_context): New helper function. Approximate the character and digit widths correctly. (#314114) (pango_cairo_win32_font_get_metrics): Use the list of metrics by language. Call create_metrics_for_context() to measure metrics. (_pango_cairo_win32_font_new): Keep the PangoWin32Font objects in the PangoWin32Face::cached_fonts, like the pangowin32 backend does. PangoWin32Face::cached_fonts isn't really a proper cache. It's a list with unbound length, one PangoWin32Font per size. Once there is cacheing in cairo this can be dropped presumably? What does the pangofc backend do? There are too many levels of cacheing going on: we have the stuff in pangowin32-fontcache.c (unused now with cairo), the PangoWin32FontMap::freed_fonts cache, and the PangoWin32::cached_fonts list. * pango/pangowin32-fontmap.c (pango_win32_fontmap_cache_remove, pango_win32_fontmap_cache_clear): Use GQueue API instead of manipulating pointers manually. * pango/pangowin32-private.h * pango/pangowin32.c: Move PangoWin32MetricsInfo to the private header file, as also pangocairo-win32font.c uses it.
* Drop unused font_cache variable and the call toTor Lillqvist2005-09-132-5/+8
| | | | | | | | | | 2005-09-13 Tor Lillqvist <tml@novell.com> * modules/basic/basic-win32.c: Drop unused font_cache variable and the call to pango_win32_font_map_for_display() used in its initialization, which caused an extra instance of PangoWin32FontMap to be created, and fonts enumerated an extra time.
* Fixed typo (#316054).Jean Brefort2005-09-122-1/+6
| | | | | | | 2005-09-12 Jean Brefort <jean.brefort@normalesup.org> * pango/pango-attributes.c: (pango_attr_list_splice): Fixed typo (#316054).
* Use g_free() to free g_new()-allocated data, otherwise the GLib memoryMatthias Clasen2005-09-112-1/+7
| | | | | | | | 2005-09-11 Matthias Clasen <mclasen@redhat.com> * pango/pangocairo-fontmap.c (free_context_info): Use g_free() to free g_new()-allocated data, otherwise the GLib memory profiler becomes very unhappy.
* Fixed typo in docs.Behdad Esfahbod2005-09-052-1/+6
| | | | | | | 2005-09-05 Behdad Esfahbod <pango@behdad.org> * pango/pango-layout.c (pango_layout_set_auto_dir): Fixed typo in docs.
* Generate valid XML output. Dump LookupFlag too.Behdad Esfahbod2005-08-293-37/+49
| | | | | | | 2005-08-29 Behdad Esfahbod <pango@behdad.org> * pango/opentype/ottest.c, pango/opentype/disasm.c: Generate valid XML output. Dump LookupFlag too.
* Set cairo font resolution.Behdad Esfahbod2005-08-293-6/+7
| | | | | | | | 2005-08-29 Behdad Esfahbod <pango@behdad.org> * examples/cairoview.c: Set cairo font resolution. * tests/testboundaries.c: Remove unused Hangul Jamo macros.
* Add a few Arabic non-spacing marks to the example. Put the line with PangoBehdad Esfahbod2005-08-292-1/+8
| | | | | | | 2005-08-29 Behdad Esfahbod <pango@behdad.org> * examples/HELLO.utf8: Add a few Arabic non-spacing marks to the example. Put the line with Pango in Greek-Japanese back in.
* Protect against future line-break type additions in glib Unicode module.Behdad Esfahbod2005-08-262-1/+10
| | | | | | | 2005-08-26 Behdad Esfahbod <pango@behdad.org> * pango/break.c: Protect against future line-break type additions in glib Unicode module.
* Use pangocairo.def when linking libpangocairo on Windows, instead ofTor Lillqvist2005-08-243-0/+16
| | | | | | | | | | | 2005-08-25 Tor Lillqvist <tml@novell.com> * pango/Makefile.am: Use pangocairo.def when linking libpangocairo on Windows, instead of relying on GNU ld auto-exporting all public symbols. * pango/pangocairo.def: Add missing entries. (#314420, Kazuki Iwamoto)
* convert from Pango units to doubles, fix some coordinate space problemsOwen Taylor2005-08-242-33/+48
| | | | | | | | 2005-08-24 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-render.c (draw_error_underline): convert from Pango units to doubles, fix some coordinate space problems that had previously been fixed in GTK+. (#313015, Luis Villa)
* Truncate ChangeLog after moving asideOwen Taylor2005-08-241-1273/+0
|
* === Released 1.10.0 ===PANGO_1_10_0Owen Taylor2005-08-155-14/+37
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * === Released 1.10.0 === * configure.in: Version 1.10.0 * NEWS: Update
* Updated to that of FriBidi 0.10.5 which corresponds to Unicode 4.1.Behdad Esfahbod2005-08-155-1254/+388
| | | | | | | | | | | | 2005-08-15 Behdad Esfahbod <pango@behdad.org> * pango/mini-fribidi/fribidi_tab_char_type_2.i: Updated to that of FriBidi 0.10.5 which corresponds to Unicode 4.1. * pango/mini-fribidi/README: Added note to reflect above change. * pango/mini-fribidi/fribidi_tables.i: Removed. Not needed since 2002.
* Glagolitic shouldn't have Coptic as a sample language; it was used toOwen Taylor2005-08-153-2/+21
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_script_get_sample_language): Glagolitic shouldn't have Coptic as a sample language; it was used to write Old Church Slavonic. Tifinagh shouldn't have Berber as a sample language, since it isn't the *primary* script used to write Berber.
* Cut out the meat of pango_fc_font_get_metrics_for_context() and export itOwen Taylor2005-08-155-33/+124
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context) pango/pangofc-private.h pango/pangocairo-fcfcont.c: Cut out the meat of pango_fc_font_get_metrics_for_context() and export it (privately), so that PangoCairoFcFont can create a variant that sets the font options on the context it creates. (#311522)
* Fix unconditional access to logical_rect. (#312691, Hans Breuer)Owen Taylor2005-08-153-1/+13
| | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_line_get_extents): Fix unconditional access to logical_rect. (#312691, Hans Breuer)
* Add pango_item_get_type and pango_layout_line_get_type. Thanks to VittorioTor Lillqvist2005-08-153-0/+14
| | | | | | | | 2005-08-15 Tor Lillqvist <tml@novell.com> * pango/pango.def: Add pango_item_get_type and pango_layout_line_get_type. Thanks to Vittorio Palmisano for noticing.
* Replace perror with perror_. Remove FT_BEGIN_STMNT and FT_END_STMNT.Behdad Esfahbod2005-08-153-4/+14
| | | | | | | 2005-08-15 Behdad Esfahbod <pango@behdad.org> * pango/opentype/ftglue.h: Replace perror with perror_. Remove FT_BEGIN_STMNT and FT_END_STMNT. (#313477)
* Remove some characters at the beginning of the file and add a line break.Behdad Esfahbod2005-08-153-3/+12
| | | | | | | 2005-08-14 Behdad Esfahbod <pango@behdad.org> * examples/HELLO.utf8: Remove some characters at the beginning of the file and add a line break.
* reviewed by: otaylorKeith Packard2005-08-093-37/+39
| | | | | | | | | 2005-08-09 Keith Packard <keithp@keithp.com> reviewed by: otaylor * examples/cairoview.c: (update), (expose), (main): Switch to Xlib regions as pixman is destined to disappear.
* Updated to Unicode 4.1, adding new scripts and Arabic joining data.Roozbeh Pournader2005-08-098-111/+193
| | | | | | | | | | 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) `
* Forgot libpangocairo-1.0.dll.a.Tor Lillqvist2005-08-053-2/+3
|
* Add pangocairo files. Get the DLLs from "bin" unconditionally, that'sTor Lillqvist2005-08-054-9/+38
| | | | | | | | | | | 2005-08-05 Tor Lillqvist <tml@novell.com> * pango-zip.sh.in: Add pangocairo files. Get the DLLs from "bin" unconditionally, that's where libtool installs them since a long time. * pango/Makefile.am (install-def-files, uninstall-def-files): Install/uninstall also pangocairo .def and .lib files.
* updatedHans Breuer2005-07-304-3/+17
| | | | | | | | | 2005-07-30 Hans Breuer <hans@breuer.org> * pango/makefile.msc : updated * pango/pangocairo-win32font.c(...get_metrics) : dont use ascent where descent is meant. Fixes size of edit boxes for gtk+-2.7
* Use egrep for khmer, like the rest, to fix --with-included-modules.Owen Taylor2005-07-303-1/+11
| | | | | | | 2005-07-30 Owen Taylor <otaylor@redhat.com> * configure.in: Use egrep for khmer, like the rest, to fix --with-included-modules. (#311930, Sebastien Bacher)
* Look for pango.def, pangoft2.def and pangowin32.def files in the sourceJ. Ali Harlow2005-07-293-3/+13
| | | | | | | 2005-07-29 J. Ali Harlow <ali@juiblex.co.uk> * pango/Makefile.am: Look for pango.def, pangoft2.def and pangowin32.def files in the source directory. Fixes #311971.
* put parens around bitwise &, to appease gcc.Manish Singh2005-07-273-1/+11
| | | | | | | 2005-07-26 Manish Singh <yosh@gimp.org> * pango/pango-utils.c (pango_is_zero_width): put parens around bitwise &, to appease gcc.
* Remove a stray entryOwen Taylor2005-07-262-10/+0
|
* === Released 1.9.1 ===PANGO_1_9_1Owen Taylor2005-07-264-4/+22
| | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * === Released 1.9.1 === * configure.in: Version 1.9.1 * NEWS: Updated
* Skip lookups with lookup index out of range. (Patch from Behdad Esfahbod,Owen Taylor2005-07-265-20/+91
| | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c, pango/opentype/ftxgpos.c: Skip lookups with lookup index out of range. (Patch from Behdad Esfahbod, #171170)
* Fix mixed code and declarations (#311626, Kazuki IWAMOTO)Owen Taylor2005-07-264-3/+23
| | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options): Fix mixed code and declarations (#311626, Kazuki IWAMOTO) * pango/pangocairo-win32font.c (pango_cairo_win32_font_install): Fix typo (#311627, Kazuki IWAMOTO)
* Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder)Owen Taylor2005-07-266-36/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder) * pango/pango-attributes.c (pango_attr_iterator_range): Clamp results to G_MAXINT to avoid negative numbers from signed/unsigned conversions. * pango/pango-attributes.c: Make PangoAttrIterator start_index/end_index unsigned to match PangoAttribute. Change various local variables to match. * pango/ellipsize.c (advance_iterator_to) pango/pango-attributes.c (pango_attr_iterator_range) pango/pango-glyph-item.c (pango_glyph_item_apply_attrs) pango/pango-layout.c (pango_layout_line_get_empty_extents): Always check the return value from pango_attr_iterator() to deal with potential infinite loops when trying to advance to position G_MAXINT. * pango/pango-layout.c (pango_layout_set_text): Handle the case where the text passed in is longer than than G_MAXINT and length < 0. * pango/pango-attributes.c (pango_attr_list_splice): Be careful about integer overflow - clamp addition. (#163246, Morten Welinder)
* Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu form of ra.Owen Taylor2005-07-263-3/+33
| | | | | | | | | | | | | | | | | 2005-07-26 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu form of ra. (#151393, Gautam Sengupta, fix from Gora Mohanty) * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Change U+B02 from _ma to _mp. Anusvara appears after not above in Oriya. (#311575, Gora Mohanty) * modules/indic/indic-ot-class-tables.c (oryaCharClasses): Classify unicode standard additions U+0B35 (va), U+0B71 (wa) as _ct. (Also #311575)
* Fixed a couple of leaks and freed memory after use.Behdad Esfahbod2005-07-262-0/+12
| | | | | | | | 2005-07-26 Behdad Esfahbod <pango@behdad.org> * examples/cairoview.c, examples/pangoft2topgm.c, examples/renderdemo.c, examples/renderdemo.h: Fixed a couple of leaks and freed memory after use.
* Fixed a couple of leaks and freed memory after use.Behdad Esfahbod2005-07-264-12/+35
|
* Set font options as well.Owen Taylor2005-07-255-3/+18
| | | | | | | | | | | 2005-07-25 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_install): Set font options as well. * pango/pango-layout.c (line_set_resolved_dir): Always set line->resolved_dir to one of LTR or RTL. (#171439, Reported by Chris Blizzard)
* Always set line->resolved_dir to one of LTR or RTL. (#171439, Reported byOwen Taylor2005-07-253-3/+38
| | | | | | | | 2005-07-25 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (line_set_resolved_dir): Always set line->resolved_dir to one of LTR or RTL. (#171439, Reported by Chris Blizzard)
* configure.in Fix a few typos that prevented build on Win32.Tor Lillqvist2005-07-256-9/+26
| | | | | | | | | | 2005-07-25 Tor Lillqvist <tml@novell.com> * configure.in * pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Fix a few typos that prevented build on Win32. * pango/pango.def: Add pango_is_zero_width.
* New function added.Behdad Esfahbod2005-07-2313-51/+71
| | | | | | | | | | | | | | 2005-07-23 Behdad Esfahbod <pango@behdad.org> * pango/pango-utils.c, pango/pango-utils.h (pango_is_zerowidth): New function added. * modules/basic/basic-common.h, modules/basic/basic-fc.c, modules/basic/basic-win32.c, modules/basic/basic-x.c, modules/hangul/hangul-fc.c, modules/arabic/arabic-fc.c, modules/indic/indic-fc.c, modules/indic/indic-ot.h, modules/syriac/syriac-fc.c: Use the new pango_is_zerowidth function. (#306639, Behnam Esfahbod)
* Handle context == NULL. (Reported by Behdad Esfahbod)Owen Taylor2005-07-223-1/+16
| | | | | | | 2005-07-22 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (get_context_matrix): Handle context == NULL. (Reported by Behdad Esfahbod)
* Revert ChangeLog changesOwen Taylor2005-07-222-144/+144
|