[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [ft] Vertical Font, X Bearing
From: |
Chia-I Wu |
Subject: |
Re: Re: [ft] Vertical Font, X Bearing |
Date: |
Sun, 28 May 2006 08:52:50 +0800 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Hi,
On Sat, May 27, 2006 at 06:31:57AM +0000, Paresh Deshmukh wrote:
> Yes +ve mean positive. Problem is I am expecting "bitmap_left " negative but
> getting all positive.
Please don't use FT_LOAD_VERTICAL_LAYOUT. It is not well-defined
(currently).
For vertical layout, you instead have to translate the rendered bitmaps
manually:
slot->bitmap_left += (metrics->vertBearingX - metrics->horiBearingX) / 64;
slot->bitmap_top += (-metrics->vertBearingY - metrics->horiBearingY) / 64;
--
Regards,
olv
- [ft] Vertical Font, X Bearing, Paresh Deshmukh, 2006/05/26
- RE: Re: [ft] Vertical Font, X Bearing, Paresh Deshmukh, 2006/05/27
- Re: Re: [ft] Vertical Font, X Bearing,
Chia-I Wu <=
- RE: Re: Re: [ft] Vertical Font, X Bearing, Paresh Deshmukh, 2006/05/29
- RE: Re: Re: [ft] Vertical Font, X Bearing, Paresh Deshmukh, 2006/05/30