[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] ttfautohint: fun with assembler code
From: |
Just Fill Bugs |
Subject: |
Re: [ft-devel] ttfautohint: fun with assembler code |
Date: |
Sat, 07 May 2011 23:38:12 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110422 Shredder/3.1.11pre |
On 05/07/2011 01:35 PM, Werner LEMBERG wrote:
Thanks for you suggestions! Working with bytecode instructions must
be actively trained, like any other programming language, then the
obstacles diminish.
Just for the fun of it, I installed the xgridfit. Learnt and wrote a
xgridfit version of the compute_stem_width() function. Porting the
pseudo code was fairly straight forward. Xgridfit has quite a rich set
of APIs. But the generated code is much longer than your hand craft
version, 400+ lines vs 150 lines. A lot of stack management codes.
Xgridfit lost in code size...
compute_stem_width.xgf
Description: Text Data
compute_stem_width.tt
Description: Text document