Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
3899795f
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
1 年多 前同步成功
通知
1
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3899795f
编写于
8月 31, 2015
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #131 from simoncozens/docs
Use gtk-doc to build user's manual as well as reference
上级
d2059652
01e16e88
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
89 addition
and
75 deletion
+89
-75
docs/reference/harfbuzz-docs.xml
docs/reference/harfbuzz-docs.xml
+52
-39
docs/usermanual-ch01.xml
docs/usermanual-ch01.xml
+6
-6
docs/usermanual-ch02.xml
docs/usermanual-ch02.xml
+5
-4
docs/usermanual-ch03.xml
docs/usermanual-ch03.xml
+12
-12
docs/usermanual-ch04.xml
docs/usermanual-ch04.xml
+8
-8
docs/usermanual-ch05.xml
docs/usermanual-ch05.xml
+6
-6
未找到文件。
docs/reference/harfbuzz-docs.xml
浏览文件 @
3899795f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
]>
]>
<book
id=
"index"
>
<book
id=
"index"
>
<bookinfo>
<bookinfo>
<title>
HarfBuzz
Reference
Manual
</title>
<title>
HarfBuzz Manual
</title>
<releaseinfo>
<releaseinfo>
for HarfBuzz
&version;
.
for HarfBuzz
&version;
.
<!--The latest version of this documentation can be found on-line at
<!--The latest version of this documentation can be found on-line at
...
@@ -14,52 +14,65 @@
...
@@ -14,52 +14,65 @@
</releaseinfo>
</releaseinfo>
</bookinfo>
</bookinfo>
<chapter>
<part>
<title>
[Insert title here]
</title>
<title>
User's manual
</title>
<xi:include
href=
"xml/hb.xml"
/>
<xi:include
href=
"../usermanual-ch01.xml"
/>
<xi:include
href=
"xml/hb-common.xml"
/>
<xi:include
href=
"../usermanual-ch02.xml"
/>
<xi:include
href=
"xml/hb-unicode.xml"
/>
<xi:include
href=
"../usermanual-ch03.xml"
/>
<xi:include
href=
"xml/hb-buffer.xml"
/>
<xi:include
href=
"../usermanual-ch04.xml"
/>
<xi:include
href=
"xml/hb-blob.xml"
/>
<xi:include
href=
"../usermanual-ch05.xml"
/>
<xi:include
href=
"xml/hb-face.xml"
/>
<xi:include
href=
"../usermanual-ch06.xml"
/>
<xi:include
href=
"xml/hb-font.xml"
/>
</part>
<xi:include
href=
"xml/hb-shape.xml"
/>
<xi:include
href=
"xml/hb-version.xml"
/>
<part>
<xi:include
href=
"xml/hb-deprecated.xml"
/>
<title>
Reference manual
</title>
<chapter>
<title>
Harfbuzz API
</title>
<xi:include
href=
"xml/hb.xml"
/>
<xi:include
href=
"xml/hb-common.xml"
/>
<xi:include
href=
"xml/hb-unicode.xml"
/>
<xi:include
href=
"xml/hb-buffer.xml"
/>
<xi:include
href=
"xml/hb-blob.xml"
/>
<xi:include
href=
"xml/hb-face.xml"
/>
<xi:include
href=
"xml/hb-font.xml"
/>
<xi:include
href=
"xml/hb-shape.xml"
/>
<xi:include
href=
"xml/hb-set.xml"
/>
<xi:include
href=
"xml/hb-version.xml"
/>
<xi:include
href=
"xml/hb-deprecated.xml"
/>
<xi:include
href=
"xml/hb-ot.xml"
/>
<xi:include
href=
"xml/hb-set.xml"
/>
<xi:include
href=
"xml/hb-ot-layout.xml"
/>
<xi:include
href=
"xml/hb-ot-tag.xml"
/>
<xi:include
href=
"xml/hb-shape-plan.xml"
/>
<xi:include
href=
"xml/hb-ot.xml"
/>
<xi:include
href=
"xml/hb-ot-layout.xml"
/>
<xi:include
href=
"xml/hb-ot-tag.xml"
/>
<xi:include
href=
"xml/hb-glib.xml"
/>
<xi:include
href=
"xml/hb-shape-plan.xml"
/>
<xi:include
href=
"xml/hb-icu.xml"
/>
<xi:include
href=
"xml/hb-ft.xml"
/>
<xi:include
href=
"xml/hb-glib.xml"
/>
<xi:include
href=
"xml/hb-icu.xml"
/>
<xi:include
href=
"xml/hb-graphite2.xml"
/>
<xi:include
href=
"xml/hb-ft.xml"
/>
<xi:include
href=
"xml/hb-uniscribe.xml"
/>
<xi:include
href=
"xml/hb-coretext.xml"
/>
<xi:include
href=
"xml/hb-gobject.xml"
/>
<xi:include
href=
"xml/hb-graphite2.xml"
/>
<xi:include
href=
"xml/hb-uniscribe.xml"
/>
<xi:include
href=
"xml/hb-coretext.xml"
/>
</chapter>
<xi:include
href=
"xml/hb-gobject.xml"
/>
<chapter
id=
"object-tree"
>
<title>
Object Hierarchy
</title>
<xi:include
href=
"xml/tree_index.sgml"
/>
</chapter>
<index
id=
"api-index-full"
>
<title>
API Index
</title>
<xi:include
href=
"xml/api-index-full.xml"
><xi:fallback
/></xi:include>
</index>
<index
id=
"deprecated-api-index"
role=
"deprecated"
>
<title>
Index of deprecated API
</title>
<xi:include
href=
"xml/api-index-deprecated.xml"
><xi:fallback
/></xi:include>
</index>
<xi:include
href=
"xml/annotation-glossary.xml"
><xi:fallback
/></xi:include>
</chapter>
<chapter
id=
"object-tree"
>
<title>
Object Hierarchy
</title>
<xi:include
href=
"xml/tree_index.sgml"
/>
</chapter>
<index
id=
"api-index-full"
>
<title>
API Index
</title>
<xi:include
href=
"xml/api-index-full.xml"
><xi:fallback
/></xi:include>
</index>
<index
id=
"deprecated-api-index"
role=
"deprecated"
>
<title>
Index of deprecated API
</title>
<xi:include
href=
"xml/api-index-deprecated.xml"
><xi:fallback
/></xi:include>
</index>
<xi:include
href=
"xml/annotation-glossary.xml"
><xi:fallback
/></xi:include>
</part>
</book>
</book>
docs/usermanual-ch01.xml
浏览文件 @
3899795f
<
sect1
id=
"what-is-harfbuzz"
>
<
chapter
id=
"what-is-harfbuzz"
>
<title>
What is Harfbuzz?
</title>
<title>
What is Harfbuzz?
</title>
<para>
<para>
Harfbuzz is a
<emphasis>
text shaping engine
</emphasis>
. It solves
Harfbuzz is a
<emphasis>
text shaping engine
</emphasis>
. It solves
the problem of selecting and positioning glyphs from a font given a
the problem of selecting and positioning glyphs from a font given a
Unicode string.
Unicode string.
</para>
</para>
<sect
2
id=
"why-do-i-need-it"
>
<sect
ion
id=
"why-do-i-need-it"
>
<title>
Why do I need it?
</title>
<title>
Why do I need it?
</title>
<para>
<para>
Text shaping is an integral part of preparing text for display. It
Text shaping is an integral part of preparing text for display. It
...
@@ -99,8 +99,8 @@
...
@@ -99,8 +99,8 @@
rest of this manual, we are going to assume that you are the
rest of this manual, we are going to assume that you are the
implementor of a text layout engine.
implementor of a text layout engine.
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"why-is-it-called-harfbuzz"
>
<sect
ion
id=
"why-is-it-called-harfbuzz"
>
<title>
Why is it called Harfbuzz?
</title>
<title>
Why is it called Harfbuzz?
</title>
<para>
<para>
Harfbuzz began its life as text shaping code within the FreeType
Harfbuzz began its life as text shaping code within the FreeType
...
@@ -111,5 +111,5 @@
...
@@ -111,5 +111,5 @@
engine for OpenType fonts -
"
Harfbuzz
"
is the Persian
engine for OpenType fonts -
"
Harfbuzz
"
is the Persian
for
"
open type
"
.
for
"
open type
"
.
</para>
</para>
</sect2>
</section>
</sect1>
</chapter>
\ No newline at end of file
\ No newline at end of file
docs/usermanual-ch02.xml
浏览文件 @
3899795f
<
sect1
id=
"hello-harfbuzz"
>
<
chapter
id=
"hello-harfbuzz"
>
<title>
Hello, Harfbuzz
</title>
<title>
Hello, Harfbuzz
</title>
<para>
<para>
Here's the simplest Harfbuzz that can possibly work. We will improve
Here's the simplest Harfbuzz that can possibly work. We will improve
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
hb_buffer_destroy(buf);
hb_buffer_destroy(buf);
hb_font_destroy(hb_ft_font);
hb_font_destroy(hb_ft_font);
</programlisting>
</programlisting>
<sect
2
id=
"what-harfbuzz-doesnt-do"
>
<sect
ion
id=
"what-harfbuzz-doesnt-do"
>
<title>
What Harfbuzz doesn't do
</title>
<title>
What Harfbuzz doesn't do
</title>
<para>
<para>
The code above will take a UTF8 string, shape it, and give you the
The code above will take a UTF8 string, shape it, and give you the
...
@@ -131,6 +131,7 @@ ABC אבג DEF
...
@@ -131,6 +131,7 @@ ABC אבג DEF
bidi algorithm to it. Libraries such as ICU and fribidi can do
bidi algorithm to it. Libraries such as ICU and fribidi can do
this for you.
this for you.
</para>
</para>
</listitem>
<listitem>
<listitem>
<para>
<para>
Harfbuzz won't help you with text that contains different font
Harfbuzz won't help you with text that contains different font
...
@@ -178,5 +179,5 @@ ABC אבג DEF
...
@@ -178,5 +179,5 @@ ABC אבג DEF
Harfbuzz's API to refine that example and improve our text shaping
Harfbuzz's API to refine that example and improve our text shaping
capabilities.
capabilities.
</para>
</para>
</sect2>
</section>
</sect1>
</chapter>
\ No newline at end of file
\ No newline at end of file
docs/usermanual-ch03.xml
浏览文件 @
3899795f
<
sect1
id=
"buffers-language-script-and-direction"
>
<
chapter
id=
"buffers-language-script-and-direction"
>
<title>
Buffers, language, script and direction
</title>
<title>
Buffers, language, script and direction
</title>
<para>
<para>
The input to Harfbuzz is a series of Unicode characters, stored in a
The input to Harfbuzz is a series of Unicode characters, stored in a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
the text that we want and then customize the properties of the
the text that we want and then customize the properties of the
buffer.
buffer.
</para>
</para>
<sect
2
id=
"creating-and-destroying-buffers"
>
<sect
ion
id=
"creating-and-destroying-buffers"
>
<title>
Creating and destroying buffers
</title>
<title>
Creating and destroying buffers
</title>
<para>
<para>
As we saw in our initial example, a buffer is created and
As we saw in our initial example, a buffer is created and
...
@@ -49,8 +49,8 @@ void somefunc(hb_buffer_t *buffer) {
...
@@ -49,8 +49,8 @@ void somefunc(hb_buffer_t *buffer) {
throw away the string in the buffer but keep the options, you can
throw away the string in the buffer but keep the options, you can
instead call
<literal>
hb_buffer_clear_contents(buffer)
</literal>
.
instead call
<literal>
hb_buffer_clear_contents(buffer)
</literal>
.
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"adding-text-to-the-buffer"
>
<sect
ion
id=
"adding-text-to-the-buffer"
>
<title>
Adding text to the buffer
</title>
<title>
Adding text to the buffer
</title>
<para>
<para>
Now we have a brand new Harfbuzz buffer. Let's start filling it
Now we have a brand new Harfbuzz buffer. Let's start filling it
...
@@ -58,20 +58,20 @@ void somefunc(hb_buffer_t *buffer) {
...
@@ -58,20 +58,20 @@ void somefunc(hb_buffer_t *buffer) {
of Unicode codepoints, but your input string is probably in one of
of Unicode codepoints, but your input string is probably in one of
the standard Unicode character encodings (UTF-8, UTF-16, UTF-32)
the standard Unicode character encodings (UTF-8, UTF-16, UTF-32)
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"setting-buffer-properties"
>
<sect
ion
id=
"setting-buffer-properties"
>
<title>
Setting buffer properties
</title>
<title>
Setting buffer properties
</title>
<para>
<para>
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"what-about-the-other-scripts"
>
<sect
ion
id=
"what-about-the-other-scripts"
>
<title>
What about the other scripts?
</title>
<title>
What about the other scripts?
</title>
<para>
<para>
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"customizing-unicode-functions"
>
<sect
ion
id=
"customizing-unicode-functions"
>
<title>
Customizing Unicode functions
</title>
<title>
Customizing Unicode functions
</title>
<para>
<para>
</para>
</para>
</sect2>
</section>
</sect1>
</chapter>
\ No newline at end of file
\ No newline at end of file
docs/usermanual-ch04.xml
浏览文件 @
3899795f
<
sect1
id=
"fonts-and-faces"
>
<
chapter
id=
"fonts-and-faces"
>
<title>
Fonts and faces
</title>
<title>
Fonts and faces
</title>
<sect
2
id=
"using-freetype"
>
<sect
ion
id=
"using-freetype"
>
<title>
Using FreeType
</title>
<title>
Using FreeType
</title>
<para>
<para>
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"using-harfbuzzs-native-opentype-implementation"
>
<sect
ion
id=
"using-harfbuzzs-native-opentype-implementation"
>
<title>
Using Harfbuzz's native OpenType implementation
</title>
<title>
Using Harfbuzz's native OpenType implementation
</title>
<para>
<para>
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"using-your-own-font-functions"
>
<sect
ion
id=
"using-your-own-font-functions"
>
<title>
Using your own font functions
</title>
<title>
Using your own font functions
</title>
<para>
<para>
</para>
</para>
</sect2>
</section>
</sect1>
</chapter>
\ No newline at end of file
\ No newline at end of file
docs/usermanual-ch05.xml
浏览文件 @
3899795f
<
sect1
id=
"shaping-and-shape-plans"
>
<
chapter
id=
"shaping-and-shape-plans"
>
<title>
Shaping and shape plans
</title>
<title>
Shaping and shape plans
</title>
<sect
2
id=
"opentype-features"
>
<sect
ion
id=
"opentype-features"
>
<title>
OpenType features
</title>
<title>
OpenType features
</title>
<para>
<para>
</para>
</para>
</sect
2
>
</sect
ion
>
<sect
2
id=
"plans-and-caching"
>
<sect
ion
id=
"plans-and-caching"
>
<title>
Plans and caching
</title>
<title>
Plans and caching
</title>
<para>
<para>
</para>
</para>
</sect2>
</section>
</sect1>
</chapter>
\ No newline at end of file
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录