platform/upstream/pango.git
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!

11 years agoFix warning
Behdad Esfahbod [Sun, 2 Dec 2012 15:28:47 +0000 (17:28 +0200)]
Fix warning

11 years agoFix test-ot-tags expectations after harfbuzz transition
Behdad Esfahbod [Sun, 2 Dec 2012 15:45:50 +0000 (17:45 +0200)]
Fix test-ot-tags expectations after harfbuzz transition

11 years agoRemove runtests.sh
Behdad Esfahbod [Sun, 2 Dec 2012 15:43:09 +0000 (17:43 +0200)]
Remove runtests.sh

11 years agoBuild test programs in "make all"
Behdad Esfahbod [Sun, 2 Dec 2012 15:39:58 +0000 (17:39 +0200)]
Build test programs in "make all"

11 years agoFix build for tests
Behdad Esfahbod [Sun, 2 Dec 2012 15:38:55 +0000 (17:38 +0200)]
Fix build for tests

11 years agoRemove Thai/Lao Prepend/Extend properties
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

11 years agoFix a copy-paste error
Matthias Clasen [Fri, 30 Nov 2012 04:32:03 +0000 (23:32 -0500)]
Fix a copy-paste error

This was spotted by Coverity.

11 years agoRequire harfbuzz 0.9.7
Behdad Esfahbod [Wed, 21 Nov 2012 06:22:10 +0000 (01:22 -0500)]
Require harfbuzz 0.9.7

11 years agoPost-release version bump
Matthias Clasen [Tue, 20 Nov 2012 01:35:16 +0000 (20:35 -0500)]
Post-release version bump

11 years ago1.32.3 1.32.3
Matthias Clasen [Tue, 20 Nov 2012 01:14:06 +0000 (20:14 -0500)]
1.32.3

11 years agoAdjust to HarfBuzz 0.9.7 API
Behdad Esfahbod [Thu, 15 Nov 2012 08:21:08 +0000 (00:21 -0800)]
Adjust to HarfBuzz 0.9.7 API

11 years agoProvide a phony define for the LANGUAGE macro
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.

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

11 years agoPost-release version bump
Matthias Clasen [Wed, 14 Nov 2012 00:46:09 +0000 (19:46 -0500)]
Post-release version bump

11 years ago1.32.2 1.32.2
Matthias Clasen [Wed, 14 Nov 2012 00:14:42 +0000 (19:14 -0500)]
1.32.2

11 years agoRename configure.in to configure.ac
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.

11 years agocolors: Update colors to SVG/CSS palette
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.

11 years agocolors: Add missing colors from the web palette
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

11 years agoXft: Fix a deadlock on display close
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

11 years agoFlush cairo surface when done
Behdad Esfahbod [Wed, 7 Nov 2012 18:58:40 +0000 (10:58 -0800)]
Flush cairo surface when done

11 years agoBug 685021: "Add" load_fontset() for Win32 backend
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().

11 years ago1.32.1 1.32.1
Matthias Clasen [Fri, 28 Sep 2012 00:15:05 +0000 (20:15 -0400)]
1.32.1

11 years agoDon't wipe docs in dist-hook-local
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.

11 years agoFixup grapheme clusters
Behdad Esfahbod [Thu, 27 Sep 2012 18:08:30 +0000 (14:08 -0400)]
Fixup grapheme clusters

After adding pango_shape_full() and passing full paragraph text to
HarfBuzz, we were getting cluster values relative to beginning to
paragraph back from HarfBuzz, and I forgot to account for that.  Caused
severe crashes.

Fixes:

Bug 684959 - crash after "Add pango_shape_full()"

and the dupes...

11 years agoAdd template for new API
Behdad Esfahbod [Wed, 26 Sep 2012 21:17:41 +0000 (17:17 -0400)]
Add template for new API

11 years agoRevert "Temporarily work around doc build breakages"
Matthias Clasen [Wed, 26 Sep 2012 21:15:21 +0000 (17:15 -0400)]
Revert "Temporarily work around doc build breakages"

This reverts commit 150691036aab59044d05ed3fa29785910249bb9a.

