Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
44cbd2ea
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看板
提交
44cbd2ea
编写于
11月 29, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Convert "static const bool" constants to anonymous enum
上级
861bc753
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
20 addition
and
20 deletion
+20
-20
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
+2
-2
src/hb-aat-layout-morx-table.hh
src/hb-aat-layout-morx-table.hh
+4
-4
src/hb-dsalgs.hh
src/hb-dsalgs.hh
+8
-8
src/hb-ot-kern-table.hh
src/hb-ot-kern-table.hh
+2
-2
src/hb-ot-layout.cc
src/hb-ot-layout.cc
+2
-2
未找到文件。
src/hb-aat-layout-common.hh
浏览文件 @
44cbd2ea
...
...
@@ -675,7 +675,7 @@ struct ClassTable
struct
ObsoleteTypes
{
static
const
bool
extended
=
false
;
enum
{
extended
=
false
}
;
typedef
HBUINT16
HBUINT
;
typedef
HBUINT8
HBUSHORT
;
typedef
ClassTable
<
HBUINT8
>
ClassTypeNarrow
;
...
...
@@ -705,7 +705,7 @@ struct ObsoleteTypes
};
struct
ExtendedTypes
{
static
const
bool
extended
=
true
;
enum
{
extended
=
true
}
;
typedef
HBUINT32
HBUINT
;
typedef
HBUINT16
HBUSHORT
;
typedef
Lookup
<
HBUINT16
>
ClassTypeNarrow
;
...
...
src/hb-aat-layout-kerx-table.hh
浏览文件 @
44cbd2ea
...
...
@@ -211,7 +211,7 @@ struct KerxSubTableFormat1
struct
driver_context_t
{
static
const
bool
in_place
=
true
;
enum
{
in_place
=
true
}
;
enum
{
DontAdvance
=
Format1EntryT
::
DontAdvance
,
...
...
@@ -472,7 +472,7 @@ struct KerxSubTableFormat4
struct
driver_context_t
{
static
const
bool
in_place
=
true
;
enum
{
in_place
=
true
}
;
enum
Flags
{
Mark
=
0x8000
,
/* If set, remember this glyph as the marked glyph. */
...
...
src/hb-aat-layout-morx-table.hh
浏览文件 @
44cbd2ea
...
...
@@ -54,7 +54,7 @@ struct RearrangementSubtable
struct
driver_context_t
{
static
const
bool
in_place
=
true
;
enum
{
in_place
=
true
}
;
enum
Flags
{
MarkFirst
=
0x8000
,
/* If set, make the current glyph the first
...
...
@@ -204,7 +204,7 @@ struct ContextualSubtable
struct
driver_context_t
{
static
const
bool
in_place
=
true
;
enum
{
in_place
=
true
}
;
enum
Flags
{
SetMark
=
0x8000
,
/* If set, make the current glyph the marked glyph. */
...
...
@@ -424,7 +424,7 @@ struct LigatureSubtable
struct
driver_context_t
{
static
const
bool
in_place
=
false
;
enum
{
in_place
=
false
}
;
enum
{
DontAdvance
=
LigatureEntryT
::
DontAdvance
,
...
...
@@ -660,7 +660,7 @@ struct InsertionSubtable
struct
driver_context_t
{
static
const
bool
in_place
=
false
;
enum
{
in_place
=
false
}
;
enum
Flags
{
SetMark
=
0x8000
,
/* If set, mark the current glyph. */
...
...
src/hb-dsalgs.hh
浏览文件 @
44cbd2ea
...
...
@@ -735,26 +735,26 @@ inline hb_sorted_array_t<T> hb_sorted_array (T *array, unsigned int len)
struct
HbOpOr
{
static
const
bool
passthru_left
=
true
;
static
const
bool
passthru_right
=
true
;
enum
{
passthru_left
=
true
}
;
enum
{
passthru_right
=
true
}
;
template
<
typename
T
>
static
void
process
(
T
&
o
,
const
T
&
a
,
const
T
&
b
)
{
o
=
a
|
b
;
}
};
struct
HbOpAnd
{
static
const
bool
passthru_left
=
false
;
static
const
bool
passthru_right
=
false
;
enum
{
passthru_left
=
false
}
;
enum
{
passthru_right
=
false
}
;
template
<
typename
T
>
static
void
process
(
T
&
o
,
const
T
&
a
,
const
T
&
b
)
{
o
=
a
&
b
;
}
};
struct
HbOpMinus
{
static
const
bool
passthru_left
=
true
;
static
const
bool
passthru_right
=
false
;
enum
{
passthru_left
=
true
}
;
enum
{
passthru_right
=
false
}
;
template
<
typename
T
>
static
void
process
(
T
&
o
,
const
T
&
a
,
const
T
&
b
)
{
o
=
a
&
~
b
;
}
};
struct
HbOpXor
{
static
const
bool
passthru_left
=
true
;
static
const
bool
passthru_right
=
true
;
enum
{
passthru_left
=
true
}
;
enum
{
passthru_right
=
true
}
;
template
<
typename
T
>
static
void
process
(
T
&
o
,
const
T
&
a
,
const
T
&
b
)
{
o
=
a
^
b
;
}
};
...
...
src/hb-ot-kern-table.hh
浏览文件 @
44cbd2ea
...
...
@@ -160,7 +160,7 @@ struct KernSubTable
struct
KernOTSubTableHeader
{
static
const
bool
apple
=
false
;
enum
{
apple
=
false
}
;
typedef
AAT
::
ObsoleteTypes
Types
;
inline
unsigned
int
tuple_count
(
void
)
const
{
return
0
;
}
...
...
@@ -215,7 +215,7 @@ struct KernOT : AAT::KerxTable<KernOT>
struct
KernAATSubTableHeader
{
static
const
bool
apple
=
true
;
enum
{
apple
=
true
}
;
typedef
AAT
::
ObsoleteTypes
Types
;
inline
unsigned
int
tuple_count
(
void
)
const
{
return
0
;
}
...
...
src/hb-ot-layout.cc
浏览文件 @
44cbd2ea
...
...
@@ -1299,7 +1299,7 @@ hb_ot_layout_feature_get_characters (hb_face_t *face,
struct
GSUBProxy
{
enum
{
table_index
=
0
};
static
const
bool
inplace
=
false
;
enum
{
inplace
=
false
}
;
typedef
OT
::
SubstLookup
Lookup
;
GSUBProxy
(
hb_face_t
*
face
)
:
...
...
@@ -1313,7 +1313,7 @@ struct GSUBProxy
struct
GPOSProxy
{
enum
{
table_index
=
1
};
static
const
bool
inplace
=
true
;
enum
{
inplace
=
true
}
;
typedef
OT
::
PosLookup
Lookup
;
GPOSProxy
(
hb_face_t
*
face
)
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录