[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] patch to reduce memory consumption of enlightenment caused by fontconfig

On Thu, 6 Apr 2006 07:47:52 +0800 Stafford Horne <shorne@softhome.net> babbled:

> On Wed, 5 Apr 2006 08:43:19 -0700 (PDT)
> Andrei Lahun <zhirnyi@yahoo.com> wrote:
> > I made a patch for evas, now we load only first font
> > which match criteria , not a full list returned by 
> > fontconfig , for example with current code if i load
> > "Verdana" evas + fontconfig load total 37 fonts with
> > patch only first one - Verdana.ttf
> There is a problem with this. I know raster already commited the patch but
> the reason I load all fonts is to allow for font fallbacks.  With the latest
> patch I can no get font fallbacks (Chinese characters) to work.

ooh i didnt check that - the patch looked ok as it still did ADD fonts.

> Do you have any ideas for how to get fontconfig fallbacks and low memory
> footprint?

hmmm well evas does load the font fallbacks so it has a handle at least. maybe
we can fix that so evas only loads a fallback when it hunts for a missing

> I suggest that if you want to load less fonts you configure fontconfig to not
> return so many fonts or you do not use fontconfig. 
> -- 
>                         Stafford M. Horne
> Senior Engineer                                 高级工程师
> SurfControl plc                                 美讯智科技
> Peoples Republic of China, Beijing              中国人民共和国, 北京
> Mobile: +86 13611014044                         手机:+86 13611014044
>         (Website) http://shorne.homelinux.com/wordpress (网站)
> _________________________________________ӆ+_^_隊X___'___u__<__j__w[_椊
> x,r___)___๨__{^____bq_b_{"__0y__vj_W_yؚ_mzwm__b__mƬ__ݎ_____)_u_ޖ_^_躖
> _y_"____a______x-z_ⶊ__m______j____ږF__w__ǥ_ɝ_H____n'ۍ
> {_O_j_^_____________________________________zyb_^_g___^__fj)b_	b_ק_(!
> ___z{_u_ޗ_b______q______a__l_____l__._ǟ___w__X______b__?zyb_^_g___^

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
Tokyo, Japan (東京 日本)