Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
cf78dd48
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
大约 1 年 前同步成功
通知
0
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cf78dd48
编写于
5月 27, 2014
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[indic/myanmar] Rename OT_NBSP to OT_PLACEHOLDER
上级
186ece94
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
8 deletion
+8
-8
src/hb-ot-shape-complex-indic-machine.rl
src/hb-ot-shape-complex-indic-machine.rl
+2
-2
src/hb-ot-shape-complex-indic-private.hh
src/hb-ot-shape-complex-indic-private.hh
+3
-3
src/hb-ot-shape-complex-indic.cc
src/hb-ot-shape-complex-indic.cc
+2
-2
src/hb-ot-shape-complex-myanmar.cc
src/hb-ot-shape-complex-myanmar.cc
+1
-1
未找到文件。
src/hb-ot-shape-complex-indic-machine.rl
浏览文件 @
cf78dd48
...
...
@@ -49,7 +49,7 @@ M = 7;
SM = 8;
VD = 9;
A = 10;
NBSP
= 11;
PLACEHOLDER
= 11;
DOTTEDCIRCLE = 12;
RS = 13;
Coeng = 14;
...
...
@@ -70,7 +70,7 @@ forced_rakar = ZWJ H ZWJ Ra;
symbol = Symbol.N?;
matra_group = z{0,3}.M.N?.(H | forced_rakar)?;
syllable_tail = (SM.SM?.ZWNJ?)? A{0,3}? VD{0,2};
place_holder =
NBSP
| DOTTEDCIRCLE;
place_holder =
PLACEHOLDER
| DOTTEDCIRCLE;
halant_group = (z?.h.(ZWJ.N?)?);
final_halant_group = halant_group | h.ZWNJ;
medial_group = CM?.CM2?;
...
...
src/hb-ot-shape-complex-indic-private.hh
浏览文件 @
cf78dd48
...
...
@@ -53,7 +53,7 @@ enum indic_category_t {
OT_SM
=
8
,
OT_VD
=
9
,
OT_A
=
10
,
OT_
NBSP
=
11
,
OT_
PLACEHOLDER
=
11
,
OT_DOTTEDCIRCLE
=
12
,
OT_RS
=
13
,
/* Register Shifter, used in Khmer OT spec. */
OT_Coeng
=
14
,
/* Khmer-style Virama. */
...
...
@@ -71,7 +71,7 @@ enum indic_category_t {
* We treat Vowels and placeholders as if they were consonants. This is safe because Vowels
* cannot happen in a consonant syllable. The plus side however is, we can call the
* consonant syllable logic from the vowel syllable function and get it all right! */
#define CONSONANT_FLAGS (FLAG (OT_C) | FLAG (OT_Ra) | MEDIAL_FLAGS | FLAG (OT_V) | FLAG (OT_
NBSP
) | FLAG (OT_DOTTEDCIRCLE))
#define CONSONANT_FLAGS (FLAG (OT_C) | FLAG (OT_Ra) | MEDIAL_FLAGS | FLAG (OT_V) | FLAG (OT_
PLACEHOLDER
) | FLAG (OT_DOTTEDCIRCLE))
#define JOINER_FLAGS (FLAG (OT_ZWJ) | FLAG (OT_ZWNJ))
#define HALANT_OR_COENG_FLAGS (FLAG (OT_H) | FLAG (OT_Coeng))
...
...
@@ -114,7 +114,7 @@ enum indic_syllabic_category_t {
INDIC_SYLLABIC_CATEGORY_CONSONANT_FINAL
=
OT_CM
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_HEAD_LETTER
=
OT_C
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_MEDIAL
=
OT_CM
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
=
OT_
NBSP
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
=
OT_
PLACEHOLDER
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
=
OT_CM
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_REPHA
=
OT_Repha
,
INDIC_SYLLABIC_CATEGORY_MODIFYING_LETTER
=
OT_X
,
...
...
src/hb-ot-shape-complex-indic.cc
浏览文件 @
cf78dd48
...
...
@@ -1185,8 +1185,8 @@ initial_reordering_standalone_cluster (const hb_ot_shape_plan_t *plan,
hb_buffer_t
*
buffer
,
unsigned
int
start
,
unsigned
int
end
)
{
/* We treat
NBSP/dotted-circle as if they are consonants, so we should just chain.
* Only if not in compatibility mode that is... */
/* We treat
placeholder/dotted-circle as if they are consonants, so we
*
should just chain.
Only if not in compatibility mode that is... */
if
(
hb_options
().
uniscribe_bug_compatible
)
{
...
...
src/hb-ot-shape-complex-myanmar.cc
浏览文件 @
cf78dd48
...
...
@@ -134,7 +134,7 @@ enum myanmar_category_t {
OT_D
=
19
,
/* Digits except zero */
OT_D0
=
20
,
/* Digit zero */
OT_DB
=
OT_N
,
/* Dot below */
OT_GB
=
OT_
NBSP
,
OT_GB
=
OT_
PLACEHOLDER
,
OT_MH
=
21
,
/* Various consonant medial types */
OT_MR
=
22
,
/* Various consonant medial types */
OT_MW
=
23
,
/* Various consonant medial types */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录