summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
Commit message (Collapse)AuthorAgeFilesLines
* TIP 300 IMPLEMENTATIONKevin B Kenny2006-12-011-1/+61
|
* * unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over fromrmax2006-03-231-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.dkf2006-02-071-7/+7
|
* Use the fact that ckalloc() *never* returns NULL to optimize the codedkf2006-02-071-19/+7
|
* ANSIfydkf2005-11-141-110/+134
|
* Tk_MeasureChars: Use Tcl_UtfToUnichar() for lax UTF-8 parsingjenglish2005-04-191-7/+7
| | | | instead of strict parsing with FcUtf8ToUcs4() [fix/workaround for #1185640]
* Tk_DrawChars: Check for short integer overflow in x,y coordinatesjenglish2004-11-281-3/+3
| | | | [Fixes: #942320 "Tk, Xft, text and long lines"]
* TIP #205 "Use pkgconfig Database to Register Xft Support".jenglish2004-10-081-1/+18
| | | | (xref: patch #971980)
* Removed stupid type error introduced when adding style to code.dkf2003-11-171-2/+3
|
* Basic style guide fixes for tkUnixRFont.cdkf2003-10-291-269/+258
|
* Fix for [Bug#751553] "Xft: [font configure] does not update in-use fonts".jenglish2003-06-091-29/+87
| | | | | Fixed TkpGetSubFonts() to return information about all subfonts, not just the first one.
* * unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes fromjenglish2003-05-311-19/+25
| | | | | pattern returned from GetFont (actual font) instead of the query pattern (requested font).
* Changes from Keith Packard's version:jenglish2003-05-311-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.4jenglish2003-05-311-0/+556