Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
d25317f6
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
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看板
提交
d25317f6
编写于
12月 23, 2015
作者:
K
Khaled Hosny
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Move more docs from FreeDesktop page
上级
493a9222
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
80 addition
and
6 deletion
+80
-6
docs/Makefile.am
docs/Makefile.am
+1
-0
docs/harfbuzz-docs.xml
docs/harfbuzz-docs.xml
+9
-6
docs/usermanual-install-harfbuzz.xml
docs/usermanual-install-harfbuzz.xml
+70
-0
未找到文件。
docs/Makefile.am
浏览文件 @
d25317f6
...
...
@@ -75,6 +75,7 @@ content_files= \
usermanual-fonts-and-faces.xml
\
usermanual-glyph-information.xml
\
usermanual-hello-harfbuzz.xml
\
usermanual-install-harfbuzz.xml
\
usermanual-opentype-features.xml
\
usermanual-what-is-harfbuzz.xml
\
version.xml
...
...
docs/harfbuzz-docs.xml
浏览文件 @
d25317f6
...
...
@@ -7,11 +7,6 @@
<book
id=
"index"
>
<bookinfo>
<title>
HarfBuzz Manual
</title>
<releaseinfo>
This document is for HarfBuzz
&version;
.
<!--The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://[SERVER]/libharfbuzz/index.html">http://[SERVER]/libharfbuzz/</ulink>.-->
</releaseinfo>
<abstract>
<title>
HarfBuzz
</title>
<graphic
fileref=
"HarfBuzz.png"
format=
"PNG"
align=
"center"
/>
...
...
@@ -28,7 +23,7 @@
<ulink
url=
"http://cgit.freedesktop.org/harfbuzz/"
>
here
</ulink>
.
Also available on
<ulink
url=
"https://github.com/behdad/harfbuzz"
>
github
</ulink>
.
See
below
for release tarballs.
See
<xref
linkend=
"download"
endterm=
"download.title"
/>
for release tarballs.
</para>
<para>
The old HarfBuzz codebase, these days known as harfbuzz-old, was
...
...
@@ -46,6 +41,7 @@
<part>
<title>
User's manual
</title>
<xi:include
href=
"usermanual-what-is-harfbuzz.xml"
/>
<xi:include
href=
"usermanual-install-harfbuzz.xml"
/>
<xi:include
href=
"usermanual-hello-harfbuzz.xml"
/>
<xi:include
href=
"usermanual-buffers-language-script-and-direction.xml"
/>
<xi:include
href=
"usermanual-fonts-and-faces.xml"
/>
...
...
@@ -54,6 +50,13 @@
</part>
<part>
<partinfo>
<releaseinfo>
This document is for HarfBuzz
&version;
.
<!--The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://[SERVER]/libharfbuzz/index.html">http://[SERVER]/libharfbuzz/</ulink>.-->
</releaseinfo>
</partinfo>
<title>
Reference manual
</title>
<chapter>
<title>
Harfbuzz API
</title>
...
...
docs/usermanual-install-harfbuzz.xml
0 → 100644
浏览文件 @
d25317f6
<chapter
id=
"install-harfbuzz"
>
<title>
Install Harfbuzz
</title>
<section
id=
"download"
>
<title
id=
"download.title"
>
Download
</title>
<para>
For tarball releases of HarfBuzz, look
<ulink
url=
"http://www.freedesktop.org/software/harfbuzz/release/"
>
here
</ulink>
.
At the same place you will
also find Win32 binary bundles that include libharfbuzz DLL, hb-view.exe,
hb-shape.exe, and all dependencies.
</para>
<para>
The canonical source tree is available
<ulink
url=
"http://cgit.freedesktop.org/harfbuzz/"
>
here
</ulink>
.
Also available on
<ulink
url=
"https://github.com/behdad/harfbuzz"
>
github
</ulink>
.
</para>
<para>
The API that comes with
<filename
class=
'headerfile'
>
hb.h
</filename>
will
not change incompatibly. Other, peripheral, headers are more likely to go
through minor modifications, but again, will do our best to never change
API in an incompatible way. We will never break the ABI.
</para>
<para>
If you are not sure whether Pango or HarfBuzz is right for you, read
<ulink
url=
"http://mces.blogspot.in/2009/11/pango-vs-harfbuzz.html"
>
this
</ulink>
.
</para>
</section>
<section
id=
"building"
>
<title>
Building
</title>
<para>
On Linux, install the development packages for FreeType, Cairo, and GLib.
For example, on Ubuntu / Debian, you would do:
<programlisting>
<command>
sudo apt-get install
</command>
<package>
gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
</package>
</programlisting>
whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do:
<programlisting>
<command>
sudo yum install
</command>
<package>
gcc gcc-c++ freetype-devel glib2-devel cairo-devel
</package>
</programlisting>
or using MacPorts:
<programlisting>
<command>
sudo port install
</command>
<package>
freetype glib2 cairo
</package>
</programlisting>
</para>
<para>
If you are using a tarball, you can now proceed to running
<command>
configure
</command>
and
<command>
make
</command>
as with any
other standard package. That should leave you with a shared library in
<filename>
src/
</filename>
, and a few utility programs including hb-view
and hb-shape under
<filename>
util/
</filename>
.
</para>
<para>
If you are bootstraping from git, you need a few more tools before you
can run
<filename>
autogen.sh
</filename>
for the first time. Namely,
pkg-config and
<ulink
url=
"http://www.complang.org/ragel/"
>
ragel
</ulink>
.
Again, on Ubuntu / Debian:
<programlisting>
<command>
sudo apt-get install
</command>
<package>
autoconf automake libtool pkg-config ragel gtk-doc-tools
</package>
</programlisting>
and on Fedora, RHEL, CentOS:
<programlisting>
<command>
sudo yum install
</command>
<package>
autoconf automake libtool pkgconfig ragel gtk-doc
</package>
</programlisting>
or using MacPorts:
<programlisting>
<command>
sudo port install
</command>
<package>
autoconf automake libtool pkgconfig ragel gtk-doc
</package>
</programlisting>
</para>
</section>
</chapter>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录