From 11a07c4729174e1d4af028103ecb0a351e4c2707 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Mon, 31 Aug 2015 10:39:10 +0100 Subject: [PATCH] Correct tag hierarchy, to allow for table-of-contents entries. --- docs/usermanual-ch01.xml | 12 ++++++------ docs/usermanual-ch02.xml | 8 ++++---- docs/usermanual-ch03.xml | 24 ++++++++++++------------ docs/usermanual-ch04.xml | 16 ++++++++-------- docs/usermanual-ch05.xml | 12 ++++++------ 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/usermanual-ch01.xml b/docs/usermanual-ch01.xml index 1ee0cbe..3574d75 100644 --- a/docs/usermanual-ch01.xml +++ b/docs/usermanual-ch01.xml @@ -1,11 +1,11 @@ - + What is Harfbuzz? Harfbuzz is a text shaping engine. It solves the problem of selecting and positioning glyphs from a font given a Unicode string. - +
Why do I need it? Text shaping is an integral part of preparing text for display. It @@ -99,8 +99,8 @@ rest of this manual, we are going to assume that you are the implementor of a text layout engine. - - +
+
Why is it called Harfbuzz? Harfbuzz began its life as text shaping code within the FreeType @@ -111,5 +111,5 @@ engine for OpenType fonts - "Harfbuzz" is the Persian for "open type". - - \ No newline at end of file +
+
\ No newline at end of file diff --git a/docs/usermanual-ch02.xml b/docs/usermanual-ch02.xml index 61cd430..34db017 100644 --- a/docs/usermanual-ch02.xml +++ b/docs/usermanual-ch02.xml @@ -1,4 +1,4 @@ - + Hello, Harfbuzz Here's the simplest Harfbuzz that can possibly work. We will improve @@ -90,7 +90,7 @@ hb_buffer_destroy(buf); hb_font_destroy(hb_ft_font); - +
What Harfbuzz doesn't do The code above will take a UTF8 string, shape it, and give you the @@ -179,5 +179,5 @@ ABC אבג DEF Harfbuzz's API to refine that example and improve our text shaping capabilities. - - \ No newline at end of file +
+
\ No newline at end of file diff --git a/docs/usermanual-ch03.xml b/docs/usermanual-ch03.xml index 66ec0a8..fd63e74 100644 --- a/docs/usermanual-ch03.xml +++ b/docs/usermanual-ch03.xml @@ -1,4 +1,4 @@ - + Buffers, language, script and direction The input to Harfbuzz is a series of Unicode characters, stored in a @@ -6,7 +6,7 @@ the text that we want and then customize the properties of the buffer. - +
Creating and destroying buffers As we saw in our initial example, a buffer is created and @@ -49,8 +49,8 @@ void somefunc(hb_buffer_t *buffer) { throw away the string in the buffer but keep the options, you can instead call hb_buffer_clear_contents(buffer). - - +
+
Adding text to the buffer Now we have a brand new Harfbuzz buffer. Let's start filling it @@ -58,20 +58,20 @@ void somefunc(hb_buffer_t *buffer) { of Unicode codepoints, but your input string is probably in one of the standard Unicode character encodings (UTF-8, UTF-16, UTF-3 ) - - +
+
Setting buffer properties - - +
+
What about the other scripts? - - +
+
Customizing Unicode functions - - \ No newline at end of file +
+
\ No newline at end of file diff --git a/docs/usermanual-ch04.xml b/docs/usermanual-ch04.xml index c469147..01fcdc9 100644 --- a/docs/usermanual-ch04.xml +++ b/docs/usermanual-ch04.xml @@ -1,18 +1,18 @@ - + Fonts and faces - +
Using FreeType - - +
+
Using Harfbuzz's native OpenType implementation - - +
+
Using your own font functions - - \ No newline at end of file +
+
\ No newline at end of file diff --git a/docs/usermanual-ch05.xml b/docs/usermanual-ch05.xml index 6f50174..470bab8 100644 --- a/docs/usermanual-ch05.xml +++ b/docs/usermanual-ch05.xml @@ -1,13 +1,13 @@ - + Shaping and shape plans - +
OpenType features - - +
+
Plans and caching - - \ No newline at end of file +
+
\ No newline at end of file -- 2.7.4