platform/upstream/pango.git
11 years agoFix CoreText font scaling again
Behdad Esfahbod [Thu, 2 May 2013 17:41:32 +0000 (13:41 -0400)]
Fix CoreText font scaling again

This partially reverts 25ad29b488d3e2ae10e4fee25602409fa39207f1
which itself was a revert.  Apparently we want the change in
CoreText, but not on Win32...

See mailing list discussion.

11 years agoUpdate win32/coretext shaper signature
Behdad Esfahbod [Fri, 26 Apr 2013 18:50:57 +0000 (14:50 -0400)]
Update win32/coretext shaper signature

11 years agoMinor
Behdad Esfahbod [Thu, 25 Apr 2013 19:24:12 +0000 (15:24 -0400)]
Minor

11 years agoBug 696238 - PangoAttrFilterFunc vs pango_attr_list_filter docs
Behdad Esfahbod [Thu, 4 Apr 2013 23:26:17 +0000 (19:26 -0400)]
Bug 696238 - PangoAttrFilterFunc vs pango_attr_list_filter docs

11 years ago1.34.0 1.34.0
Matthias Clasen [Tue, 26 Mar 2013 02:09:54 +0000 (22:09 -0400)]
1.34.0

11 years ago1.33.10
Matthias Clasen [Mon, 18 Mar 2013 22:35:49 +0000 (18:35 -0400)]
1.33.10

11 years ago1.33.9 1.33.9
Matthias Clasen [Mon, 18 Mar 2013 22:31:03 +0000 (18:31 -0400)]
1.33.9

11 years agoVisual Studio Builds: Fix the Debug configs
Chun-wei Fan [Mon, 18 Mar 2013 08:37:01 +0000 (16:37 +0800)]
Visual Studio Builds: Fix the Debug configs

We need to link to the Debug CRT for debug configs, not the release CRTs,
as linking to different CRTs will cause trouble during debugging.

11 years ago[test] Fix scale
Behdad Esfahbod [Fri, 15 Mar 2013 10:32:36 +0000 (06:32 -0400)]
[test] Fix scale

11 years agoBug 682846 - Use G_DEFINE_TYPE in pangowin32-fontmap
Behdad Esfahbod [Fri, 15 Mar 2013 10:13:09 +0000 (06:13 -0400)]
Bug 682846 - Use G_DEFINE_TYPE in pangowin32-fontmap

Based on patch from Chun-wei Fan.

11 years agoCall g_type_init if necessary
Behdad Esfahbod [Fri, 15 Mar 2013 10:03:52 +0000 (06:03 -0400)]
Call g_type_init if necessary

11 years agoRemove unused code
Behdad Esfahbod [Fri, 15 Mar 2013 10:01:08 +0000 (06:01 -0400)]
Remove unused code

11 years agoPort PangoWin32 to use GWeakRef
Behdad Esfahbod [Fri, 15 Mar 2013 09:57:52 +0000 (05:57 -0400)]
Port PangoWin32 to use GWeakRef

Patch from Chun-wei Fan.

11 years agoUse g_snprintf()
Behdad Esfahbod [Fri, 15 Mar 2013 09:56:14 +0000 (05:56 -0400)]
Use g_snprintf()

11 years agoUpdate Visual Studio property sheets
Chun-wei Fan [Wed, 6 Mar 2013 07:58:29 +0000 (15:58 +0800)]
Update Visual Studio property sheets

Add commands to be used for building introspection files.

11 years agoUpdate Visual Studio Solution files
Chun-wei Fan [Wed, 6 Mar 2013 04:50:14 +0000 (12:50 +0800)]
Update Visual Studio Solution files

Integrate the utility project files to build the introspection files.

This is not built by default, so one may choose to build the introspection
files if he/she chooses

11 years agoVisual Studio builds: Support building introspection files
Chun-wei Fan [Wed, 6 Mar 2013 04:48:31 +0000 (12:48 +0800)]
Visual Studio builds: Support building introspection files

