[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSOC - Distance Fields
From: |
Alexei Podtelezhnikov |
Subject: |
Re: GSOC - Distance Fields |
Date: |
Tue, 12 May 2020 17:14:15 -0400 |
I'll just add references below.
On Tue, May 12, 2020 at 4:15 PM Werner LEMBERG <address@hidden> wrote:
> > I can't decide which format to use for storing the SDF(signed
> > distance fields). I think using floating-point values (fixed-point
> > in this case) for generation will be more accurate than using
> > integer, but then saving the SDF to a file will require a
> > conversion.
The basic types are described here:
https://www.freetype.org/freetype2/docs/reference/ft2-basic_types.html
The computations are described here:
https://www.freetype.org/freetype2/docs/reference/ft2-computations.html
Saving files is not of FreeType's business. We just return data.
> The basic question is whether the accuracy is really needed.
> Currently, FreeType doesn't use floating-point arithmetics.
> Personally, I would favour a solution without floats, but maybe there
> are good reasons for using them.
- GSOC - Distance Fields, ANUJ VERMA, 2020/05/09
- Re: GSOC - Distance Fields, Anuj Verma, 2020/05/12
- Re: GSOC - Distance Fields, Werner LEMBERG, 2020/05/12
- Re: GSOC - Distance Fields,
Alexei Podtelezhnikov <=
- Message not available
- Re: [Freetype-devel] Re: GSOC - Distance Fields, suzuki toshiya, 2020/05/12
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Anuj Verma, 2020/05/12
- Message not available
- Re: [Freetype-devel] Re: GSOC - Distance Fields, suzuki toshiya, 2020/05/12
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Anuj Verma, 2020/05/13
- Message not available
- Re: [Freetype-devel] Re: GSOC - Distance Fields, suzuki toshiya, 2020/05/13
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Werner LEMBERG, 2020/05/13
- Message not available
- Re: [Freetype-devel] Re: GSOC - Distance Fields, suzuki toshiya, 2020/05/13
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Anuj Verma, 2020/05/13
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Werner LEMBERG, 2020/05/13
- Re: [Freetype-devel] Re: GSOC - Distance Fields, Timo Suoranta, 2020/05/13