summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* On Windows set LIB_EXE_MACHINE_FLAG to X86 or X64 depending on hostTor Lillqvist2008-08-053-4/+22
| | | | | | | | | | | | 2008-08-06 Tor Lillqvist <tml@novell.com> * configure.in: On Windows set LIB_EXE_MACHINE_FLAG to X86 or X64 depending on host architecture. * pango/Makefile.am: Use it when running lib.exe. svn path=/trunk/; revision=2670
* Don't attempt to build the MS import libraries for libpangoft2 unlessTor Lillqvist2008-08-032-2/+13
| | | | | | | | | | 2008-08-04 Tor Lillqvist <tml@novell.com> * pango/Makefile.am: Don't attempt to build the MS import libraries for libpangoft2 unless HAVE_FREETYPE. svn path=/trunk/; revision=2669
* Include <string.h> for strlen() prototype.Tor Lillqvist2008-08-032-0/+7
| | | | | | | | | | 2008-08-03 Tor Lillqvist <tml@novell.com> * pango/pango-bidi-type.c: Include <string.h> for strlen() prototype. svn path=/trunk/; revision=2668
* MinorBehdad Esfahbod2008-07-041-1/+1
| | | | svn path=/trunk/; revision=2667
* Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine fontPANGO_1_20_5PANGO_1_20_4Behdad Esfahbod2008-06-292-1/+8
| | | | | | | | | | | | 2008-06-29 Behdad Esfahbod <behdad@gnome.org> Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse loops for type 8 lookups. svn path=/trunk/; revision=2661
* require glib trunk (for newer glib-mkenums).Kristian Rietveld2008-06-263-2/+9
| | | | | | | | | | | | 2008-06-26 Kristian Rietveld <kris@imendio.com> * configure.in: require glib trunk (for newer glib-mkenums). * pango/Makefile.am: when generating pango-enum-types.h use @ENUMPREFIX@ instead of hard coding the prefix. svn path=/trunk/; revision=2660
* Bug 540036 – Doesn't link to fontconfigBehdad Esfahbod2008-06-242-0/+7
| | | | | | | | | | | 2008-06-24 Behdad Esfahbod <behdad@gnome.org> Bug 540036 – Doesn't link to fontconfig * pango/Makefile.am: Explicitly include FREETYPE_LIBS for pangoxft. svn path=/trunk/; revision=2659
* Bug 380094 – Fix split matra rendering bug for Kannada languageBehdad Esfahbod2008-06-232-5/+12
| | | | | | | | | | | | 2008-06-23 Behdad Esfahbod <behdad@gnome.org> Bug 380094 – Fix split matra rendering bug for Kannada language * modules/indic/indic-ot-class-tables.c: Fix Indic class for U+0C8D and U+0C8E. svn path=/trunk/; revision=2658
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-2297-96/+103
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch byBehdad Esfahbod2008-06-182-1/+10
| | | | | | | | | | | | | | 2008-06-18 Behdad Esfahbod <behdad@gnome.org> Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags Patch by Harshula * modules/indic/indic-ot-class-tables.c: Just freakin' do it. I have no idea if it's right or wrong. Just that I've been pestered enough to do it. Time will tell... svn path=/trunk/; revision=2656
* === Released 1.21.3 ===PANGO_1_21_3Behdad Esfahbod2008-06-163-2/+20
| | | | | | | | | | | | | 2008-06-16 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.3 === * configure.in: Version 1.21.3 * NEWS: Updated. svn path=/trunk/; revision=2654
* Bug 538661 – Improve pango_cairo_context_update_context()Behdad Esfahbod2008-06-162-19/+21
| | | | | | | | | | | | 2008-06-16 Behdad Esfahbod <behdad@gnome.org> Bug 538661 – Improve pango_cairo_context_update_context() * pango/pangocairo-context.c (_pango_cairo_update_context): Relayout only if merged options changed. svn path=/trunk/; revision=2653
* Bug 536190 – Make pango_fc_font_map_clear_cache() public?Behdad Esfahbod2008-06-103-5/+13
| | | | | | | | | | | | | 2008-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 536190 – Make pango_fc_font_map_clear_cache() public? * pango/pangofc-fontmap.c: * pango/pangofc-fontmap.h: Make pango_fc_font_map_clear_cache() public. svn path=/trunk/; revision=2652
* Bug 537258 – Add a pango_language_to_string() functionBehdad Esfahbod2008-06-095-1/+30
| | | | | | | | | | | | | | | | | 2008-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 537258 – Add a pango_language_to_string() function * docs/tmpl/text-attributes.sgml: * pango/pango-language.c (pango_language_to_string): * pango/pango-language.h: * pango/pango.def: Add a function implementation of pango_language_to_string(). The macro is still available. To be removed in a cycle or two from now. (bug #537466) svn path=/trunk/; revision=2651
* Bug 537257 – pango_language_from_string(NULL) not happyBehdad Esfahbod2008-06-092-5/+16
| | | | | | | | | | | | 2008-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 537257 – pango_language_from_string(NULL) not happy * pango/pango-language.c (pango_language_from_string): Allow NULL. svn path=/trunk/; revision=2650
* Bug 537186 – Make PangoFcFont pattern property readableBehdad Esfahbod2008-06-092-1/+34
| | | | | | | | | | | | 2008-06-09 Behdad Esfahbod <behdad@gnome.org> Bug 537186 – Make PangoFcFont pattern property readable * pango/pangofc-font.c (pango_fc_font_class_init), (pango_fc_font_get_property): Make it readable. svn path=/trunk/; revision=2649
* === Released 1.21.2 ===PANGO_1_21_2Behdad Esfahbod2008-06-023-2/+20
| | | | | | | | | | | | | 2008-06-02 Behdad Esfahbod <behdad@gnome.org> * === Released 1.21.2 === * configure.in: Version 1.21.2 * NEWS: Updated. svn path=/trunk/; revision=2647
* Bug 510299 – OpenType font variants are broken with ATSUI/CairoBehdad Esfahbod2008-05-282-2/+36
| | | | | | | | | | | | 2008-05-28 Behdad Esfahbod <behdad@gnome.org> Bug 510299 – OpenType font variants are broken with ATSUI/Cairo * pango/fonts.c (field_matches), (find_field): Ignore dashes when matching fong description fields. svn path=/trunk/; revision=2646
* Forgot to mention Normal.Tor Lillqvist2008-05-271-2/+2
| | | | svn path=/trunk/; revision=2645
* Map words that indicate weight and slant in the font name into theTor Lillqvist2008-05-272-9/+116
| | | | | | | | | | | | | | | | | | 2008-05-28 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c (pango_win32_font_description_from_logfont) (pango_win32_font_description_from_logfontw): Map words that indicate weight and slant in the font name into the corresponding Pango font description settings, and strip those words from the family name. This maps for instance the DejaVu Sans, DejaVu Sans Condensed and DejaVu Sans Light fonts into a single DejaVu Sans family with styles Ultra-Light, Condensed, Oblique Condensed, Oblique, Bold Condensed, Bold, Bold Oblique Condensed, and Bold Oblique, which is nice. svn path=/trunk/; revision=2644
* Detail.Tor Lillqvist2008-05-271-1/+2
| | | | svn path=/trunk/; revision=2643
* Rework face synthesis once again. Code is simpler now, and we don'tTor Lillqvist2008-05-272-83/+92
| | | | | | | | | | | | | | | | 2008-05-28 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c (synthesize_foreach) (_pango_win32_font_map_init): Rework face synthesis once again. Code is simpler now, and we don't needlessly synthesize bold weights for fonts that have a real semi-bold weight, like Lucida Sans. (The bold weight ended up looking like the semi-bold anyway.) (pango_win32_font_description_from_logfont): Recognize the semi-bold weight interval. svn path=/trunk/; revision=2642
* After the change to how the standard pseudo font families are set upTor Lillqvist2008-05-272-20/+9
| | | | | | | | | | | | 2008-05-27 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c (pango_win32_family_list_faces): After the change to how the standard pseudo font families are set up below, we don't need to prune out duplicate face names any longer. svn path=/trunk/; revision=2641
* Add bug reference to last entry.Tor Lillqvist2008-05-271-0/+3
| | | | svn path=/trunk/; revision=2640
* Synthesize also Bold and Bold Italic (or Oblique) faces when feasible.Tor Lillqvist2008-05-272-71/+186
| | | | | | | | | | | | | | | 2008-05-27 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c: Synthesize also Bold and Bold Italic (or Oblique) faces when feasible. Don't synthesize these for decorative or script fonts. Kill the magic code snippet mentioned below. Instead, explicitly create font families for the standard pseudo fonts that correspond to the first existing font of the corresponding built-in alias list. Use the face style name Oblique for slanted sans and monospace fonts, not Italic. svn path=/trunk/; revision=2639
* Prune duplicated face names. Makes the GTK+ font selector look a bit sanerTor Lillqvist2008-05-262-8/+56
| | | | | | | | | | | | | | | | | | | | | | | | 2008-05-27 Tor Lillqvist <tml@novell.com> * pango/pangowin32-fontmap.c (pango_win32_family_list_faces): Prune duplicated face names. Makes the GTK+ font selector look a bit saner for the "sans", "serif" and "monospace" standard pseudo font families with just one instance of each style. That we get duplicated styles in the first place is because of the magic code snippet in pango_win32_insert_font() that sets up the list of faces for the standard pseudo font families. I don't like that code but without it these families wouldn't currently show up in the font selector at all. A problem is still that the magic code blindly adds all random fonts that claim to be FF_ROMAN to the list of faces for the "serif" family, etc. I think it would be preferrable to do it only for well-known sensible fonts. That would be those that are listed in builtin_aliases in pango-utils.c, I guess. svn path=/trunk/; revision=2638
* pango/pangowin32-private.h Drop the PangoWin32FontMap::n_fonts field whichTor Lillqvist2008-05-263-27/+28
| | | | | | | | | | | | | 2008-05-26 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h * pango/pangowin32-fontmap.c: Drop the PangoWin32FontMap::n_fonts field which wasn't really used for anything. Rename the field PangoWin32Family::font_entries to faces. Rename some local variables to be more consistently named. svn path=/trunk/; revision=2637
* pango/pangowin32.c Some whitespace cleanup.Tor Lillqvist2008-05-263-20/+27
| | | | | | | | | | 2008-05-26 Tor Lillqvist <tml@novell.com> * pango/pangowin32.c * pango/pangowin32-fontmap.c: Some whitespace cleanup. svn path=/trunk/; revision=2636
* pango/pangowin32-private.h Drop the PangoWin32SizeInfo struct and the hashTor Lillqvist2008-05-263-123/+83
| | | | | | | | | | | | | | | | 2008-05-26 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h * pango/pangowin32-fontmap.c: Drop the PangoWin32SizeInfo struct and the hash table mapping from the relevant part of a LOGFONTW struct to a list of PangoWin32SizeInfos in PangoWin32FontMap. It seems that each list was always of length one anyway, so instead just map directly to each such single list member, also a LOGFONTW struct. Actually I wonder whether this map is needed at all, will have to experiment. svn path=/trunk/; revision=2635
* 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