Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
241ba7da
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看板
提交
241ba7da
编写于
11月 07, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[morx/kerx] Rename types
上级
c808e444
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
15 addition
and
14 deletion
+15
-14
src/hb-aat-layout-common.hh
src/hb-aat-layout-common.hh
+2
-2
src/hb-aat-layout-kerx-table.hh
src/hb-aat-layout-kerx-table.hh
+9
-8
src/hb-aat-layout-morx-table.hh
src/hb-aat-layout-morx-table.hh
+2
-2
src/hb-ot-kern-table.hh
src/hb-ot-kern-table.hh
+2
-2
未找到文件。
src/hb-aat-layout-common.hh
浏览文件 @
241ba7da
...
...
@@ -546,7 +546,7 @@ struct ClassTable
DEFINE_SIZE_ARRAY
(
4
,
classArray
);
};
struct
Mort
Types
struct
Obsolete
Types
{
static
const
bool
extended
=
false
;
typedef
HBUINT16
HBUINT
;
...
...
@@ -573,7 +573,7 @@ struct MortTypes
return
offsetToIndex
(
2
*
offset
,
base
,
array
);
}
};
struct
Morx
Types
struct
Extended
Types
{
static
const
bool
extended
=
true
;
typedef
HBUINT32
HBUINT
;
...
...
src/hb-aat-layout-kerx-table.hh
浏览文件 @
241ba7da
...
...
@@ -476,6 +476,8 @@ struct KerxSubTableFormat2
template
<
typename
KernSubTableHeader
>
struct
KerxSubTableFormat4
{
typedef
ExtendedTypes
Types
;
struct
EntryData
{
HBUINT16
ankrActionIndex
;
/* Either 0xFFFF (for no action) or the index of
...
...
@@ -512,12 +514,12 @@ struct KerxSubTableFormat4
mark_set
(
false
),
mark
(
0
)
{}
inline
bool
is_actionable
(
StateTableDriver
<
Morx
Types
,
EntryData
>
*
driver
HB_UNUSED
,
inline
bool
is_actionable
(
StateTableDriver
<
Types
,
EntryData
>
*
driver
HB_UNUSED
,
const
Entry
<
EntryData
>
*
entry
)
{
return
entry
->
data
.
ankrActionIndex
!=
0xFFFF
;
}
inline
bool
transition
(
StateTableDriver
<
Morx
Types
,
EntryData
>
*
driver
,
inline
bool
transition
(
StateTableDriver
<
Types
,
EntryData
>
*
driver
,
const
Entry
<
EntryData
>
*
entry
)
{
hb_buffer_t
*
buffer
=
driver
->
buffer
;
...
...
@@ -619,7 +621,7 @@ struct KerxSubTableFormat4
driver_context_t
dc
(
this
,
c
);
StateTableDriver
<
Morx
Types
,
EntryData
>
driver
(
machine
,
c
->
buffer
,
c
->
font
->
face
);
StateTableDriver
<
Types
,
EntryData
>
driver
(
machine
,
c
->
buffer
,
c
->
font
->
face
);
driver
.
drive
(
&
dc
);
return_trace
(
true
);
...
...
@@ -634,10 +636,9 @@ struct KerxSubTableFormat4
}
protected:
KernSubTableHeader
header
;
StateTable
<
MorxTypes
,
EntryData
>
machine
;
HBUINT32
flags
;
KernSubTableHeader
header
;
StateTable
<
Types
,
EntryData
>
machine
;
HBUINT32
flags
;
public:
DEFINE_SIZE_STATIC
(
KernSubTableHeader
::
static_size
+
20
);
};
...
...
@@ -756,7 +757,7 @@ struct KerxSubTableFormat6
struct
KerxSubTableHeader
{
typedef
Morx
Types
Types
;
typedef
Extended
Types
Types
;
unsigned
int
tuple_count
(
void
)
const
{
return
tupleCount
;
}
...
...
src/hb-aat-layout-morx-table.hh
浏览文件 @
241ba7da
...
...
@@ -1166,11 +1166,11 @@ struct mortmorx
DEFINE_SIZE_MIN
(
8
);
};
struct
morx
:
mortmorx
<
Morx
Types
>
struct
morx
:
mortmorx
<
Extended
Types
>
{
static
const
hb_tag_t
tableTag
=
HB_AAT_TAG_morx
;
};
struct
mort
:
mortmorx
<
Mort
Types
>
struct
mort
:
mortmorx
<
Obsolete
Types
>
{
static
const
hb_tag_t
tableTag
=
HB_AAT_TAG_mort
;
};
...
...
src/hb-ot-kern-table.hh
浏览文件 @
241ba7da
...
...
@@ -316,7 +316,7 @@ struct KernOT : KernTable<KernOT>
struct
SubTableHeader
{
typedef
AAT
::
Mort
Types
Types
;
typedef
AAT
::
Obsolete
Types
Types
;
unsigned
int
tuple_count
(
void
)
const
{
return
0
;
}
...
...
@@ -363,7 +363,7 @@ struct KernAAT : KernTable<KernAAT>
struct
SubTableHeader
{
typedef
AAT
::
Mort
Types
Types
;
typedef
AAT
::
Obsolete
Types
Types
;
unsigned
int
tuple_count
(
void
)
const
{
return
0
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录