Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
97ba206b
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看板
提交
97ba206b
编写于
5月 25, 2019
作者:
N
Nathan Willis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Usermanual; minor.
上级
dd5ad6b6
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
8 deletion
+11
-8
docs/usermanual-buffers-language-script-and-direction.xml
docs/usermanual-buffers-language-script-and-direction.xml
+1
-1
docs/usermanual-opentype-features.xml
docs/usermanual-opentype-features.xml
+10
-7
未找到文件。
docs/usermanual-buffers-language-script-and-direction.xml
浏览文件 @
97ba206b
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
bottom-to-top (
<literal>
HB_DIRECTION_BTT
</literal>
). For the
bottom-to-top (
<literal>
HB_DIRECTION_BTT
</literal>
). For the
script property, HarfBuzz uses identifiers based on the
script property, HarfBuzz uses identifiers based on the
<ulink
<ulink
url=
"https://unicode.org/iso15924/"
>
ISO
-
15924
url=
"https://unicode.org/iso15924/"
>
ISO
15924
standard
</ulink>
. For languages, HarfBuzz uses tags based on the
standard
</ulink>
. For languages, HarfBuzz uses tags based on the
<ulink
url=
"https://tools.ietf.org/html/bcp47"
>
IETF BCP 47
</ulink>
standard.
<ulink
url=
"https://tools.ietf.org/html/bcp47"
>
IETF BCP 47
</ulink>
standard.
</para>
</para>
...
...
docs/usermanual-opentype-features.xml
浏览文件 @
97ba206b
...
@@ -66,15 +66,15 @@
...
@@ -66,15 +66,15 @@
<para>
<para>
The algorithms
The algorithms
used for complex scripts can be quite involved; HarfBuzz tries
used for complex scripts can be quite involved; HarfBuzz tries
to be
100%
compatible with the OpenType Layout specification
to be compatible with the OpenType Layout specification
and, wherever there is any ambiguity, HarfBuzz attempts to replicate the
and, wherever there is any ambiguity, HarfBuzz attempts to replicate the
output of Microsoft's Uniscribe engine. See the
<ulink
output of Microsoft's Uniscribe engine. See the
<ulink
url=
"https://docs.microsoft.com/en-us/typography/script-development/standard"
>
Microsoft
url=
"https://docs.microsoft.com/en-us/typography/script-development/standard"
>
Microsoft
Typ
e
ography pages
</ulink>
for more detail.
Typography pages
</ulink>
for more detail.
</para>
</para>
<para>
<para>
In general, though, all that you need to know i
f
that
In general, though, all that you need to know i
s
that
<function>
hb
-
shape()
</function>
returns the results of shaping
<function>
hb
_
shape()
</function>
returns the results of shaping
in the same buffer that you provided. The buffer's content type
in the same buffer that you provided. The buffer's content type
will now be set to
will now be set to
<literal>
HB_BUFFER_CONTENT_TYPE_GLYPHS
</literal>
, indicating
<literal>
HB_BUFFER_CONTENT_TYPE_GLYPHS
</literal>
, indicating
...
@@ -194,7 +194,10 @@
...
@@ -194,7 +194,10 @@
Just like we enabled the
<literal>
dlig
</literal>
feature by
Just like we enabled the
<literal>
dlig
</literal>
feature by
setting its
<parameter>
value
</parameter>
to
setting its
<parameter>
value
</parameter>
to
<literal>
1
</literal>
, you would disable a feature by setting its
<literal>
1
</literal>
, you would disable a feature by setting its
<parameter>
value
</parameter>
to
<literal>
0
</literal>
.
<parameter>
value
</parameter>
to
<literal>
0
</literal>
. Some
features can take other
<parameter>
value
</parameter>
settings;
be sure you read the full specification of each feature tag to
understand what it does and how to control it.
</para>
</para>
</section>
</section>
...
@@ -212,7 +215,7 @@
...
@@ -212,7 +215,7 @@
mix of tables, or one of the tables might simply be broken for
mix of tables, or one of the tables might simply be broken for
the script you need to shape. So, sometimes, you might not
the script you need to shape. So, sometimes, you might not
want to rely on HarfBuzz's process for deciding what to do, and
want to rely on HarfBuzz's process for deciding what to do, and
just tell
hb-shape
what you want it to try.
just tell
<function>
hb_shape()
</function>
what you want it to try.
</para>
</para>
<para>
<para>
<function>
hb_shape_full()
</function>
is an alternate shaping
<function>
hb_shape_full()
</function>
is an alternate shaping
...
@@ -243,7 +246,7 @@
...
@@ -243,7 +246,7 @@
<para>
<para>
Internally, HarfBuzz uses a structure called a shape plan to
Internally, HarfBuzz uses a structure called a shape plan to
track its decisions about how to shape the contents of a
track its decisions about how to shape the contents of a
buffer. The
hb-shape
function builds up the shape plan by
buffer. The
<function>
hb_shape()
</function>
function builds up the shape plan by
examining segment properties and by inspecting the contents of
examining segment properties and by inspecting the contents of
the font.
the font.
</para>
</para>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录