summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixFont.c
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):hobbs2006-10-051-35/+49
| | | | | | (TkpFontPkgInit, encodingAliases): Correct alignment issues in encoding conversion. Call ucs-2be "unicode" on big-endian systems. [Bug 1122671]
* Fix problems caused when XServer returns invalid font names. [Bug 1475865]dkf2006-04-251-2/+20
|
* * unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls tohobbs2005-04-121-3/+3
| | | | avoid possible segv. Minimal fix for [Bug 1122671]
* * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULLhobbs2003-10-291-1/+8
| | | | family against bad X servers.
* * unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry callhobbs2003-07-191-3/+12
| | | | | | that prevents overwidth lines as it requires a roundtrip call to the X server for every string drawn. Hard-code max width to 32768 until a beter solution to get max width is made.
* * unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*hobbs2003-05-151-2/+2
| | | | | | charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030]
* * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use thehobbs2003-02-251-4/+4
| | | | first best font match in user font path. [Bug #647497] (dal zotto)
* Removed potentially fatal FMR in Unix font handling. No test because anydkf2003-02-201-22/+48
| | | | test would be very platform- and build-specific. [Bugs #618872 and #689357]
* * tests/text.test: properly return the number ofhobbs2002-10-171-4/+5
| | | | * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-4/+5
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* * (Tk_DrawChars) silence compiler warning.dgp2002-06-261-2/+3
|
* * unix/tkUnixFont.c (Tk_DrawChars): Don't assume thata_kovalenko2002-06-051-10/+16
| | | | | | | one char is always one byte, and that required subfont for the last character in any string is the same as for the previous character [Bug #559435] [Patch #559437]
* * generic/tkTextDisp.c (DisplayLineBackground):hobbs2002-04-231-37/+35
| | | | | | * unix/tkUnix3d.c (Tk_3DHorizontalBevel): * unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun the X window 16-bit size limit. [Patch #541999] (bonfield)
* * unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific fonthobbs2002-04-121-1/+41
| | | | resources on thread exit.
* * unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixesandreas_kupries2002-03-271-1/+2
| | | | | a GCC/HPUX problem with missing a "htons". See also "tclUnixPort.h" for equivalent code.
* * unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode)hobbs2001-06-041-8/+214
| | | | | | | | | fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in Tk on Unix that is used for those fonts (X11 requires big-endianness). (welch) [Patch #406411; Bug #220890 #220899] This differs from the 8.3.3 patch by not adding ucs-2be in the preferred encodingList (seems works fine without). Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]
* * unix/configure.in:hobbs1999-12-211-3/+2
| | | | | | | | | | | | | | | | | | | * README: updated for patch level 8.3b1 * unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error and continue instead (for Tix) [Bug: 716 et al] * unix/tkUnixMenu.c: * unix/tkUnixFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used. * unix/aclocal.m4: removed -O flag for AIX when using the IBM compiler (several versions have a bug that crops up in the text widget). [Bug: 2316] * unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR [Bug: 3896]
* * unix/tkUnixFont.c: Eliminated redundant case folding code.stanton1999-06-011-7/+2
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-607/+2163
|
* integrated stubs into 8.0 main branchstanton1999-03-101-2/+2
|
* Fixed font display bug (#846)stanton1998-11-251-1/+30
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* fixed font display to truncate really long stringsstanton1998-08-111-1/+20
|
* Initial revisionrjohnson1998-04-011-0/+979