/usr/share/doc/libfreetype6/tutorial/step3.html is in libfreetype6-dev 2.5.2-1ubuntu2.8.
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 | <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
color: #000000;
background: #FFFFFF; }
p { text-align: justify; }
h1 { text-align: center; }
li { text-align: justify; }
td { padding: 0 0.5em 0 0.5em; }
a:link { color: #0000EF; }
a:visited { color: #51188E; }
a:hover { color: #FF0000; }
div.pre { font-family: monospace;
text-align: left;
white-space: pre;
color: blue; }
div.example { font-family: monospace;
text-align: left;
white-space: pre;
color: purple; }
span.comment { color: gray; }
</style>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="Author"
content="David Turner">
<title>FreeType 2 Tutorial</title>
</head>
<body text="#000000"
bgcolor="#FFFFFF"
link="#0000EF"
vlink="#51188E"
alink="#FF0000">
<h1 align=center>
FreeType 2 Tutorial<br>
Step 3 — handling internals
</h1>
<h3 align=center>
© 2010 Werner Lemberg
(<a href="mailto:wl@gnu.org">wl@gnu.org</a>)<br>
© 2010 The FreeType Development Team
(<a href="http://www.freetype.org">www.freetype.org</a>)
</h3>
<center>
<table width="70%">
<tr><td>
<hr>
<h2>
Introduction
</h2>
<p>This is the third section of the FreeType 2 tutorial. It
describes how to deal with various internals of the library like</p>
<ul>
<li>the module interface</li>
<li>functions for manipulating vector outlines</li>
<li>font driver issues</li>
<li>interaction with renderers using callbacks</li>
<li>accessing font specific data, for example PostScript font
dictionaries and TrueType tables</li>
</ul>
<p>None of these items have been written yet.</p>
<h2>
Examples
</h2>
<p><a href="mailto:erik@timetrap.se">Erik Möller</a> contributed a very
nice C++ example which shows renderer callbacks in action to draw a
coloured glyph with a differently coloured outline. The source code can
be found <a href="example2.cpp">here</a>.</p>
<p><a href="example3.cpp">Another example</a> demonstrates how to use
FreeType's stand-alone rasterizer, <tt>ftraster.c</tt>, both in B/W and
5-levels gray mode. You need files from FreeType version 2.3.10 or
newer.</p>
<p><a href="mailto:gsmiko@gmail.com">Róbert Márki</a> contributed a small
<a href="example4.cpp">Qt demonstration program</a> (together with its <a
href="example4.pro">qmake file</a>) which shows both direct rendering with
a callback and rendering with a buffer, yielding the same result. You
need FreeType 2.4.3 or newer.</p>
</td></tr>
</table>
</center>
<h3 align=center>
<a href="step1.html">FreeType 2 Tutorial Step 1</a>
</h3>
<p><font size=-3>Last update: 07-Dec-2010</font></p>
</body>
</html>
|