summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix test-case font-44.1: It looks like XftPatternAddDouble(... ↵jan.nijtmans2017-05-231-1/+1
| | | | XFT_PIXEL_SIZE ..) doesn't take scaling into account, so we have to do our own scaling.
* Slightly use of more "int" in stead of double, for 100% compatibility at ↵bug_434d294dfjan.nijtmans2017-05-191-1/+1
|\ | | | | | | script level.
* | Another attempt to fix ↵jan.nijtmans2017-05-151-9/+12
|/ | | | [434d294df8b053246ee86e7898d06bc3a6d1d771|434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt)
* Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-271-2/+2
|\
| * Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-3/+3
| |\ | | | | | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change.
| | * Remove useless (void *) casts introduced in checkin [b7a58eae61]. The ↵stwo2012-08-091-1/+1
| | | | | | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
| | * Type correctness fix, to stop compiler complaint.dkf2012-07-121-2/+2
| | |
* | | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-3/+3
|\ \ \ | |/ / |/| | | | | places where Unicode surrogate handling could be improved.
| * | More simplificationsjan.nijtmans2016-09-191-1/+1
| | |
| * | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-11/+1
| | | | | | | | | | | | needing less #ifdef's
| * | Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-1/+11
| | |
| * | Fix XOffsetRegion/XUnionRegion prototypes (not currently used). Remove ↵jan.nijtmans2016-05-191-2/+2
| | | | | | | | | | | | unneccessary white-space.
| * | Fixed [545f10fcf3] - Poor Xft coloured font performance on X11. Thanks to ↵fvogel2016-05-181-44/+106
| |\ \ | |/ / |/| | | | | James Bonfield for the bug report, to Rob Davies for the patch, and to Brian Griffin for the testing
| * | 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).
* | | Fixed [545f10fcf3] - Poor Xft coloured font performance on X11. Thanks to ↵bug_545f10fcf3fvogel2016-05-101-44/+106
|/ / | | | | | | James Bonfield for the bug report, to Rob Davies for the patch, and to Brian Griffin for the testing
* | Remove useless (void *) casts introduced in checkin [81e50c85ed]. The ↵stwo2012-08-091-1/+1
| | | | | | | | warnings were false flags from a faulty OpenBSD C compiler.
* | Zap trailing whitespace.stwo2012-08-061-1/+1
| |
* | Type correctness fix, to stop compiler complaintjan.nijtmans2012-07-121-2/+2
| |
* | Fix text clipping when working with the Xft-based renderer.dkf2012-06-121-0/+39
|\ \ | |/
| * Fix text clipping when working with the Xft-based renderer.dkf2012-06-121-0/+28
| |
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
| * Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-2/+2
| | | | | | | | call" compiler warnings.
| * Revert my last commit on grounds it is more likely to cause problems than not.dkf2010-01-021-3/+1
| |
| * Added point-size conversion, from Ubuntu port.dkf2010-01-021-1/+3
| |
| * [Bug 1961455]: Draw underlines and overstrikes when using Xft for font renderingdkf2009-10-101-4/+57
| |
| * Backport of "misconfigured xft font engine" fixes.dkf2009-09-101-2/+15
| |
* | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-4/+4
| | | | | | using useful casts internally.
* | Cast some NULLs to (void *) in order to quash "missing sentinel in function ↵stwo2011-01-061-2/+2
| | | | | | | | call" compiler warnings.
* | * generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):dkf2010-12-021-3/+3
| | | | | | | | | | Expose angled text API for Emiliano Gavilan. Still only in internal stub table.
* | Revise Tcl_Panic() calls ending with a newline removing the newline, because ↵nijtmans2010-11-191-2/+2
| | | | | | | | Tcl_Panic() outputs a final newline already
* | * unix/tkUnixRFont.c (GetFont): [Bug 2978410]: Do not use non-constantdkf2010-03-291-2/+11
| | | | | | | | initializers for structures, since HP-UX cc doesn't like it.
* | Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-051-7/+24
| |
* | Revert my last commit on grounds it is more likely to cause problems than not.dkf2010-01-021-3/+1
| |
* | Added point-size conversion, from Ubuntu port.dkf2010-01-021-1/+3
| |
* | [Bug 1961455]: Draw underlines and overstrikes when using Xft.dkf2009-10-101-7/+118
| |
* | Improve comment following request by Joe Englishdkf2009-09-091-2/+3
| |
* | Try to make Tk more resilient in the face of Xft allocation failures.dkf2009-09-091-2/+14
| |
* | TIP#119 implementation. [Patch 1611359]dkf2008-11-221-35/+257
| |
* | fix [Bug 2226093] const changes not all correctnijtmans2008-11-051-5/+9
| | | | | | | | more internal -Wwrite-string warning fixes
* | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-6/+6
|/
* Try a fallback font if XftFontOpenPattern() fails in GetFontjenglish2008-03-121-4/+25
| | | | (workaround for [Bug 1090382]).
* Re-fix strict-aliasing warnings reintroduced by last patch.jenglish2008-01-281-24/+15
|
* Fix [Bug 835848].jenglish2008-01-271-9/+14
| | | | Use FcTypeDouble for XFT_SIZE attribute.
* Merged common code from InitFont() and TkpGetFontAttrsForChar(),jenglish2008-01-271-113/+86
| | | | | | | factored into GetTkFontAttributes() and GetTkFontMetrics(). Removed write-only struct UnixFtFont member 'drawable'. Removed unneeded double-pointer indirections. Ensure that TkFontAttributes.family member is a Tk_Uid as specified.
* Fix crash introduced by previous fix, exposed under newer fontconfigjenglish2007-05-151-4/+1
| | | | libraries [Bug 1717830 again].
* Fix various memory leaks [Bug 1717830], [Bug 800149].jenglish2007-05-151-21/+14
|
* Properly cast sentinel arguments to variadic functionjenglish2007-05-071-3/+4
| | | | (fixes "warning: missing sentinel in function call", [Bug 1712001])
* Tackle [Bug 1711985]dkf2007-05-031-12/+15
|
* Minor cleanupdkf2007-02-271-13/+7
|