diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-09-09 22:23:57 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-09-09 22:23:57 (GMT) |
commit | 4727c0c410cd50d19c06d78b4f36cfc4aa7e829d (patch) | |
tree | 8eaf41ae141685c48f89c4741ca2877212ff1e19 /ChangeLog | |
parent | b1a164c0a1f1822b82ed874aa176a5e3da80122e (diff) | |
download | tk-4727c0c410cd50d19c06d78b4f36cfc4aa7e829d.zip tk-4727c0c410cd50d19c06d78b4f36cfc4aa7e829d.tar.gz tk-4727c0c410cd50d19c06d78b4f36cfc4aa7e829d.tar.bz2 |
Try to make Tk more resilient in the face of Xft allocation failures.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2009-09-09 Donal K. Fellows <dkf@users.sf.net> + + * unix/tkUnixRFont.c (InitFont): Move pattern disposal in error case + to callers so they have more options when they come to recovering from + the failure. + (TkpGetFontFromAttributes): If the default attributes don't work, try + adding a setting to turn off use of XRender. That seems to work for + some people for unexplained reasons (possibly local misconfiguration). + * generic/tkFont.c (Tk_AllocFontFromObj): Stop this function from + keeling over in a heap when the low-level font allocation fails. An + error beats a crash! (Issue reported on comp.lang.tcl by Denis + Berezhnoy.) + 2009-09-07 Daniel Steffen <das@users.sourceforge.net> * generic/tkFocus.c: fix potential null dereference flagged by clang |