freetype-devel
[Top][All Lists]
Advanced

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

Typo's


From: Ryan Martindale
Subject: Typo's
Date: Mon, 16 Oct 2000 09:43:46 -0600

I seem to have found to typo bugs in the library, both in
src/base/ftglyph.c.

line 166 reads (comment added by me)
      // MEM_Copy( source->buffer, target->buffer, size );

but memcpy takes the destination first, source second.  This fixed it for
me.
      MEM_Copy( target->buffer, source->buffer, size );


line 239
    // cbox->yMin = cbox->xMax - ( glyph->bitmap.rows << 6 );

xMax should actually be yMax as follows.

    cbox->yMin = cbox->yMax - ( glyph->bitmap.rows << 6 );

Thanks,

Ryan Martindale





reply via email to

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