File: setting_up_layout_engine_options.html

package info (click to toggle)
fontmatrix 0.6.0%2Bsvn20100107-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 8,024 kB
  • ctags: 7,215
  • sloc: cpp: 37,775; ansic: 14,675; xml: 273; makefile: 122; sh: 97; python: 86; awk: 46
file content (30 lines) | stat: -rw-r--r-- 1,921 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Fontmatrix User Manual - Setting up - Text layout engine options</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h2>Text layout engine options</h2>

<p>Fontmatrix uses its own text layout engine (TLE) to support advanced OpenType features. When the TLE looks for best break, it builds a list of possibilities and attaches the difference between the break node and the line width to each node. At the end it selects the list that has the little distance.</p>

<p>Since the TLE has a number of variables you could tune, they can be customized to your liking. Use <em>Service&nbsp;&gt; Text layout engine options</em> command to open the dialog.</p>

<p>The dialog is very much like an audio equalizer: you change weights of each variable, dragging slider up and down.</p>

<ul>
<li>Before&nbsp;&mdash; factor applied to a break node that comes before the first OUT_OF_LINE node</li>
<li>Exact&nbsp;&mdash; factor applied to the first OUT_OF_LINE node</li>
<li>After&nbsp;&mdash; factor applied to nodes that come after the first OUT_OF_LINE node</li>
<li>End&nbsp;&mdash; factor same for the last line of the paragraph</li>
<li>H-penalty&nbsp;&mdash; super factor applied to the node score, if it is an hyphen node</li>
<li>Max. compression&nbsp;&mdash; maximum compression of white spaces</li>
</ul>

<p>If you have managed to read till this sentence, you are Pierre Marchand&nbsp;&mdash; lead Fontmatrix developer. It also means that the text was never improved to become human readable. So go and fix this, will you? :) In the unlikely case of you not being Pierre please report to the bug tracker.</p>

</body>
</html>