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: Timo Suoranta
Subject: Re: [Freetype-devel] Re: GSOC - Distance Fields
Date: Wed, 13 May 2020 14:10:06 +0300

Since the range is small and fixed, fixed point format, or (signed) normalized integers, will have superior quality compared to floats using same number of bits.
Several image formats, including PNG, do support 16-bit images.
Then there is KTX image format, with reference code at https://github.com/KhronosGroup/KTX-Software which directly supports OpenGL and Vulkan formats like GL_R16_SNORM / VK_FORMAT_R16_SNORM.

On Wed, May 13, 2020 at 10:22 AM Werner LEMBERG <address@hidden> wrote:

> [...] Initially I thought that FreeType supports saving glyph
> bitmaps to file.  But Alexei clarified that.  So now I think the
> saving part can be left to the external application to decide.

OK.

>>> What 'image' dimensions are we talking about?  Usually, Freetype
>>> glyph bitmaps are very small, and compressing them would be a
>>> complete waste of time.
>>
>> Ah, the (assumed/estimated) number of the pixels should be
>> discussed for first... Anuj, please give us some informations.
>
> The output DF will be slightly larger than the original one (20-30%
> in dimension) to contain the spread.

This means that compression can be ignored IMHO :-)

> Also, I can see **Message not available* *after my emails in the
> freetype-devel archives.

AFAICS, this is a pure accident.  The (automatically) deleted messages
are spam, I reckon.

> Am I doing something wrong?

No, I don't think so.


    Werner


reply via email to

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