This file is indexed.

/usr/share/doc/libsx-dev/html/font.html is in libsx-dev 2.05-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<title> Fonts </title>

<ul>
 <li> <a href="#fonts"> Fonts </a>
 <li> <a href="font.html#fFH">  FontHeight </a>
 <li> <a href="font.html#fFF">  FreeFont </a>
 <li> <a href="font.html#fGF">  GetFont </a>
 <li> <a href="font.html#fGWF"> GetWidgetFont </a>
 <li> <a href="font.html#fSWF"> SetWidgetFont </a>
 <li> <a href="font.html#fTW">  TextWidth </a>
</ul>
<hr>
<p>
<h2> <a name="fonts"> Fonts </a> </h2>
<p>
Fonts are different type styles that can be used in various widgets.
You load a font by name and get a handle in return. The handle you get
allows you to set the font in the various widgets and font information
calls. 
<hr>
<p>
<a name="fGF"> <b>
XFont GetFont(char *fontname);
</b> </a>
<p>
This function loads the font named by fontname and returns a handle to
the font or NULL if there is an error.  The handle returned by this
function is an XFontStruct pointer, but should be treated as an opaque
data type.
<p>
After you've loaded a font, you can then set that font in any widget
that displays text.  You can also use the handle in calls to
TextWidget() 
and 
<a href="font.html#fFH">          FontHeight() </a>.
<p>
When you are done with a font, you should free it with 
<a href="font.html#fFF">          FreeFont() </a>. 
<p>
SEE ALSO: 
<a href="font.html#fSWF">         SetWidgetFont() </a>, 
<a href="font.html#fFF">          FreeFont() </a>, 
<a href="font.html#fGWF">         GetWidgetFont() </a>,
<a href="font.html#fFH">          FontHeight() </a>, 
<a href="font.html#fTW">          TextWidth() </a>
<hr>
<p>
<a name="fSWF"> <b>
void  SetWidgetFont(Widget w, XFont f);
</b> </a>
<p>
This functions sets the font used by the widget `w', to be the font
referred to by the argument `f'.  The argument f should have been
obtained with 
<a href="font.html#fGF">          GetFont() </a>.
<p>
SEE ALSO: 
<a href="font.html#fGF">          GetFont() </a>, 
<a href="font.html#fFF">          FreeFont() </a>, 
<a href="font.html#fFH">          FontHeight() </a>, 
<a href="font.html#fTW">          TextWidth() </a>
<hr>
<p>
<a name="fGWF"> <b>
XFont  GetWidgetFont(Widget w);
</b> </a>
<p>
This function returns a handle to the font currently used by the
Widget w.  If an error occurs or there is no default font for the
widget, a NULL is returned.
<p>
You should NOT call FreeFont() on any value returned by this function
unless you are sure that you allocated the font with GetFont().
<p>
SEE ALSO: 
<a href="font.html#fGF">          GetFont() </a>, 
<a href="font.html#fSWF">         SetWidgetFont() </a>, 
<a href="font.html#fFH">          FontHeight() </a>, 
<a href="font.html#fTW">          TextWidth() </a>
<hr>
<p>
<a name="fFF"> <b>
void  FreeFont(XFont f);
</b> </a>
<p>
This function frees the resources associated with the font, f.  You
should call this function when your application is done using a
particular font.
<p>
Of course you should make sure that no widget still uses the
identified font.
<p>
SEE ALSO: 
<a href="font.html#fSWF">         SetWidgetFont() </a>, 
<a href="font.html#fGF">          GetFont() </a>
<hr>
<p>
<a name="fFH"> <b>
int   FontHeight(XFont f);
</b> </a>
<p>
This function returns an integer value that is the height in pixels of
the specified font.   The height is defined to be the ascent of the
characters (from the baseline to the top of a capital letter) plus the
descent of the characters (the distance from the baseline to bottom of
a descender character like `g' or `p'). 
<p>
SEE ALSO: 
<a href="font.html#fTW">          TextWidth() </a>, 
<a href="font.html#fGF">          GetFont() </a>, 
<a href="font.html#fSWF">         SetWidgetFont() </a>
<hr>
<p>
<a name="fTW"> <b>
int   TextWidth(XFont f, char *txt);
</b> </a>
<p>
This functions returns the width in pixels used by the string pointed
to by txt in the font f.  The string should be null-terminated and the
entire string is used to determine the width.
<p>
SEE ALSO: 
<a href="font.html#fFH">          FontHeight() </a>, 
<a href="font.html#fGF">          GetFont() </a>, 
<a href="font.html#fGWF">         GetWidgetFont() </a>