diff options
author | fvogel <fvogelnew1@free.fr> | 2024-05-20 14:58:43 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2024-05-20 14:58:43 (GMT) |
commit | ce76659f66dcebb3e39805af376baddcc6dbe776 (patch) | |
tree | 3f4a59d59643c28a431feee5e8c58f69c9b53ba4 | |
parent | eae51cd0e96ff84facbf0514040416714ba2292e (diff) | |
download | tk-ce76659f66dcebb3e39805af376baddcc6dbe776.zip tk-ce76659f66dcebb3e39805af376baddcc6dbe776.tar.gz tk-ce76659f66dcebb3e39805af376baddcc6dbe776.tar.bz2 |
Revert 3rd change from [84cd707d] following Csaba's request.
-rw-r--r-- | unix/tkUnixRFont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c index 2ca73e4..faca247 100644 --- a/unix/tkUnixRFont.c +++ b/unix/tkUnixRFont.c @@ -507,7 +507,7 @@ TkpGetFontFromAttributes( if (faPtr->size > 0.0) { XftPatternAddDouble(pattern, XFT_SIZE, faPtr->size); } else if (faPtr->size < 0.0) { - XftPatternAddDouble(pattern, XFT_PIXEL_SIZE, -faPtr->size); + XftPatternAddDouble(pattern, XFT_SIZE, TkFontGetPoints(tkwin, faPtr->size)); } else { XftPatternAddDouble(pattern, XFT_SIZE, 12.0); } |