summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert the addition of the alias "sansserif". The correct name isPANGO_1_20_3Tor Lillqvist2008-05-232-1/+7
| | | | | | | | | | | | 2008-05-23 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c: Revert the addition of the alias "sansserif". The correct name is "sans-serif", and "sans" should also be accepted. If something uses "sansserif" it is wrong. (I saw it in some sample svg files in librsvg.) svn path=/trunk/; revision=2632
* Add alias "sansserif" to the builtin aliases on Win32. Same contents asTor Lillqvist2008-05-202-0/+6
| | | | | | | | | | 2008-05-20 Tor Lillqvist <tml@novell.com> * pango/pango-utils.c: Add alias "sansserif" to the builtin aliases on Win32. Same contents as "sans" and "sans-serif". svn path=/trunk/; revision=2630
* Bug 523193 - Vista Hebrew, CJK fonts to builtin win32 pango aliasesTor Lillqvist2008-05-202-6/+15
| | | | | | | | | | | | | | 2008-05-20 Tor Lillqvist <tml@novell.com> Bug 523193 - Vista Hebrew, CJK fonts to builtin win32 pango aliases Patch by Daniel Atallah. * pango/pango-utils.c: Add fonts from Vista to the builtin aliases. Also add Lucida Sans Unicode and Lucida Console. svn path=/trunk/; revision=2629
* Fix typo.Behdad Esfahbod2008-05-131-1/+1
| | | | svn path=/trunk/; revision=2628
* === Released 1.21.1 ===PANGO_1_21_1Behdad Esfahbod2008-05-133-1/+30
| | | | | | | | | | | | | 2008-05-13 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.1 === * configure.in: Version 1.21.1 * NEWS: Updated. svn path=/trunk/; revision=2626
* Remove Unicode test files from distBehdad Esfahbod2008-05-131-4/+1
| | | | svn path=/trunk/; revision=2625
* Bug 531242 – Leak when calculating win32 font coverage Patch from DanielBehdad Esfahbod2008-05-032-2/+14
| | | | | | | | | | | | 2008-05-03 Behdad Esfahbod <behdad@gnome.org> Bug 531242 – Leak when calculating win32 font coverage Patch from Daniel Atallah * pango/pangowin32.c (pango_win32_font_calc_coverage): Plug leak. svn path=/trunk/; revision=2623
* Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>Behdad Esfahbod2008-04-302-3/+8
| | | | | | | | | | | 2008-04-30 Behdad Esfahbod <behdad@gnome.org> Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...> * docs/tmpl/main.sgml: Make it build. svn path=/trunk/; revision=2622
* Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4Behdad Esfahbod2008-04-302-11/+29
| | | | | | | | | | | 2008-04-30 Behdad Esfahbod <behdad@gnome.org> Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4 * configure.in: Be more verbose about cairo font backends found. svn path=/trunk/; revision=2621
* Wait for convert(1) to finish. Patch by Jamie Guinan.Behdad Esfahbod2008-04-282-1/+12
| | | | | | | | | | 2008-04-28 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-main.c (main): Wait for convert(1) to finish. Patch by Jamie Guinan. svn path=/trunk/; revision=2620
* Minor.Behdad Esfahbod2008-04-251-1/+1
| | | | svn path=/trunk/; revision=2619
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29Behdad Esfahbod2008-04-255-25/+247
| | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 * docs/tmpl/main.sgml: * pango/break.c (pango_default_break): * pango/pango-break.h: * tests/testboundaries_ucd.c (main): Add new PangoLogAttr member is_word_boundary, that implements UAX#29's Word Boundaries semantics. Test fully passes for it. svn path=/trunk/; revision=2618
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 PatchBehdad Esfahbod2008-04-244-3/+389
| | | | | | | | | | | | | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 Patch from Noah Levitt * tests/Makefile.am: * tests/runtests.sh.in: * tests/testboundaries_ucd.c (count_attrs), (parse_line), (attrs_equal), (make_test_string), (do_test), (main): Add test driver for UAX#14 and UAX#29 test data from Unicode Character Databse. Just drop the following four files in pango/tests for it to use them: GraphemeBreakTest.txt LineBreakTest.txt SentenceBreakTest.txt WordBreakTest.txt svn path=/trunk/; revision=2617
* Minor optimization.Behdad Esfahbod2008-04-241-8/+12
| | | | svn path=/trunk/; revision=2616
* Part of Bug 97545 – Make pango_default_break follow Unicode TR #29Behdad Esfahbod2008-04-242-123/+94
| | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> Part of Bug 97545 – Make pango_default_break follow Unicode TR #29 * pango/break.c (pango_default_break): Make Grapheme Boundary code exactly follow UAX#29 of Unicode 5.1.0 svn path=/trunk/; revision=2615
* Update GraphemeBoundary to Unicode 5.1.0. Pretty close now. Passes theBehdad Esfahbod2008-04-242-36/+59
| | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> * pango/break.c (pango_default_break): Update GraphemeBoundary to Unicode 5.1.0. Pretty close now. Passes the TR14 test. svn path=/trunk/; revision=2614
* Allow line break at the end of string. UAX#14 rule LB3 says "Always breakBehdad Esfahbod2008-04-242-1/+8
| | | | | | | | | | | | 2008-04-24 Behdad Esfahbod <behdad@gnome.org> * pango/break.c (pango_default_break): Allow line break at the end of string. UAX#14 rule LB3 says "Always break at the end of text." With this test, Pango passes the LineBreakTest.txt, sans the bug in the test file that I've already reported to unicoRe. svn path=/trunk/; revision=2613
* Minor.Behdad Esfahbod2008-04-241-2/+2
| | | | svn path=/trunk/; revision=2612
* === Released 1.21.0 ===PANGO_1_21_0Behdad Esfahbod2008-04-223-3/+41
| | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.0 === * configure.in: Version 1.21.0 * NEWS: Updated. svn path=/trunk/; revision=2610
* Wrap ChangeLog.Behdad Esfahbod2008-04-223-1105/+1116
| | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * ChangeLog.pre-1-20: * Makefile.am: Wrap ChangeLog. svn path=/trunk/; revision=2609
* Group bidi stuff together. Add a section in the docs for them.Behdad Esfahbod2008-04-2210-272/+312
| | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/bidi.sgml: * docs/tmpl/main.sgml: * docs/tmpl/vertical.sgml: * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction), (pango_get_mirror_char): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c: Group bidi stuff together. Add a section in the docs for them. svn path=/trunk/; revision=2608
* Bug 515432 – Add function to get bidirectional character type of aBehdad Esfahbod2008-04-2112-6/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 515432 – Add function to get bidirectional character type of a unicode character Patch from Jürg Billeter * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/pangocairo.sgml: * pango/Makefile.am: * pango/pango-bidi-type.c (pango_bidi_type_for_unichar): * pango/pango-bidi-type.h: * pango/pango-types.h: * pango/pango-utils.c (pango_log2vis_get_embedding_levels), (pango_unichar_direction): * pango/pango.def: * pango/pango.h: New public API: enum PangoBidiType; pango_bidi_type_get_type() pango_bidi_type_for_unichar() svn path=/trunk/; revision=2607
* Bug 517119 – Add pango_cairo_create_context()Behdad Esfahbod2008-04-215-5/+50
| | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 517119 – Add pango_cairo_create_context() * docs/pango-sections.txt: * pango/pangocairo-context.c (pango_cairo_create_context), (pango_cairo_create_layout): * pango/pangocairo.def: * pango/pangocairo.h: New public API: pango_cairo_create_context() svn path=/trunk/; revision=2606
* Bug 404416 – pango_layout_get_baseline or somethingBehdad Esfahbod2008-04-215-0/+38
| | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 404416 – pango_layout_get_baseline or something * docs/pango-sections.txt: * pango/pango-layout.c (pango_layout_get_baseline): * pango/pango-layout.h: * pango/pango.def: New public API: pango_layout_get_baseline() svn path=/trunk/; revision=2605
* Bug 474706 – cairo hexbox looks uglyBehdad Esfahbod2008-04-212-3/+12
| | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 474706 – cairo hexbox looks ugly * pango/pangocairo-font.c (_pango_cairo_font_private_get_hex_box_info): Tweak minifont size a bit. Also propagate font options correctly. svn path=/trunk/; revision=2604
* Bug 490669 – add some <span> attribute aliasesBehdad Esfahbod2008-04-213-19/+50
| | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 490669 – add some <span> attribute aliases * docs/pango_markup.sgml: * pango/pango-markup.c (span_parse_func): Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ... svn path=/trunk/; revision=2603
* 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