[Top][All Lists]

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

[ft] Performance problem in getting string width

From: perlamahesh
Subject: [ft] Performance problem in getting string width
Date: Thu, 28 Sep 2006 16:49:32 +0530

Hi All,

I have modified ftstring.c according to my environment . For drawing a string freetype has to do kerning and it has create a new bitmap for each character. But for width calculation of a string also it is doing the same computations. For getting width of the string I don’t want any bitmap, I just want left, top, and width for each character.

Is there any code snippet which can help me in improving the performance of calculating the width for a string.


   Perla Mahesh


This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!


reply via email to

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