1XmSetFontUnit(library call)                        XmSetFontUnit(library call)
2
3
4

NAME

6       XmSetFontUnit — A function that sets the font unit value for a display
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       void XmSetFontUnit(
11       Display * display,
12       int font_unit_value);
13

DESCRIPTION

15       XmSetFontUnit  provides  an  external  function to initialize font unit
16       values. Applications may want to  specify  resolution-independent  data
17       based  on a global font size.  See the XmNunitType resource description
18       in the reference pages for XmGadget,  XmManager,  and  XmPrimitive  for
19       more information on resolution independence.
20
21       This function sets the font units for all screens on the display.
22
23       NOTE:  XmSetFontUnit is obsolete and exists for compatibility with pre‐
24       vious releases.  Instead of using this function, provide initial values
25       or  call  XtSetValues  for the XmScreen resources XmNhorizontalFontUnit
26       and XmNverticalFontUnit.
27
28       display   Defines the display for which this font unit value is  to  be
29                 applied.
30
31       font_unit_value
32                 Specifies the value to be used for both horizontal and verti‐
33                 cal font units in the conversion calculations.
34
36       XmConvertUnits(3),   XmSetFontUnits(3),   XmGadget(3),    XmManager(3),
37       XmPrimitive(3), and XmScreen(3).
38
39
40
41                                                   XmSetFontUnit(library call)
Impressum