From 5a1768ac1071bd05a731d9e744dbf8bb20ccf2b0 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 11 Jun 2022 10:24:26 -0400 Subject: add a table of the "families" of functions Signed-off-by: Thomas E. Dickey --- man/Xft.man | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/man/Xft.man b/man/Xft.man index 99c1207..1b04e7b 100644 --- a/man/Xft.man +++ b/man/Xft.man @@ -1,4 +1,4 @@ -.\" +'\" t .\" Copyright © 2022 Thomas E. Dickey .\" Copyright © 2000 Keith Packard .\" @@ -841,6 +841,27 @@ was set, as well as then the value is scaled convert the font's height to points. .RE .\" ************************************************************************* +.SS "Families of Functions" +.B Xft +provides groups of drawing functions which differ according to the way +the data is encoded, e.g., 8-bit (ISO-8859-1) versus UTF-8. +Here is a summary of these related functions: +.TS +l l l l +_ _ _ _ +l l l l. +\fBEncoding\fP \fBXftDrawString*\fP \fBXftTextExtents*\fP \fBXftTextRender*\fP +8 XftDrawString8 XftTextExtents8 XftTextRender8 +16 XftDrawString16 XftTextExtents16 XftTextRender16 +16BE XftDrawString16 XftTextExtents16 XftTextRender16BE +16LE XftDrawString16 XftTextExtents16 XftTextRender16LE +32 XftDrawString32 XftTextExtents32 XftTextRender32 +32BE XftDrawString32 XftTextExtents32 XftTextRender32BE +32LE XftDrawString32 XftTextExtents32 XftTextRender32LE +UTF-8 XftDrawStringUtf8 XftTextExtentsUtf8 XftTextRenderUtf8 +UTF-16 XftDrawStringUtf16 XftTextExtentsUtf16 XftTextRenderUtf16 +.TE +.\" ************************************************************************* .SS "Determining Text Extents" .B Xft provides several functions for determining the required height and width -- cgit v1.2.1