freetype-devel
[Top][All Lists]
Advanced

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

答复: [ft-devel] get character width wit hout loading its glyph


From: Hong Li
Subject: 答复: [ft-devel] get character width wit hout loading its glyph
Date: Thu, 5 Feb 2009 16:33:29 +0800

Hi David,

 

Thanks for your reply.

 

Do you know how to load the ttf file to memory so that I can new a face from memory?like a array  param in a .c file?I know it should improve the performance quite a lot.

 

Many Thanks

 

 

发件人: address@hidden [mailto:address@hidden 代表 David Turner
发送时间: 2009124 7:15
收件人: Hong Li
抄送: Werner LEMBERG; address@hidden
主题: Re: [ft-devel] get character width without loading its glyph

 

If you mean the width of the glyph shape, this is not possible.

But if you mean the glyph's advance width, have a look at FT_Get_Advances() and family.

2009/1/18 Hong Li <address@hidden>

Is it possible to get a specified character's width without loading?

As I know, different characters, like Chinese and English, should have
different width with the same font size?



_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]