Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
422e08db
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看板
提交
422e08db
编写于
6月 15, 2011
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Better categorize Indic character classes
Matches OT types now.
上级
31f18abe
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
32 addition
and
19 deletion
+32
-19
src/hb-ot-shape-complex-indic.cc
src/hb-ot-shape-complex-indic.cc
+32
-19
未找到文件。
src/hb-ot-shape-complex-indic.cc
浏览文件 @
422e08db
...
...
@@ -57,7 +57,7 @@ enum {
enum
indic_syllabic_category_t
{
INDIC_SYLLABIC_CATEGORY_OTHER
=
OT_X
,
INDIC_SYLLABIC_CATEGORY_AVAGRAHA
=
OT_
SM
,
INDIC_SYLLABIC_CATEGORY_AVAGRAHA
=
OT_
X
,
INDIC_SYLLABIC_CATEGORY_BINDU
=
OT_SM
,
INDIC_SYLLABIC_CATEGORY_CONSONANT
=
OT_C
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_DEAD
=
OT_C
,
...
...
@@ -67,11 +67,11 @@ enum indic_syllabic_category_t {
INDIC_SYLLABIC_CATEGORY_CONSONANT_PLACEHOLDER
=
OT_NBSP
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_SUBJOINED
=
OT_C
,
INDIC_SYLLABIC_CATEGORY_CONSONANT_REPHA
=
OT_C
,
INDIC_SYLLABIC_CATEGORY_MODIFYING_LETTER
=
OT_
SM
,
INDIC_SYLLABIC_CATEGORY_MODIFYING_LETTER
=
OT_
X
,
INDIC_SYLLABIC_CATEGORY_NUKTA
=
OT_N
,
INDIC_SYLLABIC_CATEGORY_REGISTER_SHIFTER
=
OT_
SM
,
INDIC_SYLLABIC_CATEGORY_TONE_LETTER
=
OT_
V
,
INDIC_SYLLABIC_CATEGORY_TONE_MARK
=
OT_
M
,
INDIC_SYLLABIC_CATEGORY_REGISTER_SHIFTER
=
OT_
X
,
INDIC_SYLLABIC_CATEGORY_TONE_LETTER
=
OT_
X
,
INDIC_SYLLABIC_CATEGORY_TONE_MARK
=
OT_
X
,
INDIC_SYLLABIC_CATEGORY_VIRAMA
=
OT_H
,
INDIC_SYLLABIC_CATEGORY_VISARGA
=
OT_SM
,
INDIC_SYLLABIC_CATEGORY_VOWEL
=
OT_V
,
...
...
@@ -83,20 +83,33 @@ enum indic_syllabic_category_t {
enum
indic_matra_category_t
{
INDIC_MATRA_CATEGORY_NOT_APPLICABLE
=
0
,
INDIC_MATRA_CATEGORY_BOTTOM
,
INDIC_MATRA_CATEGORY_BOTTOM_AND_RIGHT
,
INDIC_MATRA_CATEGORY_INVISIBLE
,
INDIC_MATRA_CATEGORY_LEFT
,
INDIC_MATRA_CATEGORY_LEFT_AND_RIGHT
,
INDIC_MATRA_CATEGORY_OVERSTRUCK
,
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_TOP
,
INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM
,
INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM_AND_RIGHT
,
INDIC_MATRA_CATEGORY_TOP_AND_LEFT
,
INDIC_MATRA_CATEGORY_TOP_AND_LEFT_AND_RIGHT
,
INDIC_MATRA_CATEGORY_TOP_AND_RIGHT
,
INDIC_MATRA_CATEGORY_VISUAL_ORDER_LEFT
INDIC_MATRA_CATEGORY_LEFT
=
0x01
,
INDIC_MATRA_CATEGORY_TOP
=
0x02
,
INDIC_MATRA_CATEGORY_BOTTOM
=
0x04
,
INDIC_MATRA_CATEGORY_RIGHT
=
0x08
,
/* We don't really care much about these since we decompose them
* in the generic pre-shaping layer. */
INDIC_MATRA_CATEGORY_BOTTOM_AND_RIGHT
=
INDIC_MATRA_CATEGORY_BOTTOM
+
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_LEFT_AND_RIGHT
=
INDIC_MATRA_CATEGORY_LEFT
+
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM
=
INDIC_MATRA_CATEGORY_TOP
+
INDIC_MATRA_CATEGORY_BOTTOM
,
INDIC_MATRA_CATEGORY_TOP_AND_BOTTOM_AND_RIGHT
=
INDIC_MATRA_CATEGORY_TOP
+
INDIC_MATRA_CATEGORY_BOTTOM
+
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_TOP_AND_LEFT
=
INDIC_MATRA_CATEGORY_TOP
+
INDIC_MATRA_CATEGORY_LEFT
,
INDIC_MATRA_CATEGORY_TOP_AND_LEFT_AND_RIGHT
=
INDIC_MATRA_CATEGORY_TOP
+
INDIC_MATRA_CATEGORY_LEFT
+
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_TOP_AND_RIGHT
=
INDIC_MATRA_CATEGORY_TOP
+
INDIC_MATRA_CATEGORY_RIGHT
,
INDIC_MATRA_CATEGORY_INVISIBLE
=
INDIC_MATRA_CATEGORY_NOT_APPLICABLE
,
INDIC_MATRA_CATEGORY_OVERSTRUCK
=
INDIC_MATRA_CATEGORY_NOT_APPLICABLE
,
INDIC_MATRA_CATEGORY_VISUAL_ORDER_LEFT
=
INDIC_MATRA_CATEGORY_NOT_APPLICABLE
};
#define INDIC_COMBINE_CATEGORIES(S,M) \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录