Al-Qurtas-Islamic-bank-The-.../src
Anuj Verma 2b1d556269 [sdf] Use 8 bits for final SDF output instead of 16bits.
Since 8-bits is enough to represent SDF data we no longer require
16-bits for  this purpose. Also, we now normalize the output data
to use the entire 8-bit range efficiently. For example: if we use
3.5 format with a spread of 1 we basically only use the starting
5-bits. By normalizing we can use the entire 8-bit range.

* include/freetype/freetype.h (FT_Render_Mode): Updated description
for `FT_RENDER_MODE_SDF` regarding this change.

* include/freetype/ftimage.h (FT_Pixel_Mode): Removed
`FT_PIXEL_MODE_GRAY16` since no longer required.

* include/freetype/fttypes.h (FT_F6Dot10): Removed since no longer
required.

* src/sdf/ftsdfrend.c (ft_sdf_render, ft_bsdf_render): Allocate 8-bit
bitmap instead of 16-bit buffer.

* src/sdf/ftsdfcommon.h (map_fixed_to_sdf): Added function to convert
16.16 distance value to our desired format.

* src/sdf/ftsdf.c (sdf_generate_with_overlaps,
sdf_generate_bounding_box): Use the new `map_fixed_to_sdf` function
and also use 8-bit output buffer.

* src/sdf/ftbsdf.c (finalize_sdf): Output to a 8-bit buffer instead
of 16-bit buffer.
2021-06-08 08:29:34 +05:30
..
autofit * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing. 2021-06-02 06:59:01 +02:00
base * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation. 2021-05-06 22:49:13 -04:00
bdf * src/bdf/bdflib.c (_bdf_list_ensure): Tweak allocation macro. 2021-05-07 09:33:41 -04:00
bzip2 [bzip2,gzip] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-23 08:24:22 -04:00
cache Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cff Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
cid Typos in previous commit. 2021-05-29 11:07:10 +02:00
dlg Update all copyright notices. 2021-01-17 07:18:48 +01:00
gxvalid [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-22 23:07:01 -04:00
gzip [gzip] Use exact type for `ft_gzip_alloc` and `ft_gzip_free`. 2021-05-19 09:07:33 +02:00
lzw [lzw] Preserve decompression stack when relocating to heap. 2021-04-27 11:39:58 -04:00
otvalid [gxvalid,otvalid] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-22 23:07:01 -04:00
pcf [bdf,pcf] Avoid memory zeroing (contd.). 2021-05-02 18:30:22 -04:00
pfr [pfr] Avoid some memory zeroing. 2021-04-26 17:14:28 -04:00
psaux * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix tracing. 2021-06-02 06:59:01 +02:00
pshinter Update all copyright notices. 2021-01-17 07:18:48 +01:00
psnames [sfnt] Additional guards on the POST table. 2021-05-16 23:12:01 -04:00
raster Update all copyright notices. 2021-01-17 07:18:48 +01:00
sdf [sdf] Use 8 bits for final SDF output instead of 16bits. 2021-06-08 08:29:34 +05:30
sfnt [sfnt] Fix fallout from 2021-05-29 change. 2021-06-02 07:19:07 +02:00
smooth * src/smooth/ftgrays.c (FT_MAX_GRAY_SPANS): Increase from 10 to 16. 2021-05-12 17:24:35 -04:00
tools Move 'dlg' submodule to `subprojects` directory. 2021-02-16 14:07:18 +01:00
truetype Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +02:00
type1 [type1] Avoid MM memory zeroing. 2021-05-07 19:17:48 -04:00
type42 [type42] Fix auto-hinting. 2021-05-27 11:38:56 -04:00
winfonts * src/winfonts/winfnt.c (FNT_Face_Init): Tweak memory macro. 2021-04-26 17:10:28 -04:00