11 years ago1.32.0 1.32.0
Matthias Clasen [Wed, 26 Sep 2012 20:38:09 +0000 (16:38 -0400)]
1.32.0

11 years agoTemporarily work around doc build breakages
Matthias Clasen [Mon, 20 Aug 2012 22:42:07 +0000 (18:42 -0400)]
Temporarily work around doc build breakages

The doc check script gets tripped up by some struct members
that gtk-doc considers undocumented, and for some reason,
forcing a doc rebuild in make dist does not work either.

11 years agoAdd pango_shape_full()
Behdad Esfahbod [Wed, 26 Sep 2012 19:37:20 +0000 (15:37 -0400)]
Add pango_shape_full()

Variant of pango_shape() that takes the full paragraph text as input.
This is then passed in entirety to HarfBuzz, which would allow certain
cross-run interactions (in Arabic for example).

When combined with upcoming HarfBuzz 0.9.5+, this fixes:

Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered
https://bugzilla.redhat.com/show_bug.cgi?id=858736

and partially:

Bug 313181 - color changes break arabic shaping
https://bugzilla.gnome.org/show_bug.cgi?id=313181

11 years agoUnbreak build system
Behdad Esfahbod [Wed, 26 Sep 2012 19:09:03 +0000 (15:09 -0400)]
Unbreak build system

After 88692e4e, every make invocation was rebuilding everything.  Fix.

11 years agoPort PangoCoreTextFont to use GWeakRef
John Ralls [Tue, 25 Sep 2012 18:40:05 +0000 (11:40 -0700)]
Port PangoCoreTextFont to use GWeakRef

For its PangoCoreTextFontMap* member.

11 years agoAllow --without-xft
Behdad Esfahbod [Tue, 25 Sep 2012 02:02:10 +0000 (22:02 -0400)]
Allow --without-xft

Patch from galtgendo.

11 years agoRevert "Temporarily work around doc build breakages"
Matthias Clasen [Tue, 18 Sep 2012 00:27:33 +0000 (20:27 -0400)]
Revert "Temporarily work around doc build breakages"

This reverts commit 9c1e5d60a078db4b08bd7247004e759ff60cc534.

11 years ago1.31.2 1.31.2
Matthias Clasen [Tue, 18 Sep 2012 00:26:45 +0000 (20:26 -0400)]
1.31.2

11 years agoTemporarily work around doc build breakages
Matthias Clasen [Mon, 20 Aug 2012 22:42:07 +0000 (18:42 -0400)]
Temporarily work around doc build breakages

The doc check script gets tripped up by some struct members
that gtk-doc considers undocumented, and for some reason,
forcing a doc rebuild in make dist does not work either.

11 years agoMake modules.c thread-safe
Matthias Clasen [Sat, 15 Sep 2012 02:12:30 +0000 (22:12 -0400)]
Make modules.c thread-safe

The maps list is protected with a mutex.
registered_engines, dlloaded_engines and dlloaded_modules are
read-only after init_modules, which is protected with g_once_init.
Finally, engine creation is protected with another mutex.

11 years agoRework config file reading
Matthias Clasen [Sat, 15 Sep 2012 00:09:38 +0000 (20:09 -0400)]
Rework config file reading

The code was loading and parsing the system config file
every single time, and has not correctly handling mixed
requests for user and system config entries.

This commit reworks the code so that the configuration is
loaded only once, in threadsafe fashion.
pango_config_key_get_system is no longer using the same
hash table, but reloads its data every time - this is
not a really problem, since this function is only used
in pango-querymodules.

11 years agoLoad config file only once
Matthias Clasen [Fri, 14 Sep 2012 22:37:06 +0000 (18:37 -0400)]
Load config file only once

11 years agoAdd HarfBuzz to pkgconfig requires.private
Behdad Esfahbod [Fri, 14 Sep 2012 16:40:02 +0000 (12:40 -0400)]
Add HarfBuzz to pkgconfig requires.private

11 years agopango/pangowin32-fontmap.c: Fix build
Chun-wei Fan [Fri, 14 Sep 2012 10:31:27 +0000 (18:31 +0800)]
pango/pangowin32-fontmap.c: Fix build

