summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixFont.c
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULLhobbs2003-10-291-1/+8
| | | | | | family against bad X servers. FossilOrigin-Name: ef7501a4189a01891b7734b047b921f9a2cbc52b
* * 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. FossilOrigin-Name: 4c9e0b13f5369c68012f9910e8142375f448db05
* * 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] FossilOrigin-Name: b53243d3b8738bde651a9535f693aa0cbad78dc8
* * unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use thehobbs2003-02-251-4/+4
| | | | | | first best font match in user font path. [Bug #647497] (dal zotto) FossilOrigin-Name: 0c01a07f4fda26c6959400596b030de160de4451
* 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] FossilOrigin-Name: a9b64ff1d4d172478038990c9f1aebaeadbb1d73
* * tests/text.test: properly return the number ofhobbs2002-10-171-4/+5
| | | | | | * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732] FossilOrigin-Name: e02410d5466c5e624c8e4373a694e372ef8e57d4
* 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) FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
* * (Tk_DrawChars) silence compiler warning.dgp2002-06-261-2/+3
| | | FossilOrigin-Name: 8713088a4c190d4e5600df0b07aaa526d829383c
* * 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] FossilOrigin-Name: bc358b934e8a2165d575175e4920c9422a76d602
* * 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) FossilOrigin-Name: 6e46333e9209d2d2cf8709ecb5dfe7cda90b70da
* * unix/tkUnixFont.c (FontPkgCleanup): cleanup thread specific fonthobbs2002-04-121-1/+41
| | | | | | resources on thread exit. FossilOrigin-Name: bfad691293ad928c4d673b5f97f617c538befd8e
* * 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. FossilOrigin-Name: 5569e94a9f1c533c71f44250bf6aa9b8172773ab
* * 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] FossilOrigin-Name: a28f6c2d4d33b7b9d1f08651766345ddb505fdfa
* * 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] FossilOrigin-Name: 319a19a17c741b422862379dca21d45833b04407
* * unix/tkUnixFont.c: Eliminated redundant case folding code.stanton1999-06-011-7/+2
| | | FossilOrigin-Name: 000bbe880dcf58209d3d9b86fbf33c3ab2b44672
* * Merged 8.1 branch into the main trunkstanton1999-04-161-607/+2163
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* integrated stubs into 8.0 main branchstanton1999-03-101-2/+2
| | | FossilOrigin-Name: 4c74dd207943932e6d9a6d06a3ec11b8e4459199
* Fixed font display bug (#846)stanton1998-11-251-1/+30
| | | FossilOrigin-Name: 4a3d2bfb4b7920c49684abe480baec2443ab4a62
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* fixed font display to truncate really long stringsstanton1998-08-111-1/+20
| | | FossilOrigin-Name: dc78ae1f123f7ffa29ab2cadb90e0b4d526cde41
* Initial revisionrjohnson1998-04-011-0/+979
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4