summaryrefslogtreecommitdiffstats
path: root/win/tkWinFont.c
Commit message (Collapse)AuthorAgeFilesLines
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* We must specify the lowest Windows version wepatthoyts2007-12-101-15/+24
| | | | | | | | | intend to support. In particular the SystemParametersInfo API doesn't like to receive structures that are larger than it expects which affects the font assignements. Set to Win98 support. Handle failure to read the system parameters. This causes ttk/fonts.tcl to set any missing named fonts.
* Minor reshuffle for claritypatthoyts2007-11-171-5/+5
|
* * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-301-8/+9
| | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* Fixed leak in CreateNamedFont spotted by das.patthoyts2007-10-231-12/+6
|
* Assorted minor cleanups.dkf2007-09-081-74/+71
|
* TIP #145 implementationpatthoyts2007-05-041-1/+142
|
* various "const" additions, in line with TIP #27nijtmans2007-01-181-2/+2
|
* More warning squelching (mostly uninit variable warnings)dkf2007-01-121-2/+2
|
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-10/+11
|
* TIP 300 IMPLEMENTATIONKevin B Kenny2006-12-011-1/+57
|
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-221-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59
* ANSIficationdkf2005-12-021-565/+562
|
* * 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