70be34793a66e820f5e355b662a0b27a30f35d00
[mono.git] / bockbuild / MacSDK / patches / pango-coretext-astral-plane-1.patch
1 From 3cab26a0468bab855ed2eb13e4f334176e109483 Mon Sep 17 00:00:00 2001
2 From: Kristian Rietveld <kris@lanedo.com>
3 Date: Tue, 19 Mar 2013 11:23:09 +0100
4 Subject: [PATCH 1/2] Simply process entire bitmap obtained from the core text
5  font
6
7 ---
8  pango/pangocoretext.c |    3 +--
9  1 files changed, 1 insertions(+), 2 deletions(-)
10
11 diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
12 index 36bcd82..1d46271 100644
13 --- a/pango/pangocoretext.c
14 +++ b/pango/pangocoretext.c
15 @@ -89,8 +89,7 @@ ct_font_descriptor_get_coverage (CTFontDescriptorRef desc)
16    bitmap = CFCharacterSetCreateBitmapRepresentation (kCFAllocatorDefault,
17                                                       charset);
18
19 -  /* We only handle the BMP plane */
20 -  length = MIN (CFDataGetLength (bitmap), 8192);
21 +  length = CFDataGetLength (bitmap);
22    ptr = CFDataGetBytePtr (bitmap);
23
24    /* FIXME: can and should this be done more efficiently? */
25 --
26 1.7.4.4