[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] help
From: |
Werner LEMBERG |
Subject: |
Re: [ft] help |
Date: |
Wed, 25 Jul 2007 21:25:01 +0200 (CEST) |
> I try to extract the bitmap of a character (single). Every time I
> specify the same Height for the character entered but the bitmap
> contains different height for different Character. I need them to
> be same since I use the bitmap as lookup table in my program. Can
> anybody suggest the way to do it. I'm very new to freetype (using
> freetype2). Help required Urgently.
You have to extract the metrics from all characters to find the
maximum height and depth of the glyph string. Then extract the
bitmaps and copy them into your target buffer so that you get a common
baseline for all glyphs. You need proper caching if you have a great
amount of data to handle.
Werner
- [ft] help, Sharath Jagannath, 2007/07/25
- Re: [ft] help,
Werner LEMBERG <=