summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <verem@m1stereo.tv>2014-10-22 07:19:00 +0000
committerMatthias Clasen <mclasen@redhat.com>2014-12-04 21:25:08 -0500
commita5338500f5af46f41200fa71ac07f91e89d7e02d (patch)
tree79133ebc5bee3430231c759910b6cec33e9b9d0c
parent92a4e7bb6d767b7e5ba4826738e0f9e068b4b9f9 (diff)
downloadpango-a5338500f5af46f41200fa71ac07f91e89d7e02d.tar.gz
Increase MAX_FREED_FONTS value
Increasing MAX_FREED_FONTS value should make fontset's cache working normally because of long alias list and available fonts under Windows 7. https://bugzilla.gnome.org/show_bug.cgi?id=738868
-rw-r--r--pango/pangowin32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 30b803a0..89059178 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -40,7 +40,7 @@
#include "pangowin32.h"
#include "pangowin32-private.h"
-#define MAX_FREED_FONTS 16
+#define MAX_FREED_FONTS 256
#define CH_IS_UNIHAN_BMP(ch) ((ch) >= 0x3400 && (ch) <= 0x9FFF)
#define CH_IS_UNIHAN(ch) (CH_IS_UNIHAN_BMP (ch) || \