XFontSetExtents − XFontSetExtents structure


The XFontSetExtents structure contains:

typedef struct {

XRectangle max_ink_extent;/* over all drawable characters */

XRectangle max_logical_extent;/* over all drawable characters */

} XFontSetExtents;

The XRectangle structures used to return font set metrics are the usual Xlib screen-oriented rectangles with x, y giving the upper left corner, and width and height always positive.

The max_ink_extent member gives the maximum extent, over all drawable characters, of the rectangles that bound the character glyph image drawn in the foreground color, relative to a constant origin. See XmbTextExtents and XwcTextExtents for detailed semantics.

The max_logical_extent member gives the maximum extent, over all drawable characters, of the rectangles that specify minimum spacing to other graphical features, relative to a constant origin. Other graphical features drawn by the client, for example, a border surrounding the text, should not intersect this rectangle. The max_logical_extent member should be used to compute minimum interline spacing and the minimum area that must be allowed in a text field to draw a given number of arbitrary characters.

Due to context-dependent rendering, appending a given character to a string may change the string’s extent by an amount other than that character’s individual extent.


XCreateFontSet(3), XExtentsOfFontSet(3), XFontsOfFontSet(3)
Xlib − C Language X Interface

More Linux Commands

Date::Language(3pm) - Language specific date formating and p
Date::Language provides objects to parse and format dates for specific languages. Available languages are Afar French Russian_cp1251 Amharic Gedeo Russian_koi8r

pcre16_maketables(3) Perl-compatible regular expressions....
This function builds a set of character tables for character values less than 256. These can be passed to pcre[16|32]_compile() to override PCREs internal, buil

pcre_get_stringnumber(3) - Perl-compatible regular expressio
This convenience function finds the number of a named substring capturing parenthesis in a compiled pattern. Its arguments are: code Compiled regular expression

perlvar(1) - Perl predefined variables - Linux manual page
The Syntax of Variable Names Variable names in Perl can have several formats. Usually, they must begin with a letter or underscore, in which case they can be ar

intel_lid(1) - Polls the values of different reports about l
intel_lid is a tool to poll ACPI and the BIOS scratch registers reporting of laptop lid state. This can be used for debugging issues with laptop modesetting for

fillup(8) - the SuSE tool for merging config files (ManPage)
fillup - merges input files into one resulting output file. Usually, each file is a configuration file. fillup merges files which are holding variables (ie conf

gnutls_x509_crq_get_subject_alt_othername_oid.3 - This function will extract the type OID of an otherName Subject Alternative Name, contained in the given certi

Tcl_TraceCommand(3) - monitor renames and deletes of a comma
Tcl_TraceCommand allows a C procedure to monitor operations performed on a Tcl command, so that the C procedure is invoked whenever the command is renamed or de

script(1) - make typescript of terminal session (Man Page)
script makes a typescript of everything displayed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of a

Tcl_AppendLimitedToObj(3) - manipulate Tcl objects as string
The procedures described in this manual entry allow Tcl objects to be manipulated as string values. They use the internal representation of the object to store

geteuid(2) - get user identity (System - Linux man page)....
getuid() returns the real user ID of the calling process. geteuid() returns the effective user ID of the calling process. ERRORS These functions are always succ

audit_log_user_message(3) - log a general user message......
audit_log_user_message.3 - This function will log a message to the audit system using a predefined message format. This function should be used by all console a

We can't live, work or learn in freedom unless the software we use is free.