summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bug 506284 – docs typo for pango_coverage_unref Patch from ChristianPANGO_1_18_4Behdad Esfahbod2007-12-292-2/+9
| | | | | | | | | | | | 2007-12-29 Behdad Esfahbod <behdad@gnome.org> Bug 506284 – docs typo for pango_coverage_unref Patch from Christian Persch * pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs. svn path=/trunk/; revision=2532
* Check for dummy man pages in dist-local.Behdad Esfahbod2007-12-212-1/+10
| | | | | | | | | 2007-12-21 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am: Check for dummy man pages in dist-local. svn path=/trunk/; revision=2531
* Bug 504802 – build failure: No rule to make targetBehdad Esfahbod2007-12-212-4/+14
| | | | | | | | | | | | | 2007-12-21 Behdad Esfahbod <behdad@gnome.org> Bug 504802 – build failure: No rule to make target `pango-querymodules.1', needed by `all-am'. Stop. * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't exsits (SVN checkout) and --enable-man is not used. svn path=/trunk/; revision=2530
* Bug 504585 – pango-querymodules.1 syntax errorBehdad Esfahbod2007-12-204-52/+12
| | | | | | | | | | | | | | | 2007-12-19 Behdad Esfahbod <behdad@gnome.org> Bug 504585 – pango-querymodules.1 syntax error * Makefile.am: * docs/Makefile.am: * docs/pango-querymodules.1: Fix man-page generation rule, also remove pango-querymodules.1 from SVN so it's regenerated from XML at dist time. svn path=/trunk/; revision=2529
* Red Hat Bug 426178: gtkdoc-scan fails on pangoBehdad Esfahbod2007-12-204-17/+39
| | | | | | | | | | | | | | | | | | | | | | | 2007-12-19 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 426178: gtkdoc-scan fails on pango * docs/pango-sections.txt: * pango/pango-ot-private.h: * pango/pango-ot.h: Make the following symbols available to engines: PANGO_IS_OT_INFO PANGO_IS_OT_RULESET PANGO_OT_INFO PANGO_OT_RULESET PANGO_TYPE_OT_INFO PANGO_TYPE_OT_RULESET pango_ot_info_get_type pango_ot_ruleset_get_type svn path=/trunk/; revision=2528
* === Released 1.19.2 ===PANGO_1_19_2Behdad Esfahbod2007-12-173-2/+31
| | | | | | | | | | | | | 2007-12-17 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.2 === * configure.in: Version 1.19.2 * NEWS: Updated. svn path=/trunk/; revision=2526
* use pkg-config to detect cairo featuresBenjamin Otte2007-12-132-9/+13
| | | | | | * configure.in: use pkg-config to detect cairo features svn path=/trunk/; revision=2525
* Better fix: set both LIBS and LDFLAGS.Behdad Esfahbod2007-12-112-2/+9
| | | | | | | | | 2007-12-10 Behdad Esfahbod <behdad@gnome.org> * configure.in: Better fix: set both LIBS and LDFLAGS. svn path=/trunk/; revision=2524
* Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairoBehdad Esfahbod2007-12-102-3/+9
| | | | | | | | | | | 2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo * configure.in: Fix cairo library checking. svn path=/trunk/; revision=2522
* Improve pango_cairo_font_map_get_default() docs.Behdad Esfahbod2007-12-102-1/+11
| | | | | | | | | | 2007-12-10 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c: Improve pango_cairo_font_map_get_default() docs. svn path=/trunk/; revision=2521
* Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()Behdad Esfahbod2007-12-102-8/+16
| | | | | | | | | | | | 2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int() * pango/pango-markup.c (span_parse_func): Use pango_scan_int() and improve error message on parse failure. svn path=/trunk/; revision=2520
* Bug 478914 – Use something invalid instead of '?' when validating inputBehdad Esfahbod2007-12-1023-252/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 478914 – Use something invalid instead of '?' when validating input text * pango/pango-layout.c (pango_layout_set_text): Set invalid input bytes to -1, which gives a unichar value of -1, and eventually a glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT. * pango/fonts.c (pango_font_get_glyph_extents), (pango_font_get_metrics), (pango_font_get_font_map): * pango/modules.c (build_map): * pango/pango-context.c (get_script), (get_shaper_and_font), (string_from_script), (itemize_state_process_run): * pango/pango-coverage.c (pango_coverage_get): * pango/pango-impl-utils.h: * pango/pango-utils.c: * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font), (_pango_cairo_font_private_get_hex_box_info), (_pango_cairo_font_private_get_glyph_extents_missing): * pango/pangocairo-private.h: * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame), (_pango_cairo_renderer_draw_box_glyph), (_pango_cairo_renderer_draw_unknown_glyph): * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns): * pango/pangoft2-private.h: * pango/pangoft2-render.c (pango_ft2_font_render_box_glyph), (pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph): * pango/pangoft2.c (pango_ft2_font_get_face), (pango_ft2_font_get_glyph_extents): * pango/pangox.c (pango_x_find_subfont), (pango_x_render): * pango/pangoxft-font.c (_pango_xft_font_get_mini_font), (get_glyph_extents_missing), (pango_xft_font_get_font): * pango/pangoxft-private.h: * pango/pangoxft-render.c (get_total_matrix), (draw_box), (_pango_xft_renderer_draw_box_glyph), (_pango_xft_renderer_draw_unknown_glyph), (pango_xft_renderer_draw_glyphs): * pango/shape.c (pango_shape): Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross inside. Also cleanup spewed warnings and warn at the source, where we fail to find a shaper, instead of at every location that we see a NULL font. * pango/pango-font.h: * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: New public macro: PANGO_GLYPH_INVALID_INPUT svn path=/trunk/; revision=2519
* Minor doc improvement.Behdad Esfahbod2007-12-071-1/+1
| | | | svn path=/trunk/; revision=2518
* Optimize double math.Behdad Esfahbod2007-12-062-46/+74
| | | | | | | | | 2007-12-05 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (point_on_path): Optimize double math. svn path=/trunk/; revision=2517
* Bug 501938 – Arabic shaping broken with vertical layout withBehdad Esfahbod2007-12-062-1/+11
| | | | | | | | | | | | | 2007-12-05 Behdad Esfahbod <behdad@gnome.org> Bug 501938 – Arabic shaping broken with vertical layout with vertical-hint=line * modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into equation when deciding whether to shape visually or logically. svn path=/trunk/; revision=2516
* Fix assertion in pango_gravity_get_rotation().Behdad Esfahbod2007-12-062-1/+6
| | | | | | | | | | 2007-12-05 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-pangocairo.c (render_callback): Fix assertion in pango_gravity_get_rotation(). svn path=/trunk/; revision=2515
* Bug 501575 – Compile errors Patch from Jens GranseuerBehdad Esfahbod2007-12-053-3/+12
| | | | | | | | | | | | | | 2007-12-04 Behdad Esfahbod <behdad@gnome.org> Bug 501575 – Compile errors Patch from Jens Granseuer * pango/opentype/harfbuzz-stream.c (_hb_font_goto_table): * pango/pango-utils.c (handle_alias_line): Fix C99ism. svn path=/trunk/; revision=2514
* === Released 1.19.1 ===PANGO_1_19_1Behdad Esfahbod2007-12-043-2/+21
| | | | | | | | | | | | | 2007-12-03 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.1 === * configure.in: Version 1.19.1 * NEWS: Updated. svn path=/trunk/; revision=2512
* Bug 501317 – "and" found where word should be "an"Behdad Esfahbod2007-12-032-1/+7
| | | | | | | | | | | 2007-12-03 Behdad Esfahbod <behdad@gnome.org> Bug 501317 – "and" found where word should be "an" * docs/tmpl/layout.sgml: Fix typo. svn path=/trunk/; revision=2511
* Add some more comments to document the math involved.Behdad Esfahbod2007-12-032-4/+26
| | | | | | | | | | 2007-12-03 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c: Add some more comments to document the math involved. svn path=/trunk/; revision=2510
* Document cairotwisted example.Behdad Esfahbod2007-11-302-123/+171
| | | | | | | | | | | 2007-11-30 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (two_points_distance), (curve_length), (parametrize_path), (point_on_path), (draw_twisted), (main): Document cairotwisted example. svn path=/trunk/; revision=2509
* Undo accidental change.Behdad Esfahbod2007-11-301-2/+0
| | | | svn path=/trunk/; revision=2508
* Add some documentation.Behdad Esfahbod2007-11-301-0/+4
| | | | | | | | | 2007-11-29 Behdad Esfahbod <behdad@gnome.org> * example/cairo*.c: Add some documentation. svn path=/trunk/; revision=2507
* Bug 485536 – underline_position can be zeroBehdad Esfahbod2007-11-308-20/+87
| | | | | | | | | | | | | | | | | 2007-11-29 Behdad Esfahbod <behdad@gnome.org> Bug 485536 – underline_position can be zero * pango/pango-utils.c (pango_cairo_quantize_line_geometry): Document that returned position may be zero. * pango/pangocairo-win32font.c (pango_cairo_win32_font_create_metrics_for_context): * pango/pangofc-font.c (get_face_metrics): Handle case of underline_position==0 after rounding. svn path=/trunk/; revision=2506
* Bug 500549 – pangocairo.h should include pango.h and cairo.hBehdad Esfahbod2007-11-292-3/+7
| | | | | | | | | | | 2007-11-29 Behdad Esfahbod <behdad@gnome.org> Bug 500549 – pangocairo.h should include pango.h and cairo.h * pango/pangocairo.h: #include <pango/pango.h> svn path=/trunk/; revision=2505
* Make it reusable by not hardcoding "pango".Behdad Esfahbod2007-11-242-9/+23
| | | | | | | | | 2007-11-23 Behdad Esfahbod <behdad@gnome.org> * docs/check.docs: Make it reusable by not hardcoding "pango". svn path=/trunk/; revision=2504
* Remove unused macro.Behdad Esfahbod2007-11-242-18/+4
| | | | | | | | | 2007-11-23 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/harfbuzz-impl.c: Remove unused macro. svn path=/trunk/; revision=2503
* MinorBehdad Esfahbod2007-11-182-47/+46
| | | | svn path=/trunk/; revision=2502
* Replace GNU-specific syntax with more general one.Behdad Esfahbod2007-11-182-1/+5
| | | | | | | | | 2007-11-18 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am: Replace GNU-specific syntax with more general one. svn path=/trunk/; revision=2501
* Replace GNU-specific syntax with more common Makefile.am syntaxBehdad Esfahbod2007-11-181-1/+1
| | | | svn path=/trunk/; revision=2500
* s/CVS/SVN/Behdad Esfahbod2007-11-181-1/+1
| | | | svn path=/trunk/; revision=2499
* Factor out the common code from read_builtin_aliases() andTor Lillqvist2007-11-162-168/+116
| | | | | | | | | | 2007-11-16 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c (handle_alias_line): Factor out the common code from read_builtin_aliases() and read_alias_file(). (#492517) svn path=/trunk/; revision=2498
* Include ATSUI included modules.Behdad Esfahbod2007-11-092-0/+5
| | | | | | | | | 2007-11-09 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: Include ATSUI included modules. svn path=/trunk/; revision=2497
* Bug 495091 – pango-utils.c:variable is declared at middle of blockBehdad Esfahbod2007-11-082-1/+9
| | | | | | | | | | | | 2007-11-08 Behdad Esfahbod <behdad@gnome.org> Bug 495091 – pango-utils.c:variable is declared at middle of block * pango/pango-utils.c (read_builtin_aliases): Move variable declaraction before code. svn path=/trunk/; revision=2496
* Remove dead code.Behdad Esfahbod2007-11-072-91/+1
| | | | svn path=/trunk/; revision=2495
* And some more.Behdad Esfahbod2007-11-0712-96/+99
| | | | | | | | | 2007-11-07 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: And some more. svn path=/trunk/; revision=2494
* Some more cleanup and merging.Behdad Esfahbod2007-11-0719-372/+423
| | | | | | | | | 2007-11-07 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Some more cleanup and merging. svn path=/trunk/; revision=2493
* Update to new propsed language enumeration API for fontconfig.Behdad Esfahbod2007-11-052-2/+10
| | | | | | | | | | 2007-11-05 Behdad Esfahbod <behdad@gnome.org> * tools/gen-script-for-lang-new.c (scripts_for_lang), (main): Update to new propsed language enumeration API for fontconfig. svn path=/trunk/; revision=2492
* On Windows store the default aliases file in a string array. (#492517)Tor Lillqvist2007-11-032-1/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-02 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c (read_builtin_aliases, pango_load_aliases): On Windows store the default aliases file in a string array. (#492517) Compared to the pango.aliases file as distributed with my most recent Windows builds there are some changes: Add the DejaVu fonts as the first ones listed for the generic sans, serif and mono font names. Use Tahoma instead of Arial for sans, and Georgia instead of Times New Roman for serif (to be used if the DejaVu fonts aren't present). Add Arial Unicode MS (a font with quite large coverage that comes with MS Office and thus is often available). Add Sylfaen (the Armenian and Georgian font bundled with Windows). When using the MS-Windows theme the font used by GTK+ will the system UI one. Both fonts typically used as system fonts, Tahoma (on XP) and Segoe UI (on Vista), are aliased here. * pango/pango-utils.c (read_alias_file): Accept also a quoted string for the left-hand side of an aliases file line. This is to enable aliasing fonts with spaces in their name, like "Segoe UI" which is the default system font on Vista. (#492504) (With the above built-in default aliases lists, no actual pango.aliases file is longer required on Windows for non-Latin script support, though.) svn path=/trunk/; revision=2489
* Improve vertical docs.Behdad Esfahbod2007-10-304-12/+56
| | | | | | | | | | | | 2007-10-30 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: Improve vertical docs. svn path=/trunk/; revision=2488
* === Released 1.19.0 ===Behdad Esfahbod2007-10-303-3/+123
| | | | | | | | | | | | | 2007-10-29 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.0 === * configure.in: Version 1.19.0 * NEWS: Updated. svn path=/trunk/; revision=2487
* Fix typo.Behdad Esfahbod2007-10-291-2/+3
| | | | svn path=/trunk/; revision=2486
* Sort scripts based on frequency.Behdad Esfahbod2007-10-284-212/+309
| | | | | | | | | | | | | 2007-10-28 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script-lang-table.h: * tools/gen-script-for-lang-new.c: Sort scripts based on frequency. * tools/Makefile.am: Don't build anything by default. svn path=/trunk/; revision=2485
* Adds a link to pango_font_description_from_string() so that the font_descMurray Cumming2007-10-272-5/+12
| | | | | | | | | | 2007-10-26 Murray Cumming <murrayc@murrayc.com> * docs/pango_markup.sgml: Adds a link to pango_font_description_from_string() so that the font_desc attribute is not so mysterious. Bug #490661. svn path=/trunk/; revision=2483
* Functional dup of gen-script-for-lang that uses FcGetLangs() andBehdad Esfahbod2007-10-263-1/+234
| | | | | | | | | | | | 2007-10-26 Behdad Esfahbod <behdad@gnome.org> * tools/Makefile.am: * tools/gen-script-for-lang-new.c: Functional dup of gen-script-for-lang that uses FcGetLangs() and FcCharSetForLang() instead of parsing .orth files. svn path=/trunk/; revision=2482
* CosmeticBehdad Esfahbod2007-10-261-1/+0
| | | | svn path=/trunk/; revision=2481
* Update for fontconfig-2.4.91.Behdad Esfahbod2007-10-262-2/+10
| | | | | | | | | 2007-10-26 Behdad Esfahbod <behdad@gnome.org> * pango/pango-script-lang-table.h: Update for fontconfig-2.4.91. svn path=/trunk/; revision=2480
* Call FcFontSetDestroy() instead of FcFontSetSortDestroy(). These days theyBehdad Esfahbod2007-10-262-1/+10
| | | | | | | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns): Call FcFontSetDestroy() instead of FcFontSetSortDestroy(). These days they are the same, but previously the latter was not freeing the actual patterns. But we don't need the sort patterns, so this retroactively fixes a leak in older versions! svn path=/trunk/; revision=2479
* Even more cleanup and more type renames.Behdad Esfahbod2007-10-259-44/+50
| | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: Even more cleanup and more type renames. svn path=/trunk/; revision=2478
* More cleanup, remove redundant error types.Behdad Esfahbod2007-10-2515-180/+181
| | | | | | | | | 2007-10-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: More cleanup, remove redundant error types. svn path=/trunk/; revision=2477