Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -6/+6 |
| | |||||
* | Try a fallback font if XftFontOpenPattern() fails in GetFont | jenglish | 2008-03-12 | 1 | -4/+25 |
| | | | | (workaround for [Bug 1090382]). | ||||
* | Re-fix strict-aliasing warnings reintroduced by last patch. | jenglish | 2008-01-28 | 1 | -24/+15 |
| | |||||
* | Fix [Bug 835848]. | jenglish | 2008-01-27 | 1 | -9/+14 |
| | | | | Use FcTypeDouble for XFT_SIZE attribute. | ||||
* | Merged common code from InitFont() and TkpGetFontAttrsForChar(), | jenglish | 2008-01-27 | 1 | -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 fontconfig | jenglish | 2007-05-15 | 1 | -4/+1 |
| | | | | libraries [Bug 1717830 again]. | ||||
* | Fix various memory leaks [Bug 1717830], [Bug 800149]. | jenglish | 2007-05-15 | 1 | -21/+14 |
| | |||||
* | Properly cast sentinel arguments to variadic function | jenglish | 2007-05-07 | 1 | -3/+4 |
| | | | | (fixes "warning: missing sentinel in function call", [Bug 1712001]) | ||||
* | Tackle [Bug 1711985] | dkf | 2007-05-03 | 1 | -12/+15 |
| | |||||
* | Minor cleanup | dkf | 2007-02-27 | 1 | -13/+7 |
| | |||||
* | Less of that K&R or wrongly indented function header style! | dkf | 2007-02-22 | 1 | -13/+20 |
| | |||||
* | TIP 300 IMPLEMENTATION | Kevin B Kenny | 2006-12-01 | 1 | -1/+61 |
| | |||||
* | * unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over from | rmax | 2006-03-23 | 1 | -1/+11 |
| | | | | tkUnixFont.c to fix compiling with --enable-xft . | ||||
* | Scope the config a bit better; it only needs to be visible inside one function. | dkf | 2006-02-07 | 1 | -7/+7 |
| | |||||
* | Use the fact that ckalloc() *never* returns NULL to optimize the code | dkf | 2006-02-07 | 1 | -19/+7 |
| | |||||
* | ANSIfy | dkf | 2005-11-14 | 1 | -110/+134 |
| | |||||
* | Tk_MeasureChars: Use Tcl_UtfToUnichar() for lax UTF-8 parsing | jenglish | 2005-04-19 | 1 | -7/+7 |
| | | | | instead of strict parsing with FcUtf8ToUcs4() [fix/workaround for #1185640] | ||||
* | Tk_DrawChars: Check for short integer overflow in x,y coordinates | jenglish | 2004-11-28 | 1 | -3/+3 |
| | | | | [Fixes: #942320 "Tk, Xft, text and long lines"] | ||||
* | TIP #205 "Use pkgconfig Database to Register Xft Support". | jenglish | 2004-10-08 | 1 | -1/+18 |
| | | | | (xref: patch #971980) | ||||
* | Removed stupid type error introduced when adding style to code. | dkf | 2003-11-17 | 1 | -2/+3 |
| | |||||
* | Basic style guide fixes for tkUnixRFont.c | dkf | 2003-10-29 | 1 | -269/+258 |
| | |||||
* | Fix for [Bug#751553] "Xft: [font configure] does not update in-use fonts". | jenglish | 2003-06-09 | 1 | -29/+87 |
| | | | | | Fixed TkpGetSubFonts() to return information about all subfonts, not just the first one. | ||||
* | * unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes from | jenglish | 2003-05-31 | 1 | -19/+25 |
| | | | | | pattern returned from GetFont (actual font) instead of the query pattern (requested font). | ||||
* | Changes from Keith Packard's version: | jenglish | 2003-05-31 | 1 | -15/+48 |
| | | | | | | | | | | | | | | + Added copyright notice + Fix infinite loop in Tk_MeasureChars when TK_WHOLE_WORDS is specified + Fix for crash in TkpGetNativeFont when XftXlfdParse() fails + TkpGetFontFromAttributes: use XftPatternCreate() and XftPatternAddString(... XFT_FAMILY ...) instead of XftPatternBuild() to initialise pattern; fixes crash when faPtr->family == NULL + Workaround for Tcl bug where malformed UTF-8 text can get passed to Tk_MeasureChars / Tk_DrawChars. + TkpGetFontFromAttributes: don't request 0-pixel fonts + TkpGetNativeFont: don't use FcNameParse, since that tends to always succeed, causing the usual Tk font parsing to be skipped. | ||||
* | SOURCE: Imported from cvs.fontconfig.org, tk/unix/tkUnixRFont.c rev 1.4 | jenglish | 2003-05-31 | 1 | -0/+556 |