[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] fractional point sizes
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] fractional point sizes |
Date: |
Tue, 17 Sep 2002 11:29:35 +0200 (CEST) |
> So it looks like the point size _is_ rounded, although a post from
> Werner from a while ago indicates otherwise:
The point size is indeed rounded to full *pixels*, but nothing
prevents you from using fractional *point* sizes. You probably mean
fractional pixel sizes, don't you?
> "The third parameter of FT_Set_Char_Size() must be given in 26.6
> format (making it possible to have fractional point sizes) " ...
> http://www.freetype.org/pipermail/devel/2000-October/001150.html
>
> Granted, this post is 2 years old, but fractional point sizes seems
> too useful to give up.
>
> Does anyone have any suggestions on a workaround? Could
> FT_Set_Transform be used to scale the glyphs slightly?
Here a mail excerpt between Vadim and David, sent a few days ago to
the list:
> Also, with both fonts, I've altered FT_Set_Char_Size() so that it
> doesn't round my supplied char_width and char_height, and I can
> choose more strategic values.
Not rounding the character width and height might be a good idea,
I'll try to check this in the near future..
So please stay tuned!
Werner