summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserveBehdad Esfahbod2008-04-212-26/+55
| | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve current point * pango/pangocairo-render.c (_pango_cairo_renderer_draw_box_glyph), (_pango_cairo_renderer_draw_unknown_glyph), (acquire_renderer), (release_renderer), (save_current_point), (restore_current_point), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Preserve current point around pango_cairo_* functions(). svn path=/trunk/; revision=2602
* Require cairo >= 1.6.4. Remove compat cruft that were added to supportBehdad Esfahbod2008-04-215-17/+17
| | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_create_font_face): * pango/pangocairo-fontmap.c (pango_cairo_font_map_new_for_font_type): Require cairo >= 1.6.4. Remove compat cruft that were added to support older cairo that had cairo-atsui instead of cairo-quartz-font. svn path=/trunk/; revision=2601
* Bug 514617 – Add pango_cairo_font_map_set_default()Behdad Esfahbod2008-04-216-3/+62
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 514617 – Add pango_cairo_font_map_set_default() * docs/pango-sections.txt: * docs/tmpl/pangocairo.sgml: * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default), (pango_cairo_font_map_set_default): * pango/pangocairo.def: * pango/pangocairo.h: New public API: pango_cairo_font_map_set_default() svn path=/trunk/; revision=2600
* Add index of new API in 1.22.Behdad Esfahbod2008-04-212-0/+7
| | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango-docs.sgml: Add index of new API in 1.22. svn path=/trunk/; revision=2599
* Bug 511183 – Add pango_attr_type_get_name()Behdad Esfahbod2008-04-216-4/+68
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 511183 – Add pango_attr_type_get_name() * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c (pango_attr_type_register), (pango_attr_type_get_name): * pango/pango-attributes.h: * pango/pango.def: New public API: pango_attr_type_get_name() svn path=/trunk/; revision=2598
* Write err to stderrBehdad Esfahbod2008-04-211-1/+1
| | | | svn path=/trunk/; revision=2597
* Write out HarfBuzz errors as hex.Behdad Esfahbod2008-04-212-3/+9
| | | | | | | | | | | 2008-04-20 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 out HarfBuzz errors as hex. svn path=/trunk/; revision=2596
* === Released 1.20.2 ===PANGO_1_20_2Behdad Esfahbod2008-04-093-1/+13
| | | | | | | | | | | | | 2008-04-09 Behdad Esfahbod <behdad@gnome.org> * === Released 1.20.2 === * configure.in: Version 1.20.2 * NEWS: Updated. svn path=/trunk/; revision=2592
* Really fix build without cairo-atsui.Behdad Esfahbod2008-04-093-1/+8
| | | | | | | | | | | 2008-04-09 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c: Really fix build without cairo-atsui. svn path=/trunk/; revision=2591
* === Released 1.20.1 ===PANGO_1_20_1Behdad Esfahbod2008-04-083-2/+19
| | | | | | | | | | | | | 2008-04-08 Behdad Esfahbod <behdad@gnome.org> * === Released 1.20.1 === * configure.in: Version 1.20.1 * NEWS: Updated. svn path=/trunk/; revision=2589
* Minor.Behdad Esfahbod2008-04-081-4/+0
| | | | svn path=/trunk/; revision=2588
* Bug 491553 – Update to Unicode 5.1.0Behdad Esfahbod2008-04-086-106/+261
| | | | | | | | | | | | | | | | | | 2008-04-08 Behdad Esfahbod <behdad@gnome.org> Bug 491553 – Update to Unicode 5.1.0 * docs/tmpl/scripts.sgml: * pango/mini-fribidi/README: * pango/mini-fribidi/fribidi_tab_char_type_2.i: * pango/pango-script-lang-table.h: * pango/pango-script.h: Update to Unicode Character Databse 5.1.0. This adds new entries to the PangoScript enum. Requires glib >= 2.16.3 for the update Unicode data there, but not bumping the requirement in a stable point release. svn path=/trunk/; revision=2587
* Try making our OS X stuff compile with latest cairo 1.5.x snapshots thatBehdad Esfahbod2008-04-084-0/+18
| | | | | | | | | | | | | 2008-04-08 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.c: Try making our OS X stuff compile with latest cairo 1.5.x snapshots that renamed cairo-atsui to cairo-quartz-font. svn path=/trunk/; revision=2586
* Fix check for Carbon/Carbon.h availability. Oops!Behdad Esfahbod2008-04-082-1/+5
| | | | | | | | | 2008-04-08 Behdad Esfahbod <behdad@gnome.org> * configure.in: Fix check for Carbon/Carbon.h availability. Oops! svn path=/trunk/; revision=2585
* When doing ALIGN_CENTER, round line offset to whole pixel if hinting.Behdad Esfahbod2008-03-212-2/+12
| | | | | | | | | | 2008-03-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (get_x_offset): When doing ALIGN_CENTER, round line offset to whole pixel if hinting. svn path=/trunk/; revision=2584
* Adapt the shear matrix for synthesized italic to work with cairo 1.5.13+,Richard Hult2008-03-112-2/+18
| | | | | | | | | | | 2008-03-11 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new): Adapt the shear matrix for synthesized italic to work with cairo 1.5.13+, where the quartz surface has been fixed for transformed text. svn path=/trunk/; revision=2583
* === Released 1.20.0 ===PANGO_1_20_0Behdad Esfahbod2008-03-103-2/+17
| | | | | | | | | | | | | 2008-03-10 Behdad Esfahbod <behdad@gnome.org> * === Released 1.20.0 === * configure.in: Version 1.20.0 * NEWS: Updated. svn path=/trunk/; revision=2581
* Bug 518084 – Thai is not Virama language Patch from TheppitakBehdad Esfahbod2008-02-282-1/+7
| | | | | | | | | | | | 2008-02-28 Behdad Esfahbod <behdad@gnome.org> Bug 518084 – Thai is not Virama language Patch from Theppitak Karoonboonyanan * pango/break.c: Remove Thai Phinthu from VIRAMA() svn path=/trunk/; revision=2580
* === Released 1.19.4 ===PANGO_1_19_4Behdad Esfahbod2008-02-263-1/+33
| | | | | | | | | | | | | 2008-02-25 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.4 === * configure.in: Version 1.19.4 * NEWS: Updated. svn path=/trunk/; revision=2578
* Bug 511172 – pango_layout_set_height() with positive height always showsBehdad Esfahbod2008-02-262-9/+36
| | | | | | | | | | | | | | | | 2008-02-25 Behdad Esfahbod <behdad@gnome.org> Bug 511172 – pango_layout_set_height() with positive height always shows at least two lines * pango/pango-layout.c (should_ellipsize_current_line), (pango_layout_check_lines), (pango_layout_get_empty_extents_at_index), (pango_layout_line_get_empty_extents): Initialize line_height using empty-line extents. svn path=/trunk/; revision=2577
* Minor edit.Tor Lillqvist2008-02-251-2/+2
| | | | svn path=/trunk/; revision=2576
* Bug 515484 -- Uniscribe interface handles surrogate pairs incorrectlyTor Lillqvist2008-02-252-2/+12
| | | | | | | | | | | | | | | 2008-02-25 Tor Lillqvist <tml@novell.com> Bug 515484 -- Uniscribe interface handles surrogate pairs incorrectly * modules/basic/basic-win32.c (itemize_shape_and_place): Pass correctly offset wchar string to set_up_pango_log_clusters() so that when it passes the string on to unichar_index() it notices the surrogate pairs correctly. svn path=/trunk/; revision=2574
* Bug 515484: Pango on Windows is missing Type 1 font support Patch fromTor Lillqvist2008-02-244-13/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-24 Tor Lillqvist <tml@novell.com> Bug 515484: Pango on Windows is missing Type 1 font support Patch from Adrian Johnson. * pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field that tells whether the font has a cmap or not. A Type 1 font doesn't. * pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New static function. Uses GetGlyphIndicesW() to get the glyph indices for Type 1 fonts. Possibly also TrueType fonts that for some reason lack the cmap formats we understand. (pango_win32_font_calc_type1_coverage): New static function. Uses GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and possibly TrueType fonts that lack the cmap formats we understand. (pango_win32_font_get_glyph_index): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_get_type1_glyph_index() in that case. (pango_win32_font_calc_coverage): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_calc_type1_coverage() in that case. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also Type 1 fonts. (pango_win32_insert_font): Initialise has_cmap tentativaly to True. svn path=/trunk/; revision=2573
* Oops, fix the coding style. My editor ate the space...Kristian Rietveld2008-02-211-1/+1
| | | | svn path=/trunk/; revision=2572
* free the ATSU style and utf16 string at the end.Kristian Rietveld2008-02-212-0/+8
| | | | | | | | | | 2008-02-21 Kristian Rietveld <kris@imendio.com> * modules/basic/basic-atsui.c (basic_engine_shape): free the ATSU style and utf16 string at the end. svn path=/trunk/; revision=2571
* Bug 517083 – pango modules: wrong fallback adding code?Behdad Esfahbod2008-02-172-1/+7
| | | | | | | | | | | 2008-02-17 Behdad Esfahbod <behdad@gnome.org> Bug 517083 – pango modules: wrong fallback adding code? * pango/modules.c (map_add_engine): Fix typo. svn path=/trunk/; revision=2569
* Improve docs.Behdad Esfahbod2008-02-172-0/+9
| | | | | | | | | 2008-02-17 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c: Improve docs. svn path=/trunk/; revision=2568
* Improve docs.Behdad Esfahbod2008-02-152-1/+11
| | | | | | | | | 2008-02-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c: Improve docs. svn path=/trunk/; revision=2567
* Bug 515484: Pango on Windows is missing non-TrueType font support PatchTor Lillqvist2008-02-132-12/+28
| | | | | | | | | | | | | | | 2008-02-14 Tor Lillqvist <tml@novell.com> Bug 515484: Pango on Windows is missing non-TrueType font support Patch from Adrian Johnson. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also OpenType/PS fonts. Interpret the metrics parameter as a NEWTEXTMETRICW struct and check the ntmFlags field. svn path=/trunk/; revision=2566
* indentation.Sven Neumann2008-02-132-8/+14
| | | | | | | | 2008-02-13 Sven Neumann <sven@gimp.org> * pango/pangoft2.c: indentation. svn path=/trunk/; revision=2565
* Bug 515484 – Variable is initialized twiceDominic Lachowicz2008-02-102-1/+8
| | | | | | | | | | | | 2008-02-09 Dominic Lachowicz <domlachowicz@gmail.com> Bug 515484 – Variable is initialized twice * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): Variable was initialized twice. svn path=/trunk/; revision=2564
* Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is notBehdad Esfahbod2008-02-083-1/+17
| | | | | | | | | | | | | | | 2008-02-08 Behdad Esfahbod <behdad@gnome.org> Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not rendered correctly Patch from Praveen A * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): "Fix" it. svn path=/trunk/; revision=2562
* Oops. Add fontconfig cflags/libs with freetype's.Behdad Esfahbod2008-01-292-0/+7
| | | | | | | | | 2008-01-29 Behdad Esfahbod <behdad@gnome.org> * configure.in: Oops. Add fontconfig cflags/libs with freetype's. svn path=/trunk/; revision=2561
* Bug 496244 – Don't use freetype-config, use pkg-configBehdad Esfahbod2008-01-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-29 Behdad Esfahbod <behdad@gnome.org> Bug 496244 – Don't use freetype-config, use pkg-config * configure.in: Don't use freetype-config. Also cleanup lots of old stale macros around configure.in. * pango-uninstalled.pc.in: * pango.pc.in: * pangocairo-uninstalled.pc.in: * pangocairo.pc.in: * pangoft2-uninstalled.pc.in: * pangoft2.pc.in: * pangowin32.pc.in: * pangox-uninstalled.pc.in: * pangox.pc.in: * pangoxft-uninstalled.pc.in: * pangoxft.pc.in: And cleaned up all the pkg-config files as a result. svn path=/trunk/; revision=2560
* Bug 496244 – Don't use freetype-config, use pkg-configBehdad Esfahbod2008-01-2912-106/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-29 Behdad Esfahbod <behdad@gnome.org> Bug 496244 – Don't use freetype-config, use pkg-config * configure.in: Don't use freetype-config. Also cleanup lots of old stale macros around configure.in. * pango-uninstalled.pc.in: * pango.pc.in: * pangocairo-uninstalled.pc.in: * pangocairo.pc.in: * pangoft2-uninstalled.pc.in: * pangoft2.pc.in: * pangowin32.pc.in: * pangox-uninstalled.pc.in: * pangox.pc.in: * pangoxft-uninstalled.pc.in: * pangoxft.pc.in: And cleaned up all the pkg-config files as a result. svn path=/trunk/; revision=2559
* MinorBehdad Esfahbod2008-01-281-10/+14
| | | | svn path=/trunk/; revision=2558
* Bug 512566 – dont' use deprecated macro Patch from Christian PerschBehdad Esfahbod2008-01-283-4/+14
| | | | | | | | | | | | | | 2008-01-28 Behdad Esfahbod <behdad@gnome.org> Bug 512566 – dont' use deprecated macro Patch from Christian Persch * tests/test-ot-tags.c: * tests/testscript.c: Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC svn path=/trunk/; revision=2557
* add bug numberWouter Bolsterlee2008-01-281-1/+1
| | | | svn path=/trunk/; revision=2556
* Fixed gtk-doc warnings.Wouter Bolsterlee2008-01-287-10/+21
| | | | | | | | | | | | | | | 2008-01-28 Wouter Bolsterlee <wbolster@svn.gnome.org> * pango/pango-context.c: * pango/pango-fontmap.c: * pango/pango-utils.c: * pango/pangofc-fontmap.h: * pango/pangox.c: * pango/reorder-items.c: Fixed gtk-doc warnings. svn path=/trunk/; revision=2555
* Minor reordering to make debugging easier.Behdad Esfahbod2008-01-251-2/+3
| | | | svn path=/trunk/; revision=2554
* Remove unused macroBehdad Esfahbod2008-01-241-2/+0
| | | | svn path=/trunk/; revision=2553
* === Released 1.19.3 ===PANGO_1_19_3Behdad Esfahbod2008-01-223-2/+83
| | | | | | | | | | | | | 2008-01-21 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.3 === * configure.in: Version 1.19.3 * NEWS: Updated. svn path=/trunk/; revision=2551
* Fix typo.Behdad Esfahbod2008-01-221-1/+1
| | | | svn path=/trunk/; revision=2550
* Mark behavior as undefined if height is not -1 and ellipsize mode isBehdad Esfahbod2008-01-222-4/+11
| | | | | | | | | | | 2008-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_set_height()): Mark behavior as undefined if height is not -1 and ellipsize mode is PANGO_ELLIPSIZE_NONE. svn path=/trunk/; revision=2549
* Bug 508002 – change pango_layout_pixel_extents() to round logical rectBehdad Esfahbod2008-01-226-45/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-21 Behdad Esfahbod <behdad@gnome.org> Bug 508002 – change pango_layout_pixel_extents() to round logical rect to be inclusive * pango/pango-layout.c (pango_layout_get_pixel_extents), (pango_layout_line_get_pixel_extents): Round extents to pixels inclusively. That is, pass both ink_rect and logical_rect as first argument to pango_extents_to_pixels(). * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle): Fix rounding. * pango/pango-types.h: * docs/tmpl/glyphs.sgml: * pango/pango-utils.c (pango_extents_to_pixels): Rename pango_extents_to_pixels() function arguments from @ink_rect and @logical_rect to @inclusive and @nearest. Given that this API is a fairly new addition and not commonly used, language bindings are encouraged to update their argument names accordingly. Moreover, they are encouraged to wrap this function as two different calls: extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or similar conventions that best reflect their native language. svn path=/trunk/; revision=2548
* Remove COPYING.GPL and COPYING.FTL that are no longer there.Behdad Esfahbod2008-01-162-2/+5
| | | | | | | | | | 2008-01-16 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that are no longer there. svn path=/trunk/; revision=2547
* HarfBuzz was relicensed to a more generous and simpler license. Adapt. SeeBehdad Esfahbod2008-01-1529-741/+571
| | | | | | | | | | | | 2008-01-15 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: HarfBuzz was relicensed to a more generous and simpler license. Adapt. See pango/opentype/COPYING for the new license which is LGPL-compatible. svn path=/trunk/; revision=2546
* Minor cleanup.Behdad Esfahbod2008-01-152-16/+19
| | | | | | | | | | 2008-01-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (debug), (process_line), (pango_layout_line_postprocess): Minor cleanup. svn path=/trunk/; revision=2545
* Bug 469313 – Add pango_layout_set_height()Behdad Esfahbod2008-01-152-43/+129
| | | | | | | | | | | | | | | | | 2008-01-15 Behdad Esfahbod <behdad@gnome.org> Bug 469313 – Add pango_layout_set_height() * pango/pango-layout.c (get_x_offset), (should_ellipsize_current_line), (add_line), (process_line), (pango_layout_check_lines), (pango_layout_line_get_width), (pango_layout_line_get_x_ranges), (justify_words), (pango_layout_line_postprocess): Implement height >= 0; There are still bugs left. Most notably, there will be at least two lines showed no matter how small height is. svn path=/trunk/; revision=2544
* Minor.Behdad Esfahbod2008-01-151-1/+0
| | | | svn path=/trunk/; revision=2543