From: klchxbec@freenet.de
To: bug-gnu-emacs@gnu.org
Cc: handa@m17n.org
Subject: bug#1065: patch - fix crash in ftfont rendering
Date: Thu, 02 Oct 2008 16:27:25 +0200 [thread overview]
Message-ID: <E1KlP9J-0006lR-Cr@www9.emo.freenet-rz.de> (raw)
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
next reply other threads:[~2008-10-02 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87ljwdlevo.fsf@cyd.mit.edu>
2008-10-02 14:27 ` klchxbec [this message]
2008-10-17 1:39 ` bug#1190: patch - fix crash in ftfont rendering Kenichi Handa
2008-10-25 0:10 ` bug#1190: marked as done (patch - fix crash in ftfont rendering) Emacs bug Tracking System
2008-10-25 0:10 ` bug#1065: " Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KlP9J-0006lR-Cr@www9.emo.freenet-rz.de \
--to=klchxbec@freenet.de \
--cc=1065@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=handa@m17n.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.