summaryrefslogtreecommitdiffstats
path: root/win/tkWinFont.c
Commit message (Collapse)AuthorAgeFilesLines
* * tests/canvText.test:mdejong2004-08-091-2/+2
| | | | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 100628 FossilOrigin-Name: 7e61c798b1cf7128587e88862a4a464fb93ce0b0
* * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make surehobbs2004-05-051-15/+33
| | | | | | | that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug #618872] (dkf, hobbs) FossilOrigin-Name: f17ec1772878da06a8a58444a553668f22192301
* * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italichobbs2004-02-141-144/+159
| | | | | | | | font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem. FossilOrigin-Name: 7f0387ce5efe5ce16b90db702f6c5361e8599ef7
* * win/tkWinInt.h:hobbs2003-02-261-2/+36
| | | | | | | | * win/tkWinDraw.c: * win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text drawing on Windows. [Patch #685388] (martin) FossilOrigin-Name: e9b026f7cef7dc4a2ab3270e627f278c94b131fd
* * win/tkWinFont.c: Additional changes to fix CONST warnings ondgp2002-08-051-2/+2
| | | | | | * win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley. FossilOrigin-Name: b4beb44ec364b878092bb55f550dd0389efba45d
* * win/tkWinInt.h: declaration for TkWinGetUnicodeEncodinghobbs2002-04-121-7/+5
| | | | | | | | | * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding. FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
* Added labelframe widget. TIP#18.pspjuth2001-09-261-1/+6
| | | FossilOrigin-Name: bc61e5ede90133d12d784a905cdf7b2ffb5aef5f
* minor cast fixes to prevent 64bit warningshobbs2001-09-211-10/+11
| | | FossilOrigin-Name: ea7bd071d695c4a3869d36be8fb5dbebf393f994
* * win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDCericm2000-08-291-1/+2
| | | | | | | | | | | | | | for determining the source's logical coordinates. Patch from [Bug: 6134 (Markus Oberhumer)]. * win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[] under Windows NT/2000 in the same way as under Windows 95/98. Patch from [Bug: 6134 (Markus Oberhumer)]. * win/tkWinFont.c (GetScreenFont): Added a memset() to pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)]. FossilOrigin-Name: fbfb2fa6b53612256c15d7183620b6f69ce32f1c
* * win/tkWinFont.c (LoadFontRanges): improved support for all charshobbs2000-05-131-1/+12
| | | | | | | in 0-255 range for bitmap ANSI fonts. May be improved to handle bitmap non-ANSI fonts in the future. [Bug: 2172] FossilOrigin-Name: 98d9aa794b91185874a1b5bd0778436502a4ccba
* * win/tkWinFont.c (GetScreenFont): corrected adjustment againsthobbs2000-04-071-8/+14
| | | | | | LC_FACESIZE limitation for NT. [Bug: 4931] FossilOrigin-Name: 7f44776861dfc41601aae81138b49f1378019ee1
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-311-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617] FossilOrigin-Name: 4da507a963ef135744aef559227cc6d7a4335951
* * win/tkWinFont.c: corrected symbol font use to only work on 8-bithobbs2000-02-081-4/+6
| | | | | | | | | | | characters [Bug: 2406] * README: * unix/configure.in: * win/configure.in: * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel FossilOrigin-Name: 740a11d2da11146d7908e091b9477fbdd961abd8
* * win/Makefile.in (install-*): reduced verbosity of installhobbs2000-02-011-2/+9
| | | | | | | | | | | | | | * win/tkWinPixmap.c (XGetGeometry): added support for windows in XGetGeometry [Bug: 4069] * win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with long font names [Bug: 4108] * win/tkWinDialog.c: added EnableWindow calls to dialogs to correct for possible loss of control in parent Tk toplevel [Bug: 1212 et al] FossilOrigin-Name: 97a60a4857c1e41eedeefeffdb0f432156ccce64
* * win/tkWinCursor.c: added support for Windows cursors tohobbs1999-12-161-4/+4
| | | | | | | | | | | | TkGetCursorByName (.ani, .cur) using -cursor @<filename> (Ascher) [Bug: 1350] * win/tkWinWm.c: fixed 'wm deiconify' to update position of the toplevel if event is waiting before mapping. (Mao) [Bug: 3687] This removes the need for 'update idle' before 'wm deiconify' on Windows. FossilOrigin-Name: e7aa2a517ac9d86186daa5274230776997172f85
* * Merged 8.1 branch into the main trunkstanton1999-04-161-256/+1976
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* * win/tkWinFont.c (Tk_MeasureChars): Added a workaround for a bugstanton1999-02-041-3/+13
| | | | | | in GetTextExtentExPoint on Win NT 4.0/Japanese. [Bug: 1006] FossilOrigin-Name: 9946f072a52a9c97ed34d2cfede954ea19469c84
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Bug Fix: It was assumed that kerning did not exist when the code was written.surles1998-06-111-69/+54
| | | | | | | This behavior has since been changed. Added new API calls to get the font measurment for chars (kerning or not) FossilOrigin-Name: 02cb8cce3aec4c1c46e9e56cbed0789cd1d3e861
* Initial revisionrjohnson1998-04-011-0/+643
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4