This file is indexed.

/usr/share/scribus/doc/en/scripterapi-font.html is in scribus-doc 1.4.6-2.

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
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Font Related Commands</title>
</head>
<body>
<h2>Font Related Commands</h2>

<dl>

<dt><a name="-getFontNames"><strong>getFontNames</strong></a>(...)</dt>
<dd><code>getFontNames() -&gt; list</code>
<p>Returns a list with the names of all available fonts.</p></dd>
	
<dt><a name="-getXFontNames"><strong>getXFontNames</strong></a>(...)</dt>
<dd><code>getXFontNames() -&gt; list of tuples</code>
<p>Returns a larger font info. It's a list of the tuples with: [ (Scribus name, Family, Real name, subset (1|0), embed PS (1|0), font file), (...), ... ]</p></dd></dl>
	
<dt><a name="-renderFont"><strong>renderFont</strong></a>(...)</dt>
<dd><code>renderFont("name", "filename", "sample", size, format="PPM") -&gt; bool</code>
<p>Creates an image preview of font "name" with given text "sample" and size. If "filename" is not "", image is saved into "filename". Otherwise image data is returned as a string. The optional "format" argument specifies the image format to generate, and supports any format allowed by QPixmap.save(). Common formats are PPM, JPEG, PNG and XPM.</p>
<p>May raise <a href="scripterapi.html#NotFoundError">NotFoundError</a> if the specified font can't be found. May raise ValueError if an empty sample or filename is passed.</p></dd></dl>

</dl>
</body>
</html>