[HarfBuzz] HarfBuzz rewrite

Behdad Esfahbod behdad at behdad.org
Wed Jan 3 01:41:59 PST 2007


On Wed, 2007-01-03 at 03:02 -0500, Lars Knoll wrote:
> 
> This is a little problematic, as the compiler is free to add paddings
> inside 
> the structs (actually it's dependent on the ABI you have on the OS).
> It 
> should work fine on x86, but you might run into problems on risk 
> architectures. gcc has a workaround for this (the packed attribute).
> This is 
> something we'll need to look into for other compilers (which we
> support with 
> Qt). 

Thanks Lars.  I already faced such problems as padding and alignment and
have solved some, and have plans to solve the rest.  The neat thing is,
it's a single place (the DEFINE_INT_TYPE macro) you need to tweak for
that.  You can use an array of chars for example, etc etc.  I'll get to
that when the rest is done.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






More information about the HarfBuzz mailing list