freetype-devel
[Top][All Lists]
Advanced

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

Re: [Freetype-devel] Re: GSOC - Distance Fields


From: Anuj Verma
Subject: Re: [Freetype-devel] Re: GSOC - Distance Fields
Date: Sun, 21 Jun 2020 12:06:54 +0530

> I agree with Behdad.  Using functions, even for stuff that gets called
> only once, greatly enhances readability of code, among other things.
> So please proceed as you plan :-)

Yes, I will. Thanks

>> I strongly advise that you reconsider this.
>
> We discussed that already, didn't we?

Yes, I will summarize. For now I will be using fixed points. And later
I will write code specific to platforms which support floats and SIMD.
I hope that is okay.

> I beg to differ.  A GSoC project is not only to implement one thing in
> one way.  It is an opportunity to learn.  Anuj is now seeing both
> sides of the fixed-point mathematics medal, so to say; as soon as he
> will have mastered the project he knows *exactly* when to use it and
> when to avoid.

Before this project I never knew there was something like fixed-point. I
knew that at the end of the day floats are also stored in bit array, but
I didn't know that something like this is used until I started working
on this project.
At first it was a bit frustrating to work with them but I have gotten
used to them now. So yeah it has been a good learning opportunity :)

One more thing, shouldn't it be a `minmum level of warnings.' ?
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/smooth/ftgrays.c#n441

Thanks,
Anuj

reply via email to

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