[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Determining pixel dimensions for bitmap
From: |
Marco Wertz |
Subject: |
Re: [ft] Determining pixel dimensions for bitmap |
Date: |
Fri, 7 Nov 2014 22:43:35 +0100 |
> Thanks. There is a fundamental problem in your code: You are calling
> `FT_Outline_Translate' with non-integer offset values, but you don't
> recompute the bbox after this operation to get correct bitmap
> dimensions. It depends on your application whether non-integer offset
> values are useful or not.
>
> See attached code that fixes this. If you execute it, you get much
> less cases with a zero row or column. An example is angle 29, and the
> attached image shows the reason (with thick lines indicating pixel
> borders): The covered area is to small to cause a non-zero gray value.
Thanks a lot for your time to look into this. Everything seems to be working
fine now.
Marco
- Re: [ft] Determining pixel dimensions for bitmap, (continued)
- Re: [ft] Determining pixel dimensions for bitmap, Marco Wertz, 2014/11/02
- Re: [ft] Determining pixel dimensions for bitmap, Werner LEMBERG, 2014/11/03
- Re: [ft] Determining pixel dimensions for bitmap, Alexei Podtelezhnikov, 2014/11/03
- Re: [ft] Determining pixel dimensions for bitmap, Marco Wertz, 2014/11/03
- Re: [ft] Determining pixel dimensions for bitmap, Dave Arnold, 2014/11/03
- Re: [ft] Determining pixel dimensions for bitmap, Werner LEMBERG, 2014/11/04
- Re: [ft] Determining pixel dimensions for bitmap, Marco Wertz, 2014/11/04
- Re: [ft] Determining pixel dimensions for bitmap, Werner LEMBERG, 2014/11/05
- Re: [ft] Determining pixel dimensions for bitmap, Marco Wertz, 2014/11/06
- Re: [ft] Determining pixel dimensions for bitmap, Werner LEMBERG, 2014/11/07
- Re: [ft] Determining pixel dimensions for bitmap,
Marco Wertz <=