diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-04 21:04:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-04 21:04:32 (GMT) |
commit | b5cf891c4265da5c14957229f829daee5357936d (patch) | |
tree | 53280a1a76388d09e487492bbb04192f486aafda | |
parent | 00905f9d974910eb09553eecc9474e875590c9a3 (diff) | |
download | tk-b5cf891c4265da5c14957229f829daee5357936d.zip tk-b5cf891c4265da5c14957229f829daee5357936d.tar.gz tk-b5cf891c4265da5c14957229f829daee5357936d.tar.bz2 |
Fix test failure (entry.test and others) in UNIX builds without xft
-rw-r--r-- | unix/tkUnixFont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index 1cf7b9b..d706887 100644 --- a/unix/tkUnixFont.c +++ b/unix/tkUnixFont.c @@ -1065,7 +1065,7 @@ Tk_MeasureChars( if (thisSubFontPtr != lastSubFontPtr) { familyPtr = lastSubFontPtr->familyPtr; (void)Tcl_UtfToExternalDStringEx(familyPtr->encoding, source, - TCL_ENCODING_NOCOMPLAIN, p - source, &runString); + p - source, TCL_ENCODING_NOCOMPLAIN, &runString); if (familyPtr->isTwoByteFont) { curX += XTextWidth16(lastSubFontPtr->fontStructPtr, (XChar2b *) Tcl_DStringValue(&runString), |