Add Windows .bat and Python utility script to call g-ir-scanner to build
the introspection files for Pango/MSVC builds.  This will read from
pango/Makefile.am to determine the source and header files to process using
Python REGEX capabilities, so the autotools files won't have to be updated
except to distribute the necessary files under build/win32.

Also add utility Visual Studio 2008/2010 projects to call the Windows .bat
to create the introspection files.

https://bugzilla.gnome.org/show_bug.cgi?id=692255

11 years agoPost-release version bump
Matthias Clasen [Tue, 5 Mar 2013 02:51:22 +0000 (21:51 -0500)]
Post-release version bump

11 years ago1.33.8 1.33.8
Matthias Clasen [Tue, 5 Mar 2013 02:22:51 +0000 (21:22 -0500)]
1.33.8

11 years agoBug 694882 - build broken - introspection of pangoxft2 and pangoxft miss libpang...
Behdad Esfahbod [Mon, 4 Mar 2013 22:54:32 +0000 (17:54 -0500)]
Bug 694882 - build broken - introspection of pangoxft2 and pangoxft miss libpang-1.0.la in _gir_LIBS

11 years agoRevert "Fix Win32 and CoreText cairo backends to take cairo CTM into account"
Behdad Esfahbod [Mon, 4 Mar 2013 22:45:03 +0000 (17:45 -0500)]
Revert "Fix Win32 and CoreText cairo backends to take cairo CTM into account"

This reverts commit b359bb484bc7d27a835cfd6d9ffcaed582ebf2ae.

Bug 694918 - Pango layout is rendered in wrong size if we have
non-identity cairo transformation matrix

I was wrong blindly copying this logic from pangocairo-fc into
pangocairo-win32 and pangocairo-quartz.

The reason we need the it in pangofc is because the fontsize we
get back from fontconfig is multiplied by the ctm scale factor,
so we undo it when loading the font.  The same is NOT true about
the non-fc backends, so the copying was totally wrong.

11 years agoBug 694830 - Fails make check: +pango_font_map_changed
Behdad Esfahbod [Thu, 28 Feb 2013 01:05:51 +0000 (20:05 -0500)]
Bug 694830 - Fails make check: +pango_font_map_changed

11 years agoPangoFc: change FontMap in pango_fc_font_map_clear_cache()
Alexander Larsson [Tue, 26 Feb 2013 09:48:08 +0000 (10:48 +0100)]
PangoFc: change FontMap in pango_fc_font_map_clear_cache()

https://bugzilla.gnome.org/show_bug.cgi?id=694626

11 years agoAdd pango_font_map_changed()
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

11 years agoBug 668154 - GTK+ Crashes on Non BMP utf-8 charpoints
Behdad Esfahbod [Tue, 26 Feb 2013 04:48:16 +0000 (23:48 -0500)]
Bug 668154 - GTK+ Crashes on Non BMP utf-8 charpoints

11 years ago[win32] Fix assertion and warnings
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.

11 years agoWhitelist pango_cairo_win32_font_map_get_type
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

11 years agowin32: Remove stale static module definitions
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

11 years agoUpdates for 1.33.7 1.33.7
Matthias Clasen [Sun, 3 Feb 2013 19:31:45 +0000 (14:31 -0500)]
Updates for 1.33.7

11 years agoBelatedly start an unstable series
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.

11 years agopangocairo.def: Export pango_cairo_win32_font_map_get_type
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.

11 years agoPrepare Visual Studio 2010 projects for Visual Studio 2012
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

11 years agoRevert "Don't use the deprecated pango_ft2_font_get_face"
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.

11 years ago"prgname" and "fontfeatures" are accepted for upstream Fontconfig now
Behdad Esfahbod [Wed, 16 Jan 2013 01:42:47 +0000 (19:42 -0600)]
"prgname" and "fontfeatures" are accepted for upstream Fontconfig now

11 years agoLet people enable font features through fontconfig snippets
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...

11 years ago1.35.6 1.32.6
Matthias Clasen [Thu, 10 Jan 2013 11:30:23 +0000 (06:30 -0500)]
1.35.6

11 years agoBump fontconfig dep to 2.10.91
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.

