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 1006286]
* * win/tkWinFont.c (FindSubFontForChar): corrections to dkf patchhobbs2004-05-051-14/+16
| | | | to handle subFontPtrPtr in EnumFontFamilies callback.
* Fix FMR in subfont handling on Windows. [Bug 618872]dkf2004-05-051-15/+31
|
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* * (Tk_MeasureChars): Fix bugs shown by the test suitecc_benny2003-12-181-18/+29
| | | | [#861777]. Clarify comment on TK_AT_LEAST_ONE.
* * (Tk_MeasureChars): Initialize size.cx in case of errors.cc_benny2003-12-101-2/+5
| | | | | Initialize lastsize (fixes bug with wrong *lenghtPtr results in case no chars fit at all).
* * (Tk_MeasureChars): Fix indentation. Fix memory leak. Fixcc_benny2003-12-051-40/+32
| | | | handling of TK_WHOLE_WORDS.
* font measurement fixvincentdarley2003-12-041-121/+130
|
* * 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)
* * 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.
* * 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.
* Added labelframe widget. TIP#18.pspjuth2001-09-261-1/+6
|
* minor cast fixes to prevent 64bit warningshobbs2001-09-211-10/+11
|
* * 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)].
* * 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]
* * win/tkWinFont.c (GetScreenFont): corrected adjustment againsthobbs2000-04-071-8/+14
| | | | LC_FACESIZE limitation for NT. [Bug: 4931]
* * 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]
* * 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
* * 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]
* * 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.
* * Merged 8.1 branch into the main trunkstanton1999-04-161-256/+1976
|
* * 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]
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* 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)
* Initial revisionrjohnson1998-04-011-0/+643