This file is indexed.

/usr/share/gtk-doc/html/goocanvas2/goocanvas-wysiwyg.html is in libgoocanvas-2.0-dev 2.0.2-0ubuntu2.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GooCanvas Reference Manual: WYSIWYG Printing</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GooCanvas Reference Manual">
<link rel="up" href="ch01.html" title="Introduction">
<link rel="prev" href="goocanvas-creating-items.html" title="Creating New Items">
<link rel="next" href="ch02.html" title="Core Objects">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="goocanvas-creating-items.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="goocanvas-wysiwyg"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">WYSIWYG Printing</span></h2>
<p>WYSIWYG Printing — how to use the canvas to create accurate printed output.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="wysiwyg"></a><h2>WYSIWYG Printing</h2>
<div class="refsect2">
<a name="resolution"></a><h3>Screen Resolution</h3>
<p>
    The GooCanvas <a class="link" href="GooCanvas.html#GooCanvas--resolution-x" title='The "resolution-x" property'><span class="type">"resolution-x"</span></a> and <a class="link" href="GooCanvas.html#GooCanvas--resolution-y" title='The "resolution-y" property'><span class="type">"resolution-y"</span></a>
    properties must be set correctly. They both default to 96dpi, which
    corresponds to a typical monitor. To get a more accurate figure you
    might be able to use <code class="function">gdk_screen_get_resolution()</code>, but this isn't always
    guaranteed to be correct. If accuracy is very important a method should
    be provided for the user to calibrate the screen.
    </p>
</div>
<hr>
<div class="refsect2">
<a name="units"></a><h3>Units</h3>
<p>
    The GooCanvas <a class="link" href="GooCanvas.html#GooCanvas--units" title='The "units" property'><span class="type">"units"</span></a> property must be set to one of <code class="literal">GTK_UNIT_MM</code>,
    <code class="literal">GTK_UNIT_POINTS</code> or <code class="literal">GTK_UNIT_INCH</code> (it defaults to <code class="literal">GTK_UNIT_PIXEL</code>).
    All values used within the canvas are assumed to be in the specified
    units, including font sizes.
    </p>
</div>
<hr>
<div class="refsect2">
<a name="fonts"></a><h3>Font Sizes</h3>
<p>
    Absolute font sizes must be used (to prevent the fonts being mistakenly
    scaled by Pango as well as by GooCanvas). To specify absolute font sizes
    add "px" after the font size, e.g. instead of "Sans 9" use "Sans 9px".
    </p>
<p>
    Font sizes must be converted to the units used by the canvas.
    For example, if a 9 point "Sans" font is desired but <a class="link" href="GooCanvas.html#GooCanvas--units" title='The "units" property'><span class="type">"units"</span></a>
    is set to <code class="literal">GTK_UNIT_MM</code>, then the size must first be converted into
    millimeters: (9 / 72) * 25.4 = 3.175mm.
    So the font used would be "Sans 3.175px".
    </p>
</div>
<hr>
<div class="refsect2">
<a name="example"></a><h3>Example Code</h3>
<p>
    The units-demo application that comes with the GooCanvas source code
    demonstrates the use of different units and absolute font sizes.
    </p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19.1</div>
</body>
</html>