Pierre Joye
3a6acb42b2
- MFB: #43790 , fix crash when no family name has been found
2008-01-09 01:51:17 +00:00
Scott MacVicar
65408b1520
MFH: Fixed bug #40130 (TTF usage doesn't work properly under Netware).
2007-04-23 15:17:47 +00:00
Nuno Lopes
5833fc40dc
fix race condition on font cache shutdown
2007-04-04 14:24:03 +00:00
Pierre Joye
6ef9642b16
- MFH:
...
- remove double lock (tween colors cache is created in each thread, the
cache mutex is already locked earlier)
- #40858 , other TS improvements for gd freetype cache management
cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:47:55 +00:00
Nuno Lopes
e5c4b50127
merge from gd sources: unlock mutex before shuting it down
2007-03-01 18:39:49 +00:00
Pierre Joye
dfeff9efe6
- sync with libgd.org, patch from Kees Cook
2007-02-25 02:45:06 +00:00
Pierre Joye
b5e6c78eda
- #40578 , fix the 2nd race condition on shutdown when the cache is freed
2007-02-23 00:58:49 +00:00
Antony Dovgal
94bab7b206
MFH: fix #40578 (imagettftext() multithreading issue)
2007-02-21 15:00:26 +00:00
Nuno Lopes
e299095ca1
fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits
2006-09-15 16:11:39 +00:00
Pierre Joye
75e9e12093
- MFH: add support for entities in hexadecimal format, like © can
...
be passed as © or © (sync with gd)
2006-08-23 20:22:31 +00:00
Pierre Joye
f3b74fe9ac
- Attempt to fix #28598 , bug introduced in GD (around php 4.3.4)
...
The way they fix MS Symbol are wrong, multiple faces support hould added
later, safer.
Please test it with your weird fonts, if it works, MFH will be done.
2004-11-20 13:09:45 +00:00
Ilia Alshanetsky
f0ffe7c85b
Fixed bug #28175 (Allow bundled GD to compile against freetype 2.1.2).
2004-06-09 14:50:05 +00:00
Ilia Alshanetsky
6e9c4b3125
Upgrade bundled GD library to 2.0.23.
...
Fixed bug #28175 (build problem for people using FreeType 2.1.0-2.1.2).
2004-05-09 17:33:50 +00:00
Ilia Alshanetsky
8b079070a3
Synchronized bundled GD library with GD 2.0.22.
2004-03-29 18:20:33 +00:00
Ilia Alshanetsky
53e56151fe
Fixed bug #27437 (wrong freetype include inside GD library).
2004-03-06 18:24:41 +00:00
Ilia Alshanetsky
36db28c8db
CS fixes.
2003-12-28 20:11:08 +00:00
Ilia Alshanetsky
8d6cfb797b
Synchronized bundled GD library with GD 2.0.17
...
. GD is now thread-safe thanks to wrappers around freetype library
. Significant optimization to png writing code.
. Miscellaneous fixes.
Fixed memory leak inside php_imagettftext_common()
Make ext/gd compile with GD 2.0.17+ (gdFreeFontCache() is not avaliable)
2003-12-25 22:12:12 +00:00
Wez Furlong
085ceca8e1
be slightly nicer when defining R_OK
2003-12-19 12:41:24 +00:00
Rasmus Lerdorf
0f6cafa7e6
MFB compile fix
2003-12-17 22:47:02 +00:00
Ilia Alshanetsky
45cd627569
ZTS fix.
2003-12-16 17:23:15 +00:00
Sebastian Bergmann
aaeb8f4394
Fix ZTS build.
2003-12-16 06:29:01 +00:00
Ilia Alshanetsky
e440d4fbea
Fixed bug #26635 (fixed look up for fonts in the current directory w/ZTS)
2003-12-15 20:34:48 +00:00
Ilia Alshanetsky
cadc8a15f9
Fixed bug #24223 (missing variable initialization in bundled gd)
2003-06-17 13:37:43 +00:00
Ilia Alshanetsky
e1b8cad26f
Syncronize bunbled GD with gd 2.0.14
2003-06-03 23:54:56 +00:00
Rasmus Lerdorf
63c966a33d
MFB
2003-04-30 16:26:22 +00:00
Ilia Alshanetsky
61026e391c
Syncronized bunbled GD library with gd 2.0.12
...
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Ilia Alshanetsky
822b53b95a
Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
...
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
Frank M. Kromann
6b0b7e3f42
Nuke warning, on Win32 build
2003-01-06 04:29:33 +00:00
Ilia Alshanetsky
b52eb8f14a
Fixed bug #21445 .
2003-01-06 00:47:40 +00:00
Marcus Boerger
65eb0d8125
Conversion fixes
2002-11-29 01:44:19 +00:00
Ilia Alshanetsky
9251486567
Synchronized bundled gd library with the latest stable GD, 2.0.6
...
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Ilia Alshanetsky
ef1d4e1dcf
Fix compile warning, MIN/MAX macros may already be defined by param.h
2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
ef26e2d1f8
Fixed 3 memory leaks.
...
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Derick Rethans
8c86784cae
- MFB
2002-11-17 19:45:10 +00:00
Derick Rethans
c3fe54dfab
- MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard)
2002-11-17 13:11:46 +00:00
Marcus Boerger
b06085dd46
fix warnings
2002-11-12 13:12:58 +00:00
Ilia Alshanetsky
02fcdec6b7
Fix win32 build.
2002-11-03 21:21:13 +00:00
Rasmus Lerdorf
a24534a1ed
Update bundled gd library with relevant changes from gd-2.0.4
...
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Marcus Boerger
902c17e05a
fiw warnings
2002-08-22 16:21:32 +00:00
Marcus Boerger
b9c0c918cc
try even more to fix those warnings.....
...
#repeat: this code must come from hell
2002-08-11 19:13:07 +00:00
Marcus Boerger
1723861618
try to fix those warnings.....
...
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
James Cox
073d7a483f
thunder seems to have stopped
2002-08-08 21:26:49 +00:00
James Cox
66e78004c1
Reverting patch. after more investigation this doesn't help in all that many cases, and with Wez's better patch, sometimes degrade's quality.
2002-08-08 15:02:14 +00:00
James Cox
a234c521b9
adding patch from http://www.coupin.net/gd-freetype/ which makes images anti aliased (and therefore more readable).
...
#this does actually work.
2002-07-11 04:36:22 +00:00
Wez Furlong
6d1dc8141c
Apply that patch I wrote ages ago that fixes some problems with true-color
...
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Rasmus Lerdorf
7a8cade379
Initial commit of the built-in libgd based on GD-2.0.1
...
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs. It also will not build currently because
of this. The PHP gd checks need to be incorporated along with a bit of
other config magic. It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00