One bug I see is your use of FT_KERNING_UNSCALED flag, which instructs
FT to return kerning in font (design) units. You either need to
convert it to integer pixels, or use FT_KERNING_DEFAULT flag.
Transformation from font units is described here:
http://freetype.org/freetype2/docs/tutorial/step2.html#section-6

What is the font and its size?


2015-09-07 12:34 GMT+02:00 chris <[email protected]>:
> On Mon, 7 Sep 2015 19:37:23 +1000, Matthew Allen wrote:
>>>> I'm working on some code that uses Freetype to render text and some
>>>> of the characters are too close together:
>>>>
>>>>
> http://stackoverflow.com/questions/32428882/why-does-freetype-render-characters-too-close-together
>
> I probably missed it, but could it be that you don't use "bitmap_left"
> and "bitmap_top" in the code?
>
> Greetings, chris
>
> _______________________________________________
> Freetype mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/freetype

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to