Commit Graph

6195 Commits

Author SHA1 Message Date
Kushal K S V S 13468509d4 Apply effects and stitch 4 sub-images together 2018-03-18 20:40:44 +05:30
Kushal K S V S 78c8ff3247 Adding requred headers 2018-03-18 20:40:44 +05:30
Kushal K S V S 43002bb592 Adding functions to Remove and Adjust the Height and Width differences between glyphs 2018-03-18 20:40:44 +05:30
Kushal K S V S 4de40800f5 Generate images for only the glyphs having differences 2018-03-18 20:40:44 +05:30
Kushal K S V S 2f39d67911 Using the Add-effect functions (to be implemented) 2018-03-18 20:40:44 +05:30
Kushal K S V S a30badf3a9 Removing sudo 2018-03-18 20:40:44 +05:30
Kushal K S V S 526ca6aa33 Add make_sprite.c (under Development) - Look at README 2018-03-18 20:40:44 +05:30
Kushal K S V S 97bee81339 Add another Effect and put both effects in one function 2018-03-18 20:40:44 +05:30
Kushal K S V S 1d4fbc5e29 Remove dependency between Make_PNG and Generate_PNG 2018-03-18 20:40:44 +05:30
Kushal K S V S fd3ff32ecc Adding code to stitch 2 PNG files 2018-03-18 20:40:44 +05:30
Kushal K S V S 417f5e3c59 Add PNG effect 1 (Gray + Red) 2018-03-18 20:40:44 +05:30
Kushal K S V S efd9510850 minor changes 2018-03-18 20:40:44 +05:30
Kushal K S V S 9082ff89ef Remove test print loop 2018-03-18 20:40:44 +05:30
Kushal K S V S 51347b348b Read PNG function 2018-03-18 20:40:44 +05:30
Kushal K S V S 6bf7bcd378 Changes to makefile to use compiled version of freetype 2018-03-18 20:40:44 +05:30
Kushal K S V S 4d3200b4db cleaning 2018-03-18 20:40:44 +05:30
Kushal K S V S 838c65dce2 fixed warning 2018-03-18 20:40:44 +05:30
Kushal K S V S c84c32d576 fixed mono rendering 2018-03-18 20:40:44 +05:30
Kushal K S V S 48d9bb4345 Loop across all glyphs 2018-03-18 20:40:44 +05:30
Kushal K S V S 54cfe58d76 Apply LCD filter 2018-03-18 20:40:44 +05:30
Kushal K S V S 68f7652dbb Indentation change 2018-03-18 20:40:44 +05:30
Kushal K S V S d73dc59e0f code for generating PNG 2018-03-18 20:40:44 +05:30
Kushal K S V S 2c4571ffa4 new code for generating hashes 2018-03-18 20:40:44 +05:30
Kushal K S V S 4caeea2cd6 Modified LCD_V rendering 2018-03-18 20:40:44 +05:30
Kushal K S V S ef6231e5bf Removed unnecessary loops and variables 2018-03-18 20:40:44 +05:30
Kushal K S V S 797e74abd6 First commit 2018-03-18 20:40:44 +05:30
Werner Lemberg 5bd76524ef * src/sfnt/ttcmap.c (tt_cmap2_validate): Fix potential numeric
overflow.
2018-03-13 11:11:16 +01:00
Werner Lemberg 78cded2c5c Fix cmap format 2 handling (#53320).
The patch introduced for #52646 was not correct.

* src/sfnt/ttcmap.c (tt_cmap2_char_next): Adjust condition.
2018-03-13 11:09:44 +01:00
Nikolaus Waxweiler 098dd70cb1 * CMakeLists.txt (BASE_SRCS): Update to changes from 2018-03-05. 2018-03-10 14:51:17 +01:00
Chun-wei Fan 6f854692a8 * CMakeLists.txt [win32]: Allow MSVC DLL builds (#53287).
Do not limit DLL builds to MinGW, since we already have
`__declspec(dllexport)' directives in `ftconfig.h'.
Also suppress more warnings for POSIX functions.
2018-03-09 06:51:38 +01:00
Werner Lemberg e277267c52 Typo. 2018-03-08 11:33:31 +01:00
Werner Lemberg b0a93839b5 CHANGES: Document `--enable-freetype-config'. 2018-03-08 06:36:47 +01:00
Hugh McMaster a7833f26c4 Make installation of `freetype-config' optional (#53093).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2018-03-08 06:25:13 +01:00
Werner Lemberg ccec889229 Minor: Update `CHANGES' and improve documentation in `modules.cfg'. 2018-03-08 06:09:17 +01:00
Werner Lemberg 733a21bdbc Make `ftlcdfil.c' part of the `base' module.
`ftobjs.c' needs `ft_lcd_padding'.

Problem reported by duhuanpeng <548708880@qq.com>.

* modules.cfg (BASE_EXTENSIONS): Don't include `ftlcdfil.c'.

* src/base/ftbase.c: Include `ftlcdfil.c'.
* src/base/rules.mk (BASE_SRC): Add `ftlcdfil.c'.
* src/base/Jamfile (_sources): Adjusted.

* docs/INSTALL.ANY: Updated.
2018-03-05 23:37:17 +01:00
Werner Lemberg f4a3531655 Make `ftfntfmt.c' part of the `base' module.
`ftobjs.c' needs `FT_Get_Font_Format'.

Problem reported by duhuanpeng <548708880@qq.com>.

* modules.cfg (BASE_EXTENSIONS): Don't include `ftfntfmt.c'.

* src/base/ftbase.c: Include `ftfntfmt.c'.
* src/base/rules.mk (BASE_SRC): Add `ftfntfmt.c'.
* src/base/Jamfile (_sources): Adjusted.

* docs/INSTALL.ANY: Updated.
2018-03-05 20:45:12 +01:00
Werner Lemberg 5955b77b1d Minor documentation improvement. 2018-03-03 09:21:59 +01:00
Werner Lemberg efd13c5d1b * src/truetype/ttinterp.c (TT_RunIns): Fix tracing arguments. 2018-03-01 22:17:54 +01:00
Werner Lemberg 0206479158 * builds/unix/configure.raw: Need HarfBuzz 1.3.0 or newer.
Problem reported by Alan Coopersmith <alan.coopersmith@oracle.com>.
2018-03-01 21:34:57 +01:00
Werner Lemberg 713d68ee9f [sfnt] Prefer `CBDT'/`CBLC' over `glyf' table (#53154). 2018-02-17 18:35:15 +01:00
Werner Lemberg 9fbd0041ca Split off ChangeLog.28. 2018-02-17 10:37:10 +01:00
Werner Lemberg 63aaf89cec s/sub-pixel/subpixel/. 2018-02-17 10:34:47 +01:00
Werner Lemberg 4a03f17449 [truetype] Integer overflow issues.
Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6027

* src/truetype/ttinterp.c (Ins_MSIRP, Ins_MIAP, Ins_MIRP): Use
SUB_LONG; avoid FT_ABS.
2018-02-06 02:23:19 +01:00
Alexei Podtelezhnikov f4a3255d45 [unix] Use -fvisibility=hidden.
It is now widely recommended that ELF shared libraries hide symbols
except those with explicit __attribute__((visibility("default"))).
This is supported by all major compilers and should rather be an
option in libtool.

* builds/unix/configure.raw: Add -fvisibility=hidden to CFLAGS.
* builds/unix/ftconfig.in, builds/vms/ftconfig.h,
include/freetype/config/ftconfig.h (FT_EXPORT): Use visibility
attribute.
2018-02-04 00:09:02 -05:00
Werner Lemberg 036bdc0c9a [truetype] Minor typo. 2018-01-28 00:05:46 +01:00
Werner Lemberg 68dddcdcbe [truetype] Better protection against invalid VF data.
Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5739

Bug introduced in commit 08cd62deed.

* src/truetype/ttgxvar.c (TT_Set_Var_Design): Always initialize
`normalizedcoords'.
2018-01-27 23:59:30 +01:00
Werner Lemberg 29c759284e * src/truetype/ttinterp.c (Ins_GETVARIATION): Avoid NULL reference.
Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5736
2018-01-27 14:43:43 +01:00
Werner Lemberg f438e06972 * src/truetype/ttgxvar.c (tt_set_mm_blend): Minor. 2018-01-27 14:39:15 +01:00
Werner Lemberg ef48653023 [truetype] Better trace VF instances.
* src/truetype/ttgxvar.c (ft_var_to_normalized): Don't emit number
of coordinates.
(TT_Get_MM_Var): Trace instance indices names.
(TT_Set_Var_Design): Updated.
2018-01-27 13:58:02 +01:00
Werner Lemberg 5f94c90f19 Fix comment. 2018-01-27 10:52:13 +01:00