-Include glib/gstdio.h for g_fopen
-Make up for a missed #endif
-correct an internal function name, pango_load_aliases to load_aliases

11 years agoFixups for introspecting without Freetype
John Ralls [Thu, 13 Sep 2012 21:23:51 +0000 (14:23 -0700)]
Fixups for introspecting without Freetype

11 years agoOnly build pangocoretext if have cairo-qaurtz
Behdad Esfahbod [Sat, 8 Sep 2012 18:13:04 +0000 (14:13 -0400)]
Only build pangocoretext if have cairo-qaurtz

11 years agoBump the required GLib version
Matthias Clasen [Wed, 5 Sep 2012 02:28:48 +0000 (22:28 -0400)]
Bump the required GLib version

We need GLib 2.33.12 for g_object_replace_qdata.

11 years agoRevert "Temporarily work around doc build breakages"
Matthias Clasen [Wed, 5 Sep 2012 02:20:30 +0000 (22:20 -0400)]
Revert "Temporarily work around doc build breakages"

This reverts commit 007aa41d10038e9632bad373a837e540b4d0e8e4.

11 years ago1.31.1 1.31.1
Matthias Clasen [Wed, 5 Sep 2012 01:36:23 +0000 (21:36 -0400)]
1.31.1

11 years agoTemporarily work around doc build breakages
Matthias Clasen [Mon, 20 Aug 2012 22:42:07 +0000 (18:42 -0400)]
Temporarily work around doc build breakages

The doc check script gets tripped up by some struct members
that gtk-doc considers undocumented, and for some reason,
forcing a doc rebuild in make dist does not work either.

11 years agoUse thread-safe qdata API for caching
Matthias Clasen [Sat, 1 Sep 2012 14:32:21 +0000 (10:32 -0400)]
Use thread-safe qdata API for caching

GLib gained a new API that allows to set qdata in a thread-safe
way. Use it here.

11 years agoFix PangoCoreTextFontsetClass definition so that it builds
John Ralls [Thu, 30 Aug 2012 23:14:42 +0000 (16:14 -0700)]
Fix PangoCoreTextFontsetClass definition so that it builds

11 years agoUse g_value_take_object
Behdad Esfahbod [Wed, 29 Aug 2012 20:59:03 +0000 (16:59 -0400)]
Use g_value_take_object

11 years agoFix warning
Behdad Esfahbod [Wed, 29 Aug 2012 20:58:52 +0000 (16:58 -0400)]
Fix warning

11 years agoBug 682952 - remove old glib check
Behdad Esfahbod [Wed, 29 Aug 2012 14:51:30 +0000 (10:51 -0400)]
Bug 682952 - remove old glib check

11 years agoPort pangofc-font.c to GWeakRef
Behdad Esfahbod [Wed, 29 Aug 2012 13:54:19 +0000 (09:54 -0400)]
Port pangofc-font.c to GWeakRef

11 years agoPlug leak
Behdad Esfahbod [Wed, 29 Aug 2012 13:37:50 +0000 (09:37 -0400)]
Plug leak

11 years agoUpdate config.h.win32.in
Chun-wei Fan [Wed, 29 Aug 2012 04:27:45 +0000 (12:27 +0800)]
Update config.h.win32.in

Make its entries more consistent with the entries given in config.h.in.

11 years agoMake enum get_type functions thread-safe
Matthias Clasen [Wed, 29 Aug 2012 02:06:20 +0000 (22:06 -0400)]
Make enum get_type functions thread-safe

Use a more modern, template-based way of calling glib-mkenums,
and use templates that use g_once_init_enter/leave to be
thread-safe.

11 years agopangoft2: Fix typo
Colin Walters [Tue, 28 Aug 2012 12:17:37 +0000 (08:17 -0400)]
pangoft2: Fix typo

11 years agoStart cleaning up config reading
Behdad Esfahbod [Tue, 28 Aug 2012 04:19:35 +0000 (00:19 -0400)]
Start cleaning up config reading

11 years agoMore churn
Behdad Esfahbod [Tue, 28 Aug 2012 03:43:38 +0000 (23:43 -0400)]
More churn

11 years agoProtect fontmaps with a mutex in pangoxft-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 15:04:44 +0000 (17:04 +0200)]
Protect fontmaps with a mutex in pangoxft-fontmap.c

