summaryrefslogtreecommitdiffstats
path: root/win/tkWinFont.c
Commit message (Collapse)AuthorAgeFilesLines
* merge core-8-6-branchjan.nijtmans2017-05-191-3/+3
|\
| * Slightly use of more "int" in stead of double, for 100% compatibility at ↵bug_434d294dfjan.nijtmans2017-05-191-2/+2
| |\ | | | | | | | | | script level.
| * | Another attempt to fix ↵jan.nijtmans2017-05-151-1/+1
| |/ | | | | | | [434d294df8b053246ee86e7898d06bc3a6d1d771|434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt)
* | Fixed [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fontsfvogel2017-01-281-16/+0
| |
* | Fix [140ea8ab38]: Long text lines are not drawn on Windows.pspjuth2017-01-251-1/+9
|\ \ | |/
| * Fix [140ea8ab38]: Long text lines are not drawn on Windows.pspjuth2017-01-251-1/+9
| |\
| | * Fix [140ea8ab38]: Long text lines are not drawn on Windows.pspjuth2017-01-251-1/+9
| | |
* | | merge core-8-6-branchjan.nijtmans2017-01-181-25/+16
|\ \ \ | |/ /
| * | Use the win32 Wide API in some more places. And some simplifications, since ↵jan.nijtmans2017-01-181-25/+16
| | | | | | | | | | | | we no longer support win95/98/ME
* | | Fix [3df559ef7c] - Negative bbox width on OS X.fvogel2017-01-071-1/+5
|\ \ \ | |/ /
| * | Do everything the other way round. Leave things how they were on OS X ↵fvogel2016-12-301-1/+5
| | | | | | | | | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true
* | | Fix [6c0d7aec67]: unicode text input Windows 8jan.nijtmans2016-09-291-9/+9
|\ \ \ | |/ /
| * | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-291-8/+9
| |\ \ | | | | | | | | | | | | input Windows 8. Added some test-cases using the "font actual" command.
| | * \ merge core-8-6-branch, keep FONTMAP_SHIFT to the original value.jan.nijtmans2016-09-271-2/+3
| | |\ \ | | |/ / | |/| |
| | * | Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-271-1/+1
| | |\ \ | | |/ / | |/| |
| * | | Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change.
| | * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-2/+2
| | |\ \
| | | | * Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-11/+10
| | | | |\ | | |_|/ / | |/| | | | | | | | places where Unicode surrogate handling could be improved.
| | | | * More simplificationsjan.nijtmans2016-09-191-4/+4
| | | | |
| | | | * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-27/+5
| | | | | | | | | | | | | | | | | | | | needing less #ifdef's
| | | | * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-8/+29
| |_|_|/ |/| | |
* | | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
| * | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
* | | | Make Tk compile warning-free against TIP-389-enabled Tcl 8.7. No change of ↵jan.nijtmans2016-03-161-1/+1
|/ / / | | | | | | | | | functionality, since font-names generally don't contain out-of-BMP Unicode characters (if they do in the future, that still can be fixed then).
* | | Use size_t in stead of int for some internal refCount variables. On 32-bit ↵jan.nijtmans2015-07-081-3/+2
| | | | | | | | | | | | systems, this doubles the range (as size_t is unsigned), on 64-bit system much more than that.
* | | Internationalization of all Windows font handlingjan.nijtmans2011-10-131-52/+26
| | |
* | | code cleanup (WCHAR -> TCHAR, no direct calls to *W() functions, unnecessary ↵jan.nijtmans2011-10-111-14/+14
| | | | | | | | | | | | type casts
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * 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
| | * * 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)
| | * * 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.
| * | [Bug 1825353]: Backported patch for tiny fixed font on Russian Windows systems.patthoyts2009-10-291-3/+19
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-15/+14
| | | | | | | | | using useful casts internally.
* | | * generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):dkf2010-12-021-2/+2
| | | | | | | | | | | | | | | Expose angled text API for Emiliano Gavilan. Still only in internal stub table.
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-061-85/+56
| | |
* | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* | | Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-5/+5
| | | | | | | | | | | | | | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-3/+3
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-051-3/+3
| | |
* | | [Bug 1825353] Fix tiny fixed font on Russian Windows.patthoyts2009-10-291-17/+20
| | | | | | | | | | | | | | | | | | This patch reverts a previous attempt to fix tiny fonts on Russian Windows. It fixes the issue by requesting a suitable fixed font instead of decoding the system stock font.
* | | - eliminate some unnessary type castsnijtmans2009-01-281-3/+3
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Fixed up complaints from MSVC engendered by the last commit. In particular ↵patthoyts2008-11-221-7/+7
| | | | | | | | | | | | replaced round() which is a C99 function.
* | | TIP#119 implementation. [Patch 1611359]dkf2008-11-221-56/+247
| | |
* | | More small changes to use C89 better and manage the result more efficiently.dkf2008-11-081-11/+11
| | |
* | | const fixes for windows codepatthoyts2008-11-031-13/+15
| | |
* | | [Bug 1825353] To fix a problem with tiny fonts on Russian versions ofpatthoyts2008-10-181-3/+16
| | | | | | | | | | | | | | | Windows we will avoid removing the internal leading for fixed width fonts. See the bug for more details on why this change is as it is.
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-12/+12
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-50/+50
|/ /