freetype-devel
[Top][All Lists]
Advanced

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

Re: GSOC - Distance Fields


From: Anuj Verma
Subject: Re: GSOC - Distance Fields
Date: Thu, 4 Jun 2020 09:18:37 +0530

Hello Alexei,

> Is 1/65563 not enough accuracy for you? Do not be greedy. What would
> you gain from extra accuracy in the world of discrete pixels?


1/65563 is quite enough for SDF, my point is that in a 16.16 fixed point
I will only be using 18bits ( 1 for sign, 1 for integer and 16 for
fractional part ) so the rest of the bits will not be used.
But this also gives room to increase the precision to something like
6.26.

Also, is there an easy way to port my existing code to fixed point format.
I am currently thinking of rewriting the entire code from the start because
fixed  point format is a bit confusing for me.


Anuj

reply via email to

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