Kushal K S V S
417f5e3c59
Add PNG effect 1 (Gray + Red)
7 years ago
Kushal K S V S
efd9510850
minor changes
7 years ago
Kushal K S V S
9082ff89ef
Remove test print loop
7 years ago
Kushal K S V S
51347b348b
Read PNG function
7 years ago
Kushal K S V S
6bf7bcd378
Changes to makefile to use compiled version of freetype
7 years ago
Kushal K S V S
4d3200b4db
cleaning
7 years ago
Kushal K S V S
838c65dce2
fixed warning
7 years ago
Kushal K S V S
c84c32d576
fixed mono rendering
7 years ago
Kushal K S V S
48d9bb4345
Loop across all glyphs
7 years ago
Kushal K S V S
54cfe58d76
Apply LCD filter
7 years ago
Kushal K S V S
68f7652dbb
Indentation change
7 years ago
Kushal K S V S
d73dc59e0f
code for generating PNG
7 years ago
Kushal K S V S
2c4571ffa4
new code for generating hashes
7 years ago
Kushal K S V S
4caeea2cd6
Modified LCD_V rendering
7 years ago
Kushal K S V S
ef6231e5bf
Removed unnecessary loops and variables
7 years ago
Kushal K S V S
797e74abd6
First commit
7 years ago
Werner Lemberg
5bd76524ef
* src/sfnt/ttcmap.c (tt_cmap2_validate): Fix potential numeric
...
overflow.
7 years ago
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.
7 years ago
Nikolaus Waxweiler
098dd70cb1
* CMakeLists.txt (BASE_SRCS): Update to changes from 2018-03-05.
7 years ago
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.
7 years ago
Werner Lemberg
e277267c52
Typo.
7 years ago
Werner Lemberg
b0a93839b5
CHANGES: Document `--enable-freetype-config'.
7 years ago
Hugh McMaster
a7833f26c4
Make installation of `freetype-config' optional ( #53093 ).
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
7 years ago
Werner Lemberg
ccec889229
Minor: Update `CHANGES' and improve documentation in `modules.cfg'.
7 years ago
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.
7 years ago
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.
7 years ago
Werner Lemberg
5955b77b1d
Minor documentation improvement.
7 years ago
Werner Lemberg
efd13c5d1b
* src/truetype/ttinterp.c (TT_RunIns): Fix tracing arguments.
7 years ago
Werner Lemberg
0206479158
* builds/unix/configure.raw: Need HarfBuzz 1.3.0 or newer.
...
Problem reported by Alan Coopersmith <alan.coopersmith@oracle.com>.
7 years ago
Werner Lemberg
713d68ee9f
[sfnt] Prefer `CBDT'/`CBLC' over `glyf' table ( #53154 ).
7 years ago
Werner Lemberg
9fbd0041ca
Split off ChangeLog.28.
7 years ago
Werner Lemberg
63aaf89cec
s/sub-pixel/subpixel/.
7 years ago
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.
7 years ago
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.
7 years ago
Werner Lemberg
036bdc0c9a
[truetype] Minor typo.
7 years ago
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'.
7 years ago
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
7 years ago
Werner Lemberg
f438e06972
* src/truetype/ttgxvar.c (tt_set_mm_blend): Minor.
7 years ago
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.
7 years ago
Werner Lemberg
5f94c90f19
Fix comment.
7 years ago
Werner Lemberg
50f693a78b
[truetype] Beautify tracing of VF axis records.
...
* src/truetype/ttgxvar.c (TT_Get_MM_Var): Show axis records in a
table-like manner.
7 years ago
Werner Lemberg
994eb2b349
[truetype] Fix multiple calls of `FT_Get_MM_Var' ( #52955 ).
...
* src/truetype/ttgxvar.c (TT_Get_MM_Var): Set
`face->blend->num_axis' in case we have to initialize the
`face->blend'.
7 years ago
Alexei Podtelezhnikov
b1e0209829
[apinames] Anonymous version map for GNU linker.
...
* src/tools/apinames.c (PROGRAM_VERSION): Set to 0.3.
(OutputFormat): Add `OUTPUT_GNU_VERMAP'.
(names_dump): Handle it.
(usage): Updated.
(main): Handle new command line flag `-wL'.
7 years ago
Alexei Podtelezhnikov
c6a965b4d3
[unix] Call libtool to clean up.
...
* builds/unix/install.mk (clean_project_unix, distclean_project_unix):
Use libtool.
* builds/freetype.mk: Minor.
7 years ago
Alexei Podtelezhnikov
6ce6685659
* src/base/ftver.rc: Fix mingw-w64 compilation.
7 years ago
Alexei Podtelezhnikov
4b8ccc56d8
[build] Enable VERSIONINFO resource for Cygwin/MinGW.
...
* builds/unix/configure.raw: Check for resource compiler.
* builds/unix/unix-cc.in: Conditionally set up resource compiler.
* builds/freetype.mk: Add conditional rule for `ftver.rc'.
* src/base/ftver.rc: Copyright notice and year update.
7 years ago
Alexei Podtelezhnikov
fd8000f040
[build] Move VERSIONINFO resource.
...
* builds/windows/vc2010/freetype.vcxproj: Updated.
* builds/windows/ftver.rc: Move file from here...
* src/base/ftver.rc: ... to here.
7 years ago
Alexei Podtelezhnikov
d2d1750e08
[build] Expand dllexport/dllimport to Cygwin/MinGW.
...
* include/freetype/config/ftconfig.h: Respect DLL_EXPORT,
s/_MSC_VER/_WIN32/.
* builds/unix/ftconfig.in: Replicate here.
* builds/vms/ftconfig.h: Replicate here.
7 years ago
Alexei Podtelezhnikov
e8b38f899c
[build] Improve and document MSVC build.
...
* include/freetype/config/ftconfig.h: Guard dllexport/dllimport
attributes with _DLL and FT2_DLLIMPORT.
* builds/windows/vc2010/index.html: Update documentation.
7 years ago
Steve Robinson
707cd028b2
* CMakeLists.txt [win32]: Suppress warnings for POSIX functions.
7 years ago