11 years agoMake static data thread safe in pangowin32-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 14:58:22 +0000 (16:58 +0200)]
Make static data thread safe in pangowin32-fontmap.c

11 years agoMake static data thread safe in pangoft2-fontmap.c
Alessandro Pignotti [Wed, 25 May 2011 14:55:58 +0000 (16:55 +0200)]
Make static data thread safe in pangoft2-fontmap.c

11 years agoMake pangofc-fontmap.c thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 03:33:16 +0000 (23:33 -0400)]
Make pangofc-fontmap.c thread-safe

11 years agoMore thread-safety
Behdad Esfahbod [Tue, 28 Aug 2012 03:31:02 +0000 (23:31 -0400)]
More thread-safety

11 years agoMake static data thread safe in pango-context.c
Alessandro Pignotti [Wed, 25 May 2011 14:04:22 +0000 (16:04 +0200)]
Make static data thread safe in pango-context.c

11 years agoMake static data thread safe in pangocairo-fcfont.c
Alessandro Pignotti [Wed, 25 May 2011 13:54:01 +0000 (15:54 +0200)]
Make static data thread safe in pangocairo-fcfont.c

11 years agoMake static data thread safe in pango-engine.c
Alessandro Pignotti [Wed, 25 May 2011 13:47:19 +0000 (15:47 +0200)]
Make static data thread safe in pango-engine.c

11 years agoMake static data thread safe in pangocairo-fontmap.c
Alessandro Pignotti [Fri, 20 May 2011 21:03:57 +0000 (23:03 +0200)]
Make static data thread safe in pangocairo-fontmap.c

11 years agoMake pango-attributes thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 02:53:49 +0000 (22:53 -0400)]
Make pango-attributes thread-safe

11 years agoFix warnings
Behdad Esfahbod [Tue, 28 Aug 2012 02:51:03 +0000 (22:51 -0400)]
Fix warnings

11 years agoMake pango-language.c thread-safe
Behdad Esfahbod [Tue, 28 Aug 2012 02:40:53 +0000 (22:40 -0400)]
Make pango-language.c thread-safe

Start marking static-data that is thread safe with the "MT-safe" marker.
The following grep can be used to track progress:

grep 'static[^(]*;' *c | grep -v MT-safe

11 years agoMake a couple of functions reentrant
Alessandro Pignotti [Wed, 18 May 2011 16:31:03 +0000 (18:31 +0200)]
Make a couple of functions reentrant

11 years agoMake static data thread safe in pango-utils.c
Alessandro Pignotti [Wed, 18 May 2011 17:49:51 +0000 (19:49 +0200)]
Make static data thread safe in pango-utils.c

11 years agoDeprecate pango_lookup_aliases()
Matthias Clasen [Tue, 28 Aug 2012 02:09:29 +0000 (22:09 -0400)]
Deprecate pango_lookup_aliases()

Part of Bug 377539 - (pango-threadsafe) Make Pango thread-safe

11 years agoRemove residuals from when HarfBuzz was in-tree
Behdad Esfahbod [Mon, 27 Aug 2012 22:13:29 +0000 (18:13 -0400)]
Remove residuals from when HarfBuzz was in-tree

11 years agoMinor
Behdad Esfahbod [Mon, 27 Aug 2012 21:51:16 +0000 (17:51 -0400)]
Minor

11 years agoMore pangox removal!
Behdad Esfahbod [Mon, 27 Aug 2012 21:45:17 +0000 (17:45 -0400)]
More pangox removal!

11 years agocoretext: silence compiler
Kristian Rietveld [Mon, 27 Aug 2012 07:40:38 +0000 (09:40 +0200)]
coretext: silence compiler

11 years agocoretext: silently fail on invalid UTF8 instead of crashing
Kristian Rietveld [Mon, 27 Aug 2012 07:37:11 +0000 (09:37 +0200)]
coretext: silently fail on invalid UTF8 instead of crashing

When an attempt is made to create a CFString with a C string containing
invalid UTF8, the call returns NULL. We now check this return value
and silently fail instead of continuing and reading from a NULL
pointer.