Alexander Larsson [Tue, 26 Feb 2013 09:46:28 +0000 (10:46 +0100)]
Add pango_font_map_changed()
This is needed as a base class sometimes needs to invalidate
the fontmap.
https://bugzilla.gnome.org/show_bug.cgi?id=694626
Behdad Esfahbod [Tue, 26 Feb 2013 04:48:16 +0000 (23:48 -0500)]
Bug 668154 - GTK+ Crashes on Non BMP utf-8 charpoints
Behdad Esfahbod [Tue, 26 Feb 2013 04:37:16 +0000 (23:37 -0500)]
[win32] Fix assertion and warnings
When win32 fontmap goes away, font->fontmap becomes NULL. Deal
with that. Technically speaking, we need to port this to GWeakRef
like the other fontmaps do. But this would do for now.
Behdad Esfahbod [Tue, 19 Feb 2013 07:43:32 +0000 (02:43 -0500)]
Whitelist pango_cairo_win32_font_map_get_type
.def files are mostly used on Win32. Whitelist the win32 font map
function in the check.
Bug 694095 - Fails make check: -pango_cairo_win32_font_map_get_type
Jasper St. Pierre [Mon, 18 Feb 2013 00:28:58 +0000 (19:28 -0500)]
win32: Remove stale static module definitions
These have now been put into Harfbuzz upstream
Matthias Clasen [Sun, 3 Feb 2013 19:31:45 +0000 (14:31 -0500)]
Updates for 1.33.7
Matthias Clasen [Sun, 3 Feb 2013 19:29:00 +0000 (14:29 -0500)]
Belatedly start an unstable series
I really messed up with 1.32.6, which had lots of new, unstable
stuff in it.
Chun-wei Fan [Tue, 22 Jan 2013 05:23:58 +0000 (13:23 +0800)]
pangocairo.def: Export pango_cairo_win32_font_map_get_type
This is needed to build the introspection files for PangoCairo on Windows.
Chun-wei Fan [Fri, 18 Jan 2013 09:36:35 +0000 (17:36 +0800)]
Prepare Visual Studio 2010 projects for Visual Studio 2012
This adds a PlatformToolset tag in the project configs so that we can
provide support for Visual Studio 2012 with relative ease as the format
of the VS 2012 projects are only slightly different from their VS 2010
counterparts. We can then use a script like the one used in GLib[1] to
copy the VS2010 projects and replace the necessary tags to create the
VS2012 projects.
This also cleans up the projects and property sheets, as there were
some unwanted/unneeded entries in them.
[1]: http://git.gnome.org/browse/glib/commit/?id=
76cecf061b377d30e5422cdddb1fb9d19c52421d
Behdad Esfahbod [Thu, 17 Jan 2013 23:11:19 +0000 (17:11 -0600)]
Revert "Don't use the deprecated pango_ft2_font_get_face"
This reverts commit
2dc0c3dbb1c389c3a3ba12a5c5c85f21dca46e84.
This doesn't make sense. It ends up in infinite recursion because
pangofc is calling lock_face on pangoft2, which would recursively
call it on pangofc...
Was causing hang at startup of Inkscape.
If the deprecated warnings are an issue, they need to be dealt with
in some other way.
Behdad Esfahbod [Wed, 16 Jan 2013 01:42:47 +0000 (19:42 -0600)]
"prgname" and "fontfeatures" are accepted for upstream Fontconfig now
Behdad Esfahbod [Thu, 10 Jan 2013 22:25:11 +0000 (16:25 -0600)]
Let people enable font features through fontconfig snippets
Like this:
<match target="font">
<edit name="pangofontfeatures" mode="append">
<string>smcp</string>
<string>ss20</string>
</edit>
</match>
Finally we are starting to see new features coming out of the HarfBuzz integration...
Matthias Clasen [Thu, 10 Jan 2013 11:30:23 +0000 (06:30 -0500)]
1.35.6
Matthias Clasen [Thu, 10 Jan 2013 11:24:15 +0000 (06:24 -0500)]
Bump fontconfig dep to 2.10.91
This is the first version of fontconfig that is thread-safe.
Behdad Esfahbod [Tue, 8 Jan 2013 18:50:01 +0000 (12:50 -0600)]
Put g_type_init() back in
Behdad Esfahbod [Tue, 8 Jan 2013 17:43:55 +0000 (11:43 -0600)]
Remove unused macros
Behdad Esfahbod [Tue, 8 Jan 2013 17:42:37 +0000 (11:42 -0600)]
Minor
Matthias Clasen [Tue, 8 Jan 2013 02:05:41 +0000 (21:05 -0500)]
Avoid compiler warnings in testiter.c
Drop an unused variable, and don't call the deprecated
pango_cairo_font_map_create_context().
Matthias Clasen [Tue, 8 Jan 2013 02:05:07 +0000 (21:05 -0500)]
Avoid a compiler warning
ifdef out a function whose only use is already ifdef'ed out.
Matthias Clasen [Tue, 8 Jan 2013 02:04:26 +0000 (21:04 -0500)]
Ignore deprecations in test-ot-tags
This entire test is about the deprecated OpenType API.
Not much we can do except ignoring deprecations.
Matthias Clasen [Tue, 8 Jan 2013 02:03:29 +0000 (21:03 -0500)]
Don't use deprecated pango_fc_font_get_unknown_glyph
Replace it with PANGO_GET_UNKNOWN_GLYPH.
Matthias Clasen [Tue, 8 Jan 2013 02:01:45 +0000 (21:01 -0500)]
Don't use the deprecated pango_ft2_font_get_face
Replace it with pango_fc_font_lock/unlock_face calls.
Matthias Clasen [Tue, 8 Jan 2013 02:01:07 +0000 (21:01 -0500)]
Avoid deprecation warnings
Matthias Clasen [Tue, 8 Jan 2013 01:28:30 +0000 (20:28 -0500)]
Fix another compiler warning
gcc doesn't like #ifndef LANGUAGE(x, y, z).
Matthias Clasen [Tue, 8 Jan 2013 01:26:53 +0000 (20:26 -0500)]
Fix a compiler warning
Add the new paragraph_text/length parameters to the script_shape
implementation in the fallback engine.
Matthias Clasen [Tue, 8 Jan 2013 01:19:49 +0000 (20:19 -0500)]
Don't call g_type_init if GLib is new enough
g_type_init has been deprecated in GLib 2.35.x. Use a
version check here to avoid depending on unstable GLib.
Behdad Esfahbod [Mon, 7 Jan 2013 21:29:15 +0000 (15:29 -0600)]
Fix last leak in test-pangocairo-threads
Behdad Esfahbod [Mon, 7 Jan 2013 08:13:11 +0000 (02:13 -0600)]
Fix test leaks
Valgrinding.... Apparently somewhere some memory corruption happens.
Argh...
Behdad Esfahbod [Mon, 7 Jan 2013 08:10:03 +0000 (02:10 -0600)]
Fix warning in g_object_ref (NULL)
Behdad Esfahbod [Mon, 7 Jan 2013 07:19:49 +0000 (01:19 -0600)]
Make test-pangocairo-threads stress fontconfig more
Behdad Esfahbod [Mon, 7 Jan 2013 05:15:44 +0000 (23:15 -0600)]
Bug 691263 - Build with automake-1.13 broken
Replace long obsolete AM_CONFIG_HEADER with proper AC_CONFIG_HEADERS.
automake-1.13 errors out upon seeing former.
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Behdad Esfahbod [Fri, 4 Jan 2013 06:43:58 +0000 (00:43 -0600)]
Enable test-pangocairo-threads by default
Using 100 threads and 100 iterations per thread.
Only passes with fontconfig master. We will get a release made and
required soon...
Behdad Esfahbod [Fri, 4 Jan 2013 06:38:17 +0000 (00:38 -0600)]
Improve test-pangocairo-threads
Can be run standalone now, compares the output of all threads and fails
if they mismatch.
Behdad Esfahbod [Fri, 4 Jan 2013 06:23:42 +0000 (00:23 -0600)]
Refactor test-pangocairo-threads.c
Behdad Esfahbod [Fri, 4 Jan 2013 06:19:23 +0000 (00:19 -0600)]
Improve test-pangocairo-threads
Behdad Esfahbod [Fri, 4 Jan 2013 05:40:02 +0000 (23:40 -0600)]
Update test-pangocairo-threads to new threads API
Behdad Esfahbod [Fri, 4 Jan 2013 02:06:23 +0000 (20:06 -0600)]
Update docs to reflect per-thread default fontmap
Behdad Esfahbod [Thu, 3 Jan 2013 09:52:09 +0000 (03:52 -0600)]
Make pango threadsafe!
By way of declaring fontmaps NOT threadsafe, and making
pango_cairo_font_map_get_default() return a thread-private fontmap.
test-pangocairo-threads doesn't crash anymore, if used with fontconfig
master.
Behdad Esfahbod [Thu, 3 Jan 2013 09:51:10 +0000 (03:51 -0600)]
Add test-pangocairo-threads.c
Currently is not run automatically. But run it with args "10 100" and
see it crash...
Behdad Esfahbod [Wed, 7 Nov 2012 18:58:40 +0000 (10:58 -0800)]
Link to gthread-2.0
Behdad Esfahbod [Thu, 3 Jan 2013 09:19:15 +0000 (03:19 -0600)]
Revert "Bug 689342 - Lifetime of patterns in pattern_hash may use too much memory"
This reverts commit
7ed3cb89923c376d8b30ae3f977ab9e1a231e430, after
resolving conflicts.
The patch introduced some lifecycle management issues that could easily
cause crashing. Reverting till the issues are resolved.
Behdad Esfahbod [Mon, 31 Dec 2012 03:44:56 +0000 (21:44 -0600)]
Whitespace
Behdad Esfahbod [Mon, 31 Dec 2012 02:52:10 +0000 (20:52 -0600)]
Fix most of "failed to choose font" warnings
If we are in fallback mode, with a font that has to space glyph, then
looking up engine/font for any character not in the font was failing
badly. In that case, if there's only one engine (which is the case
these days), just choose it.
Behdad Esfahbod [Mon, 31 Dec 2012 00:50:42 +0000 (18:50 -0600)]
Don't RenderPrepare the FcFontMatch result
After commit
7c1d6208a4b42ef3a3cce0d8dffb214c7a321e5e, the first matched
font was being prepared twice, causing misconfiguration.
John Ralls [Sat, 29 Dec 2012 21:36:33 +0000 (13:36 -0800)]
Revert "Make PANGO_GLYPH flags an enum to make gobject-introspection happy."
This reverts commit
7274bd56db3ce2f02594687a307d22aa99c787c4.
Whatever the problem was with g-ir-scanner, it's resolved.
Behdad Esfahbod [Thu, 20 Dec 2012 05:51:55 +0000 (00:51 -0500)]
Bug 689342 - Lifetime of patterns in pattern_hash may use too much memory
Refcount cached patterns.
Behdad Esfahbod [Wed, 19 Dec 2012 17:51:32 +0000 (12:51 -0500)]
Link basicfc module to HarfBuzz
FDO Bug 58496 - Basic module doesn't link against HarfBuzz
Behdad Esfahbod [Tue, 18 Dec 2012 18:59:33 +0000 (13:59 -0500)]
Bug 690279 - broken relocation of modules
Fix OS X relocation.
Behdad Esfahbod [Tue, 18 Dec 2012 18:30:04 +0000 (13:30 -0500)]
[hb] Pass down BOT/EOT flags to HarfBuzz
Behdad Esfahbod [Tue, 18 Dec 2012 04:51:46 +0000 (23:51 -0500)]
Hint advances correctly
Matthias Clasen [Tue, 18 Dec 2012 00:49:49 +0000 (19:49 -0500)]
1.32.5
Jasper St. Pierre [Fri, 14 Dec 2012 18:01:46 +0000 (13:01 -0500)]
markup: Remove error from markup parser constructor
https://bugzilla.gnome.org/show_bug.cgi?id=679299
Jasper St. Pierre [Tue, 3 Jul 2012 02:07:33 +0000 (22:07 -0400)]
markup: Allow incrementally parsing pango markup
This is intended for applications that need to parse pango
markup from some sort of GIO stream.
https://bugzilla.gnome.org/show_bug.cgi?id=679299
Jasper St. Pierre [Mon, 2 Jul 2012 19:10:21 +0000 (15:10 -0400)]
markup: Always start with a <markup> tag
It doesn't do anything bad, and will help us when we move to a stream-based
approach.
https://bugzilla.gnome.org/show_bug.cgi?id=679299
Chun-wei Fan [Thu, 13 Dec 2012 09:14:06 +0000 (17:14 +0800)]
Update Visual C++ 2010 solutions
Cosmetic changes, so that the .sln files will have the same headers across
the board
Behdad Esfahbod [Wed, 12 Dec 2012 20:04:06 +0000 (15:04 -0500)]
Bug 690081 - pangofc-fontmap: Remove bad use of the comma operator
Essentially our FcFontRenderPrepare() for fallback fonts was never
actually being called. Donno how this was "working"...
Behdad Esfahbod [Mon, 10 Dec 2012 01:23:00 +0000 (20:23 -0500)]
Bug 686512 - pango_cairo_font_get_scaled_font failed under wine
Behdad Esfahbod [Mon, 10 Dec 2012 00:49:29 +0000 (19:49 -0500)]
Bug 689882 - pango-font.h:381: error: comma at end of enumerator list
John Ralls [Sat, 3 Nov 2012 18:46:59 +0000 (11:46 -0700)]
Fix relative module paths
So that the created absolute path is where the modules are installed
instead of where the modules file is installed (i.e.,
lib/pango/1.8.0/modules instead of etc/pango).
Behdad Esfahbod [Fri, 7 Dec 2012 21:18:59 +0000 (16:18 -0500)]
Bug 689864 - build failure
Colin Walters [Fri, 7 Dec 2012 14:23:17 +0000 (09:23 -0500)]
Drop last use of deprecated G_CONST_RETURN
This was blowing up the cogl build since it uses G_DISABLE_DEPRECATED.
https://bugzilla.gnome.org/show_bug.cgi?id=689843
Alexander Larsson [Thu, 6 Dec 2012 18:32:00 +0000 (19:32 +0100)]
post release version bump
Alexander Larsson [Thu, 6 Dec 2012 17:36:58 +0000 (18:36 +0100)]
Disable check.docs for now
This is broken for now and we can't distcheck without it.
Disabling this for now until we figure out how to fix this.
Alexander Larsson [Thu, 6 Dec 2012 15:50:54 +0000 (16:50 +0100)]
Update NEWS for 1.32.4
Alexander Larsson [Thu, 6 Dec 2012 15:35:59 +0000 (16:35 +0100)]
Bump harfbuzz requirement to 0.9.9
Alexander Larsson [Wed, 5 Dec 2012 13:04:20 +0000 (14:04 +0100)]
Track changes in layout and dependencies via serials
We track changes in the PangoContext and automatically call
pango_layout_context_changed() when needed, plus we track
changes in the layout and let apps know via pango_layout_get_serial
when the layout changed and needs to be redrawn.
https://bugzilla.gnome.org/show_bug.cgi?id=340066
Alexander Larsson [Wed, 5 Dec 2012 12:56:06 +0000 (13:56 +0100)]
Track changes in PangoContext via a serial
Whenever a PangoContext or its fontmap changes we bump the
contexts serial, you can get it via pango_context_get_serial()
to see find out if the context changed since the last time and
you need to relayout.
You can also force the context to be "changed" by calling
pango_context_changed().
https://bugzilla.gnome.org/show_bug.cgi?id=340066
Alexander Larsson [Wed, 5 Dec 2012 12:29:48 +0000 (13:29 +0100)]
Track changes in FontMaps using a serial
This adds the pango_font_map_get_serial method that lets you see
if a fontmap has changes since the last check. It adds implementations
to all current fontmaps.
https://bugzilla.gnome.org/show_bug.cgi?id=340066
Behdad Esfahbod [Thu, 6 Dec 2012 01:27:47 +0000 (20:27 -0500)]
Fix Win32 and CoreText cairo backends to take cairo CTM into account
Colin Walters [Tue, 4 Dec 2012 17:46:04 +0000 (12:46 -0500)]
build: Use -Bsymbolic-functions by default if available
Using -Bsymbolic-functions to avoid internal PLT indirection is an
easy win. This is the same code that both GLib and GTK+ have.
https://bugzilla.gnome.org/show_bug.cgi?id=689648
Behdad Esfahbod [Sun, 2 Dec 2012 16:48:09 +0000 (18:48 +0200)]
Update bidi tables to Unicode 6.2.0
Behdad Esfahbod [Sun, 2 Dec 2012 16:08:55 +0000 (18:08 +0200)]
Add GraphemeBreakTest.txt to the tree
All tests in that file pass, lets keep it that way.
This is as of Unicode 6.1.0. 6.2 needs more work.
Behdad Esfahbod [Sun, 2 Dec 2012 16:06:59 +0000 (18:06 +0200)]
Minor
Behdad Esfahbod [Sun, 2 Dec 2012 16:05:35 +0000 (18:05 +0200)]
Fix grapheme boundaries of surrogates and unassigned default ignorables
Behdad Esfahbod [Sun, 2 Dec 2012 15:27:52 +0000 (17:27 +0200)]
Fix line break of surrogate characters
Behdad Esfahbod [Sun, 2 Dec 2012 15:14:01 +0000 (17:14 +0200)]
Fix grapheme properties of U+FFxx range
Oops!
Behdad Esfahbod [Sun, 2 Dec 2012 15:10:19 +0000 (17:10 +0200)]
Fix grapheme properties of joiner / nonjoiner
Oops!
Behdad Esfahbod [Sun, 2 Dec 2012 15:28:47 +0000 (17:28 +0200)]
Fix warning
Behdad Esfahbod [Sun, 2 Dec 2012 15:45:50 +0000 (17:45 +0200)]
Fix test-ot-tags expectations after harfbuzz transition
Behdad Esfahbod [Sun, 2 Dec 2012 15:43:09 +0000 (17:43 +0200)]
Remove runtests.sh
Behdad Esfahbod [Sun, 2 Dec 2012 15:39:58 +0000 (17:39 +0200)]
Build test programs in "make all"
Behdad Esfahbod [Sun, 2 Dec 2012 15:38:55 +0000 (17:38 +0200)]
Fix build for tests
Theppitak Karoonboonyanan [Sun, 2 Dec 2012 08:47:49 +0000 (15:47 +0700)]
Remove Thai/Lao Prepend/Extend properties
In UAX#29 revision 19 (reissued for Unicode 6.1.0), Prepend and Extend
GCB properties have been dropped for Thai/Lao. So, drop the hard coding
accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=576156
Matthias Clasen [Fri, 30 Nov 2012 04:32:03 +0000 (23:32 -0500)]
Fix a copy-paste error
This was spotted by Coverity.
Behdad Esfahbod [Wed, 21 Nov 2012 06:22:10 +0000 (01:22 -0500)]
Require harfbuzz 0.9.7
Matthias Clasen [Tue, 20 Nov 2012 01:35:16 +0000 (20:35 -0500)]
Post-release version bump
Matthias Clasen [Tue, 20 Nov 2012 01:14:06 +0000 (20:14 -0500)]
1.32.3
Behdad Esfahbod [Thu, 15 Nov 2012 08:21:08 +0000 (00:21 -0800)]
Adjust to HarfBuzz 0.9.7 API
John Ralls [Tue, 13 Nov 2012 03:40:09 +0000 (19:40 -0800)]
Provide a phony define for the LANGUAGE macro
Gobject-introspection encounters it without the definitions in the
including code and fails.
John Ralls [Tue, 13 Nov 2012 03:38:30 +0000 (19:38 -0800)]
Make PANGO_GLYPH flags an enum to make gobject-introspection happy.
See bug 688356
Matthias Clasen [Wed, 14 Nov 2012 00:46:09 +0000 (19:46 -0500)]
Post-release version bump
Matthias Clasen [Wed, 14 Nov 2012 00:14:42 +0000 (19:14 -0500)]
1.32.2
Matthias Clasen [Wed, 14 Nov 2012 00:13:41 +0000 (19:13 -0500)]
Rename configure.in to configure.ac
autoconf is going to drop support for .in at some point.
Benjamin Otte [Tue, 13 Nov 2012 20:17:05 +0000 (21:17 +0100)]
colors: Update colors to SVG/CSS palette
Colors that were defined to different values in Pango than they were in
the CSS specification have been updated to conform to the CSS specs.
See http://dev.w3.org/csswg/css3-color/#svg-color for the color values.
Benjamin Otte [Fri, 9 Nov 2012 17:55:16 +0000 (18:55 +0100)]
colors: Add missing colors from the web palette
Color names taken from
http://dev.w3.org/csswg/css3-color/#svg-color
Matthias Clasen [Tue, 13 Nov 2012 20:12:01 +0000 (15:12 -0500)]
Xft: Fix a deadlock on display close
We can't call pango_xft_shutdown display while holding
the same lock it is taking.
https://bugzilla.gnome.org/show_bug.cgi?id=687470
Behdad Esfahbod [Wed, 7 Nov 2012 18:58:40 +0000 (10:58 -0800)]
Flush cairo surface when done
Chun-wei Fan [Mon, 15 Oct 2012 04:38:26 +0000 (12:38 +0800)]
Bug 685021: "Add" load_fontset() for Win32 backend
We now need a load_fontset() implementation for the Windows backend as the
pango.aliases handling is moved to pangowin32-fontmap.c since commit
831611158, so that it will go through the pango.aliases file and load
the appropriate fontset needed to display various texts.
This basically copies pango_font_map_load_fontset() from pango-fontmap.c
and adds the old (pre-commit
831611158) pango_font_map_fontset_add_fonts(),
but using pango_win32_font_map_load_font() in place of
pango_font_map_load_font().
Matthias Clasen [Fri, 28 Sep 2012 00:15:05 +0000 (20:15 -0400)]
1.32.1
Matthias Clasen [Fri, 28 Sep 2012 00:24:37 +0000 (20:24 -0400)]
Don't wipe docs in dist-hook-local
It is just super-annoying that one cannot even do 'make dist'
and get a working tarball. There has to be a better to do this;
for now, just remove this, no other gtk-doc-using module is
doing this.