summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings.Behdad Esfahbod2008-12-2617-129/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-25 Behdad Esfahbod <behdad@gnome.org> * pango/break.c (pango_default_break): * pango/fonts.c (find_field_any), (pango_font_class_init), (pango_font_init), (pango_font_metrics_ref), (pango_font_metrics_unref), (pango_font_family_class_init), (pango_font_family_init), (pango_font_face_class_init), (pango_font_face_init): * pango/pango-attributes.c (pango_attr_list_ref), (pango_attr_list_unref), (pango_attr_iterator_get_font): * pango/pango-layout.c (pango_layout_set_height), (extents_free), (no_shape_filter_func), (pango_layout_line_ref), (pango_layout_line_unref), (pango_layout_get_item_properties): * pango/pango-markup.c (end_element_handler), (text_handler), (b_parse_func), (big_parse_func), (span_parse_func), (i_parse_func), (markup_parse_func), (s_parse_func), (sub_parse_func), (sup_parse_func), (small_parse_func), (tt_parse_func), (u_parse_func): * pango/pango-ot-info.c (get_glyph_class): * pango/pango-renderer.c (get_item_properties), (pango_renderer_default_prepare_run): * pango/pango-utils.c (_pango_shape_shape): * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_get_font_type), (pango_cairo_fc_font_map_context_substitute), (pango_cairo_fc_font_map_context_key_get), (pango_cairo_fc_font_map_context_key_copy), (pango_cairo_fc_font_map_context_key_free), (pango_cairo_fc_font_map_context_key_hash), (pango_cairo_fc_font_map_context_key_equal): * pango/pangocairo-fontmap.c (pango_cairo_font_map_new_for_font_type), (pango_cairo_font_map_set_default): * pango/pangocairo-render.c (pango_cairo_renderer_init): * pango/pangox-fontcache.c (free_cache_entry): * pango/pangox-fontmap.c (close_display_cb), (list_families_foreach), (pango_x_font_map_load_font), (ignore_error): * pango/pangox.c (average_width_foreach), (subfonts_foreach), (pango_x_font_find_shaper), (pango_x_get_unknown_glyph), (pango_x_get_item_properties), (pango_x_apply_ligatures), (pango_x_font_get_unknown_glyph): * pango/pangoxft-fontmap.c (pango_xft_font_map_init), (close_display_cb): * pango/querymodules.c (show_version): Fix warnings. svn path=/trunk/; revision=2765
* Reword.Behdad Esfahbod2008-12-221-1/+1
| | | | svn path=/trunk/; revision=2764
* Bug 565379 – pango_font_description_better_match some style attributesBehdad Esfahbod2008-12-222-0/+9
| | | | | | | | | | | 2008-12-22 Behdad Esfahbod <behdad@gnome.org> Bug 565379 – pango_font_description_better_match some style attributes of old_match are not checked * pango/fonts.c: Improve docs. svn path=/trunk/; revision=2763
* Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORTBehdad Esfahbod2008-12-172-1/+8
| | | | | | | | | | | 2008-12-17 Behdad Esfahbod <behdad@gnome.org> Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT * pango/pango-engine.h: Don't add G_MODULE_EXPORT. This roles back a change introduced in 1.22.4. svn path=/trunk/; revision=2762
* === Released 1.22.4 ===PANGO_1_22_4Behdad Esfahbod2008-12-153-2/+31
| | | | | | | | | | | | 2008-12-15 Behdad Esfahbod <behdad@gnome.org> * === Released 1.22.4 === * configure.in: Version 1.22.4 * NEWS: Updated. svn path=/trunk/; revision=2760
* Bug 564644 – Not complete description of theBehdad Esfahbod2008-12-152-3/+13
| | | | | | | | | | | 2008-12-15 Behdad Esfahbod <behdad@gnome.org> Bug 564644 – Not complete description of the pango_font_description_better_match function * pango/fonts.c: Improve docs even more. svn path=/trunk/; revision=2759
* Bug 564644 – Not complete description of theBehdad Esfahbod2008-12-152-1/+10
| | | | | | | | | | | 2008-12-15 Behdad Esfahbod <behdad@gnome.org> Bug 564644 – Not complete description of the pango_font_description_better_match function * pango/fonts.c: Improve docs. svn path=/trunk/; revision=2758
* Bug 563898 – Generated output is not deterministicBehdad Esfahbod2008-12-143-4/+12
| | | | | | | | | | | | 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
* Don't call exit(). Let us crash.Behdad Esfahbod2008-12-092-7/+6
| | | | | | | | | 2008-12-09 Behdad Esfahbod <behdad@gnome.org> * pango/pangoxft-font.c (pango_xft_font_init), (load_fallback_font): Don't call exit(). Let us crash. svn path=/trunk/; revision=2756
* Bug 563803 – pango_renderer_finalize fails to call parent finalizeBehdad Esfahbod2008-12-092-12/+36
| | | | | | | | | | | | | | | | 2008-12-09 Behdad Esfahbod <behdad@gnome.org> Bug 563803 – pango_renderer_finalize fails to call parent finalize * pango/pango-renderer.c (pango_renderer_class_init), (pango_renderer_finalize): Call parent finalize. * pango/pango-renderer.c (add_strikethrough), (pango_renderer_default_draw_glyph_item), (pango_renderer_default_draw_error_underline): Clean up a bit. svn path=/trunk/; revision=2755
* Bug 499626 – Space should be optional after comma inBehdad Esfahbod2008-12-082-1/+8
| | | | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> Bug 499626 – Space should be optional after comma in PangoFontDescription input string * pango/fonts.c (getword): Don't require space after comma. svn path=/trunk/; revision=2754
* Bug 499624 – Spaces around commas in PangoFontDescription family nameBehdad Esfahbod2008-12-083-5/+28
| | | | | | | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> Bug 499624 – Spaces around commas in PangoFontDescription family name should be trimmed * pango/fonts.c (pango_font_description_from_string): * pango/pangofc-fontmap.c (pango_fc_make_pattern): Do it in pango_font_description_from_string() instead of pangofc backend. svn path=/trunk/; revision=2753
* Bug 499624 – Spaces around commas in PangoFontDescription family nameBehdad Esfahbod2008-12-082-2/+13
| | | | | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> Bug 499624 – Spaces around commas in PangoFontDescription family name should be trimmed * pango/pangofc-fontmap.c (pango_fc_make_pattern): Trim family strings before adding to pattern. svn path=/trunk/; revision=2752
* Bug 563557 – set g_get_prgname() in fc patternBehdad Esfahbod2008-12-087-2/+46
| | | | | | | | | | | | | | | 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
* Add G_MODULE_EXPORT annotation for modules.Behdad Esfahbod2008-12-082-2/+8
| | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> * pango/pango-engine.h: Add G_MODULE_EXPORT annotation for modules. svn path=/trunk/; revision=2750
* Fix docs re NULL language. Also allow NULL desc.Behdad Esfahbod2008-12-072-7/+14
| | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (pango_context_get_metrics): Fix docs re NULL language. Also allow NULL desc. svn path=/trunk/; revision=2749
* Add more debug info if creating scaled font failed.Behdad Esfahbod2008-12-062-0/+19
| | | | | | | | | | 2008-12-06 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_private_get_scaled_font): Add more debug info if creating scaled font failed. svn path=/trunk/; revision=2748
* Bug 563356 – The input area of firefox and the blank width after text inBehdad Esfahbod2008-12-066-4/+57
| | | | | | | | | | | | | | | | | | | | | | 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
* Bug 562574 – Pangocariowin32 is leaking every cairo font it ever createsBehdad Esfahbod2008-11-285-4/+29
| | | | | | | | | | | | | | | | | 2008-11-28 Behdad Esfahbod <behdad@gnome.org> Bug 562574 – Pangocariowin32 is leaking every cairo font it ever creates * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_finalize): * pango/pangocairo-win32font.c (pango_cairo_win32_font_finalize): Finalize shared pangocairo font resources. Oops! * pango/pangocairo-font.c (_pango_cairo_font_private_finalize): Protect against multiple calls to finalize. This is practiced by the pangocairo-fcfont when a font is shutdown and then finalized. svn path=/trunk/; revision=2746
* Handle close_path correctly.Behdad Esfahbod2008-11-262-6/+17
| | | | | | | | | 2008-11-26 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (parametrize_path), (point_on_path): Handle close_path correctly. svn path=/trunk/; revision=2745
* === Released 1.22.3 ===PANGO_1_22_3Behdad Esfahbod2008-11-233-1/+20
| | | | | | | | | | | | 2008-11-23 Behdad Esfahbod <behdad@gnome.org> * === Released 1.22.3 === * configure.in: Version 1.22.3 * NEWS: Updated. svn path=/trunk/; revision=2742
* Minor indentation fixes for previous commit.Theppitak Karoonboonyanan2008-11-222-2/+7
| | | | | | | | | | 2008-11-22 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/thai/thai-lang.c (thai_engine_break): Minor indentation fixes for previous commit. svn path=/trunk/; revision=2741
* Bug 561740 – Use stack allocation for thai_engine_breakChris Wilson2008-11-222-26/+42
| | | | | | | | | | | | 2008-11-22 Chris Wilson <chris@chris-wilson.co.uk> Bug 561740 – Use stack allocation for thai_engine_break * modules/thai/thai-lang.c (utf8_to_tis), (thai_engine_break): Small tweak to allocate small, temporary arrays on the stack. svn path=/trunk/; revision=2740
* Bug 561779 – incorrect calculations in pango_matrix_concatBehdad Esfahbod2008-11-212-1/+9
| | | | | | | | | | | | 2008-11-21 Behdad Esfahbod <behdad@gnome.org> Bug 561779 – incorrect calculations in pango_matrix_concat implementation * pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0 computation. svn path=/trunk/; revision=2739
* Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many arrayBehdad Esfahbod2008-11-192-5/+14
| | | | | | | | | | | 2008-11-19 Behdad Esfahbod <behdad@gnome.org> Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array initializers in pango-language.c * pango/pango-language.c: Don't use anonymous struct. svn path=/trunk/; revision=2738
* Write error code in capital hex.Behdad Esfahbod2008-11-192-3/+9
| | | | | | | | | | 2008-11-19 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-info.c (pango_ot_info_get_gdef), (pango_ot_info_get_gsub), (pango_ot_info_get_gpos): Write error code in capital hex. svn path=/trunk/; revision=2737
* === Released 1.22.2 ===PANGO_1_22_2Behdad Esfahbod2008-10-283-1/+19
| | | | | | | | | | | | 2008-10-28 Behdad Esfahbod <behdad@gnome.org> * === Released 1.22.2 === * configure.in: Version 1.22.2 * NEWS: Updated. svn path=/trunk/; revision=2735
* Bug 558254 – Internal reference handling messed upBehdad Esfahbod2008-10-283-1/+15
| | | | | | | | | | | | 2008-10-28 Behdad Esfahbod <behdad@gnome.org> Bug 558254 – Internal reference handling messed up * pango/pangofc-font.c (pango_fc_font_get_coverage): * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Make sure fonts->fontmap is set to NULL when fontmap finalizes. svn path=/trunk/; revision=2734
* Bug 558107 – is_monospace always returns FALSE in pangoatsuiRichard Hult2008-10-282-13/+42
| | | | | | | | | | | | | 2008-10-27 Richard Hult <richard@imendio.com> Bug 558107 – is_monospace always returns FALSE in pangoatsui * pango/pangoatsui-fontmap.c: (pango_atsui_family_is_monospace), (pango_atsui_font_map_init): Mark families whose faces have the NSFixedPitchFontMask set as monospaced, and use this in the is_monospace implementation. svn path=/trunk/; revision=2733
* Bug 557620 – pango_font_description_from_string not correctBehdad Esfahbod2008-10-232-5/+10
| | | | | | | | | | | 2008-10-23 Behdad Esfahbod <behdad@gnome.org> Bug 557620 – pango_font_description_from_string not correct * pango/fonts.c (find_field_any): Fix parsing of "normal" when not at the end of string. svn path=/trunk/; revision=2732
* === Released 1.22.1 ===Behdad Esfahbod2008-10-233-1/+26
| | | | | | | | | | | | 2008-10-20 Behdad Esfahbod <behdad@gnome.org> * === Released 1.22.1 === * configure.in: Version 1.22.1 * NEWS: Updated. svn path=/trunk/; revision=2731
* Bug 528272 – "Error loading GPOS table 5503" when using katakanaBehdad Esfahbod2008-10-152-0/+15
| | | | | | | | | | | | 2008-10-14 Behdad Esfahbod <behdad@gnome.org> Bug 528272 – "Error loading GPOS table 5503" when using katakana characters * pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing null anchor tables. svn path=/trunk/; revision=2730
* Bug 552107 – Small libtool fixesBehdad Esfahbod2008-10-102-1/+10
| | | | | | | | | | | 2008-10-10 Behdad Esfahbod <behdad@gnome.org> Bug 552107 – Small libtool fixes * configure.in: Regenerate libtool early, quote $deplibs_check_method. Patch by Patryk Zawadzki svn path=/trunk/; revision=2729
* Fix a gcc warning.Kjartan Maraas2008-10-102-1/+5
| | | | | | | | 2008-10-10 Kjartan Maraas <kmaraas@gnome.org> * pango/pangox.c: (get_context_info): Fix a gcc warning. svn path=/trunk/; revision=2728
* Bug 539623 – document that pango_color_parse accepts NULLChristian Persch2008-10-082-1/+7
| | | | svn path=/trunk/; revision=2727
* Bug 555219 – Memory leak when using pango_layout_iter_copy Patch fromBehdad Esfahbod2008-10-062-2/+9
| | | | | | | | | | | | 2008-10-06 Behdad Esfahbod <behdad@gnome.org> Bug 555219 – Memory leak when using pango_layout_iter_copy Patch from Falk Rohsiepe * pango/pango-layout.c (pango_layout_iter_copy): Use gslice, not memdup. Oops! svn path=/trunk/; revision=2726
* Fix left-to-right positioning. Reported by Peter Hunter.Behdad Esfahbod2008-09-292-1/+6
| | | | | | | | | 2008-09-29 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-gpos.c (Position_CursiveChain): Fix left-to-right positioning. Reported by Peter Hunter. svn path=/trunk/; revision=2725
* Improve Japanese textBehdad Esfahbod2008-09-232-1/+8
| | | | svn path=/trunk/; revision=2724
* === Released 1.22.0 ===PANGO_1_22_0Behdad Esfahbod2008-09-223-2/+22
| | | | | | | | | | | | 2008-09-22 Behdad Esfahbod <behdad@gnome.org> * === Released 1.22.0 === * configure.in: Version 1.22.0 * NEWS: Updated. svn path=/trunk/; revision=2722
* Update to cairo-1.7.6 API.Behdad Esfahbod2008-09-223-3/+10
| | | | | | | | | | | 2008-09-22 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/pangocairo-render.c (pango_cairo_renderer_show_text_glyphs), (save_current_point): Update to cairo-1.7.6 API. svn path=/trunk/; revision=2721
* Bug 552993 – Romanian pangramBehdad Esfahbod2008-09-202-5/+12
| | | | | | | | | | | 2008-09-20 Behdad Esfahbod <behdad@gnome.org> Bug 552993 – Romanian pangram * pango/pango-language-sample-table.h: New Romanian sample text from Misu Moldovan. svn path=/trunk/; revision=2720
* Drop pango.aliases as we have a default such built-in nowadays.Tor Lillqvist2008-09-182-1/+5
| | | | | | | | | | 2008-09-18 Tor Lillqvist <tml@novell.com> * pango-zip.sh.in: Drop pango.aliases as we have a default such built-in nowadays. svn path=/trunk/; revision=2719
* Don't use the deprectated g_win32_get_package_installation_subdirectory().Tor Lillqvist2008-09-132-15/+43
| | | | | | | | | | | | | | 2008-09-13 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c: Don't use the deprectated g_win32_get_package_installation_subdirectory(). Use g_win32_get_package_installation_directory_of_module() instead. Also, don't use the deprecated silly G_WIN32_DLLMAIN_FOR_DLL_NAME() macro, but an explicit minimal DllMain() that just saves the DLL handle. svn path=/trunk/; revision=2718
* Bug 551865 – Can't change justification of a PangoLayout after firstBehdad Esfahbod2008-09-112-11/+39
| | | | | | | | | | | | | | 2008-09-11 Behdad Esfahbod <behdad@gnome.org> Bug 551865 – Can't change justification of a PangoLayout after first draw * pango/pango-layout.c (pango_layout_set_attributes), (pango_layout_set_font_description), (pango_layout_set_justify), (pango_layout_set_alignment), (pango_layout_set_tabs): Invalidate layout after property change. Oops! svn path=/trunk/; revision=2717
* Bug 551416 - pangowin32-fontcache.c: argument is different typeTor Lillqvist2008-09-082-2/+9
| | | | | | | | | | | | 2008-09-08 Tor Lillqvist <tml@novell.com> Bug 551416 - pangowin32-fontcache.c: argument is different type * pango/pangowin32-fontcache.c: Pass address of int to g_atomic_int_inc(). svn path=/trunk/; revision=2716
* === Released 1.21.6 ===PANGO_1_21_6Behdad Esfahbod2008-09-083-1/+19
| | | | | | | | | | | | 2008-09-08 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.6 === * configure.in: Version 1.21.6 * NEWS: Updated. svn path=/trunk/; revision=2714
* Bug 550659 – configure.in ignores a win32 backend only scenarioAlberto Ruiz2008-09-032-1/+7
| | | | | | | | | | | 2008-09-03 Alberto Ruiz <aruiz@gnome.org> Bug 550659 – configure.in ignores a win32 backend only scenario * configure.in: Added $have_win32 check svn path=/trunk/; revision=2713
* Bug 549758 – Swedish font sample text could use punctuationBehdad Esfahbod2008-08-282-14/+21
| | | | | | | | | | | 2008-08-28 Behdad Esfahbod <behdad@gnome.org> Bug 549758 – Swedish font sample text could use punctuation * pango/pango-language-sample-table.h: Add final punctuation to many that were missing one. svn path=/trunk/; revision=2712
* Bug 549522 – New pt_BR pangram for pangoBehdad Esfahbod2008-08-272-2/+10
| | | | | | | | | | | 2008-08-27 Behdad Esfahbod <behdad@gnome.org> Bug 549522 – New pt_BR pangram for pango * pango/pango-language-sample-table.h: Change pt_BR string as per Leonardo Ferreira Fontenelle's suggestion. svn path=/trunk/; revision=2711
* Bug 549520 – fr sample stringBehdad Esfahbod2008-08-262-3/+10
| | | | | | | | | | | 2008-08-26 Behdad Esfahbod <behdad@gnome.org> Bug 549520 – fr sample string * pango/pango-language-sample-table.h: Change French sample string as per Vincent Untz's suggestion. svn path=/trunk/; revision=2710