From: Kenichi Handa <handa@m17n.org>
To: klchxbec@freenet.de
Cc: bug-gnu-emacs@gnu.org
Subject: bug#1190: patch - fix crash in ftfont rendering
Date: Fri, 17 Oct 2008 10:39:13 +0900 [thread overview]
Message-ID: <E1KqeJ7-0002ZG-SF@etlken.m17n.org> (raw)
In-Reply-To: <E1KlP9J-0006lR-Cr@www9.emo.freenet-rz.de> (klchxbec@freenet.de)
I'm very sorry for the late response.
In article <E1KlP9J-0006lR-Cr@www9.emo.freenet-rz.de>, klchxbec@freenet.de writes:
> 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.
[...]
> - for (features = Qnil, k = otf_langsys->FeatureCount - 1; k >= 0; k--)
> + for (features = Qnil, k = gsub_gpos->FeatureList.FeatureCount - 1; k >= 0; k--)
As this part is collecting features for a specific language,
the above change is not good. I'll fix the code so that
invalid otf_langsys->FeatureCount doesn't lead to crash.
Could you tell me which font causes this problem?
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-10-17 1:39 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 ` bug#1065: patch - fix crash in ftfont rendering klchxbec
2008-10-17 1:39 ` Kenichi Handa [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KqeJ7-0002ZG-SF@etlken.m17n.org \
--to=handa@m17n.org \
--cc=1190@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=klchxbec@freenet.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).