11 years agoPut g_type_init() back in
Behdad Esfahbod [Tue, 8 Jan 2013 18:50:01 +0000 (12:50 -0600)]
Put g_type_init() back in

11 years agoRemove unused macros
Behdad Esfahbod [Tue, 8 Jan 2013 17:43:55 +0000 (11:43 -0600)]
Remove unused macros

11 years agoMinor
Behdad Esfahbod [Tue, 8 Jan 2013 17:42:37 +0000 (11:42 -0600)]
Minor

11 years agoAvoid compiler warnings in testiter.c
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().

11 years agoAvoid a compiler warning
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.

11 years agoIgnore deprecations in test-ot-tags
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.

11 years agoDon't use deprecated pango_fc_font_get_unknown_glyph
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.

11 years agoDon't use the deprecated pango_ft2_font_get_face
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.

11 years agoAvoid deprecation warnings
Matthias Clasen [Tue, 8 Jan 2013 02:01:07 +0000 (21:01 -0500)]
Avoid deprecation warnings

11 years agoFix another compiler warning
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).

11 years agoFix a compiler warning
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.

11 years agoDon't call g_type_init if GLib is new enough
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.

11 years agoFix last leak in test-pangocairo-threads
Behdad Esfahbod [Mon, 7 Jan 2013 21:29:15 +0000 (15:29 -0600)]
Fix last leak in test-pangocairo-threads

11 years agoFix test leaks
Behdad Esfahbod [Mon, 7 Jan 2013 08:13:11 +0000 (02:13 -0600)]
Fix test leaks

Valgrinding....  Apparently somewhere some memory corruption happens.
Argh...

11 years agoFix warning in g_object_ref (NULL)
Behdad Esfahbod [Mon, 7 Jan 2013 08:10:03 +0000 (02:10 -0600)]
Fix warning in g_object_ref (NULL)

11 years agoMake test-pangocairo-threads stress fontconfig more
Behdad Esfahbod [Mon, 7 Jan 2013 07:19:49 +0000 (01:19 -0600)]
Make test-pangocairo-threads stress fontconfig more

11 years agoBug 691263 - Build with automake-1.13 broken
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>
11 years agoEnable test-pangocairo-threads by default
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...

11 years agoImprove test-pangocairo-threads
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.

11 years agoRefactor test-pangocairo-threads.c
Behdad Esfahbod [Fri, 4 Jan 2013 06:23:42 +0000 (00:23 -0600)]
Refactor test-pangocairo-threads.c

11 years agoImprove test-pangocairo-threads
Behdad Esfahbod [Fri, 4 Jan 2013 06:19:23 +0000 (00:19 -0600)]
Improve test-pangocairo-threads

11 years agoUpdate test-pangocairo-threads to new threads API
Behdad Esfahbod [Fri, 4 Jan 2013 05:40:02 +0000 (23:40 -0600)]
Update test-pangocairo-threads to new threads API

11 years agoUpdate docs to reflect per-thread default fontmap
Behdad Esfahbod [Fri, 4 Jan 2013 02:06:23 +0000 (20:06 -0600)]
Update docs to reflect per-thread default fontmap

11 years agoMake pango threadsafe!
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.

11 years agoAdd test-pangocairo-threads.c
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...

11 years agoLink to gthread-2.0
Behdad Esfahbod [Wed, 7 Nov 2012 18:58:40 +0000 (10:58 -0800)]
Link to gthread-2.0

11 years agoRevert "Bug 689342 - Lifetime of patterns in pattern_hash may use too much memory"
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.

11 years agoWhitespace
Behdad Esfahbod [Mon, 31 Dec 2012 03:44:56 +0000 (21:44 -0600)]
Whitespace

11 years agoFix most of "failed to choose font" warnings
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.

11 years agoDon't RenderPrepare the FcFontMatch result
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.

11 years agoRevert "Make PANGO_GLYPH flags an enum to make gobject-introspection happy."
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.

11 years agoBug 689342 - Lifetime of patterns in pattern_hash may use too much memory
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.

11 years agoLink basicfc module to HarfBuzz
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

