[pango] Increase MAX_FREED_FONTS value
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Increase MAX_FREED_FONTS value
- Date: Fri, 5 Dec 2014 02:26:16 +0000 (UTC)
commit a5338500f5af46f41200fa71ac07f91e89d7e02d
Author: Max <verem m1stereo tv>
Date: Wed Oct 22 07:19:00 2014 +0000
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
pango/pangowin32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index 30b803a..8905917 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) || \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]