[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1065: patch - fix crash in ftfont rendering
From: |
klchxbec |
Subject: |
bug#1065: patch - fix crash in ftfont rendering |
Date: |
Thu, 02 Oct 2008 16:27:25 +0200 |
User-agent: |
freenetMail |
Hello,
This is a fix for a crash in otf font rendering. Emacs crashed for me when
gsub_gpos->FeatureList.FeatureCount
was zero and otf_langsys->FeatureCount was 2377.
Index: ftfont.c
===================================================================
RCS file: /sources/emacs/emacs/src/ftfont.c,v
retrieving revision 1.31
diff -u -r1.31 ftfont.c
--- ftfont.c 17 Sep 2008 11:48:00 -0000 1.31
+++ ftfont.c 2 Oct 2008 14:25:59 -0000
@@ -1357,7 +1357,7 @@
else
break;
- for (features = Qnil, k = otf_langsys->FeatureCount - 1; k >= 0; k--)
+ for (features = Qnil, k = gsub_gpos->FeatureList.FeatureCount - 1; k
>= 0; k--)
{
OTF_TAG_SYM (sym, gsub_gpos->FeatureList.Feature[k].FeatureTag);
features = Fcons (sym, features);
Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html
- bug#1065: patch - fix crash in ftfont rendering,
klchxbec <=