11 years agoBug 690279 - broken relocation of modules
Behdad Esfahbod [Tue, 18 Dec 2012 18:59:33 +0000 (13:59 -0500)]
Bug 690279 - broken relocation of modules

Fix OS X relocation.

11 years ago[hb] Pass down BOT/EOT flags to HarfBuzz
Behdad Esfahbod [Tue, 18 Dec 2012 18:30:04 +0000 (13:30 -0500)]
[hb] Pass down BOT/EOT flags to HarfBuzz

11 years agoHint advances correctly
Behdad Esfahbod [Tue, 18 Dec 2012 04:51:46 +0000 (23:51 -0500)]
Hint advances correctly

11 years ago1.32.5 1.32.5
Matthias Clasen [Tue, 18 Dec 2012 00:49:49 +0000 (19:49 -0500)]
1.32.5

11 years agomarkup: Remove error from markup parser constructor
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

11 years agomarkup: Allow incrementally parsing pango markup
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

11 years agomarkup: Always start with a <markup> tag
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

11 years agoUpdate Visual C++ 2010 solutions
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

11 years agoBug 690081 - pangofc-fontmap: Remove bad use of the comma operator
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"...

11 years agoBug 686512 - pango_cairo_font_get_scaled_font failed under wine
Behdad Esfahbod [Mon, 10 Dec 2012 01:23:00 +0000 (20:23 -0500)]
Bug 686512 - pango_cairo_font_get_scaled_font failed under wine

11 years agoBug 689882 - pango-font.h:381: error: comma at end of enumerator list
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

11 years agoFix relative module paths
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).

11 years agoBug 689864 - build failure
Behdad Esfahbod [Fri, 7 Dec 2012 21:18:59 +0000 (16:18 -0500)]
Bug 689864 - build failure

11 years agoDrop last use of deprecated G_CONST_RETURN
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

11 years agopost release version bump
Alexander Larsson [Thu, 6 Dec 2012 18:32:00 +0000 (19:32 +0100)]
post release version bump

11 years agoDisable check.docs for now 1.32.4
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.

11 years agoUpdate NEWS for 1.32.4
Alexander Larsson [Thu, 6 Dec 2012 15:50:54 +0000 (16:50 +0100)]
Update NEWS for 1.32.4

11 years agoBump harfbuzz requirement to 0.9.9
Alexander Larsson [Thu, 6 Dec 2012 15:35:59 +0000 (16:35 +0100)]
Bump harfbuzz requirement to 0.9.9

11 years agoTrack changes in layout and dependencies via serials
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

11 years agoTrack changes in PangoContext via a serial
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

11 years agoTrack changes in FontMaps using a serial
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

11 years agoFix Win32 and CoreText cairo backends to take cairo CTM into account
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

11 years agobuild: Use -Bsymbolic-functions by default if available
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

11 years agoUpdate bidi tables to Unicode 6.2.0
Behdad Esfahbod [Sun, 2 Dec 2012 16:48:09 +0000 (18:48 +0200)]
Update bidi tables to Unicode 6.2.0

11 years agoAdd GraphemeBreakTest.txt to the tree
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.

11 years agoMinor
Behdad Esfahbod [Sun, 2 Dec 2012 16:06:59 +0000 (18:06 +0200)]
Minor

11 years agoFix grapheme boundaries of surrogates and unassigned default ignorables
Behdad Esfahbod [Sun, 2 Dec 2012 16:05:35 +0000 (18:05 +0200)]
Fix grapheme boundaries of surrogates and unassigned default ignorables

11 years agoFix line break of surrogate characters
Behdad Esfahbod [Sun, 2 Dec 2012 15:27:52 +0000 (17:27 +0200)]
Fix line break of surrogate characters

11 years agoFix grapheme properties of U+FFxx range
Behdad Esfahbod [Sun, 2 Dec 2012 15:14:01 +0000 (17:14 +0200)]
Fix grapheme properties of U+FFxx range

Oops!

11 years agoFix grapheme properties of joiner / nonjoiner
Behdad Esfahbod [Sun, 2 Dec 2012 15:10:19 +0000 (17:10 +0200)]
Fix grapheme properties of joiner / nonjoiner

Oops!