freetype
[Top][All Lists]
Advanced

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

Re: [ft] distance between characters


From: Werner LEMBERG
Subject: Re: [ft] distance between characters
Date: Tue, 02 Feb 2010 15:00:23 +0100 (CET)

> I would like to calculate the distance between one character to
> another char given a string, while converting to bitmap. How can i
> get the position of next character inorder to display with the same
> space as input string is?

You can't.  FreeType expects characters as input and outputs glyph
images.  `The same space as input string' is thus meaningless.  After
some thinking I'm no longer sure at all what you want to know...

Please give an example.


    Werner




reply via email to

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