[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1190: patch - fix crash in ftfont rendering
From: |
Kenichi Handa |
Subject: |
bug#1190: patch - fix crash in ftfont rendering |
Date: |
Fri, 17 Oct 2008 10:39:13 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
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