[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] More bugs on Macintosh.
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] More bugs on Macintosh. |
Date: |
Mon, 15 Jul 2002 20:55:16 +0200 (CEST) |
> >I can't find the bug, sorry. Just checked the code in ftraster.c
> >for mono rendering, and it seems to me that `pitch' is used
> >properly everywhere, i.e., it is accessed only to compute the
> >offset of the start of a line and not to get offsets within a line.
> >Theoretically, the value of `pitch' shouldn't make a difference
> >provided it is big enough to hold a line.
>
> Ah,... I see what the problem is. This change breaks compatibility
> with earlier versions which my application did not anticipate:
> -The resulting bitmap is larger and may contain "empty" bytes just
> in the middle (at the end of the rows)
>
> I do not like this : Now my application has to get the blanks out
> before sending the whole to the printer, which gives a performance
> loss, which may be larger than gained. Maybe the choice of odd/even
> versus even-only pitch should be optional.
As already mentioned, it was a query from this list's audience.
Perhaps we should revert it. David?
Werner