Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
7e6bd510
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看板
提交
7e6bd510
编写于
1月 17, 2019
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use NNOffsetTo<> in rest of places
上级
b1152d5e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
20 deletion
+20
-20
src/hb-aat-layout-common.hh
src/hb-aat-layout-common.hh
+4
-4
src/hb-aat-layout-kerx-table.hh
src/hb-aat-layout-kerx-table.hh
+11
-11
src/hb-aat-layout-morx-table.hh
src/hb-aat-layout-morx-table.hh
+5
-5
未找到文件。
src/hb-aat-layout-common.hh
浏览文件 @
7e6bd510
...
...
@@ -164,7 +164,7 @@ struct LookupSegmentArray
GlyphID
last
;
/* Last GlyphID in this segment */
GlyphID
first
;
/* First GlyphID in this segment */
OffsetTo
<
UnsizedArrayOf
<
T
>
,
HBUINT16
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
T
>
>
valuesZ
;
/* A 16-bit offset from the start of
* the table to the data. */
public:
...
...
@@ -629,11 +629,11 @@ struct StateTable
protected:
HBUINT
nClasses
;
/* Number of classes, which is the number of indices
* in a single line in the state array. */
OffsetTo
<
ClassType
,
HBUINT
,
false
>
NNOffsetTo
<
ClassType
,
HBUINT
>
classTable
;
/* Offset to the class table. */
OffsetTo
<
UnsizedArrayOf
<
HBUSHORT
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
HBUSHORT
>
,
HBUINT
>
stateArrayTable
;
/* Offset to the state array. */
OffsetTo
<
UnsizedArrayOf
<
Entry
<
Extra
>
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
Entry
<
Extra
>
>
,
HBUINT
>
entryTable
;
/* Offset to the entry array. */
public:
...
...
src/hb-aat-layout-kerx-table.hh
浏览文件 @
7e6bd510
...
...
@@ -374,7 +374,7 @@ struct KerxSubTableFormat1
protected:
KernSubTableHeader
header
;
StateTable
<
Types
,
EntryData
>
machine
;
OffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
HBUINT
,
false
>
kernAction
;
NNOffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
HBUINT
>
kernAction
;
public:
DEFINE_SIZE_STATIC
(
KernSubTableHeader
::
static_size
+
5
*
sizeof
(
HBUINT
));
};
...
...
@@ -443,13 +443,13 @@ struct KerxSubTableFormat2
protected:
KernSubTableHeader
header
;
HBUINT
rowWidth
;
/* The width, in bytes, of a row in the table. */
OffsetTo
<
typename
Types
::
ClassTypeWide
,
HBUINT
,
false
>
NNOffsetTo
<
typename
Types
::
ClassTypeWide
,
HBUINT
>
leftClassTable
;
/* Offset from beginning of this subtable to
* left-hand class table. */
OffsetTo
<
typename
Types
::
ClassTypeWide
,
HBUINT
,
false
>
NNOffsetTo
<
typename
Types
::
ClassTypeWide
,
HBUINT
>
rightClassTable
;
/* Offset from beginning of this subtable to
* right-hand class table. */
OffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
HBUINT
>
array
;
/* Offset from beginning of this subtable to
* the start of the kerning array. */
public:
...
...
@@ -719,18 +719,18 @@ struct KerxSubTableFormat6
{
struct
Long
{
L
OffsetTo
<
Lookup
<
HBUINT32
>
,
false
>
rowIndexTable
;
L
OffsetTo
<
Lookup
<
HBUINT32
>
,
false
>
columnIndexTable
;
L
OffsetTo
<
UnsizedArrayOf
<
FWORD32
>
,
false
>
array
;
L
NNOffsetTo
<
Lookup
<
HBUINT32
>
>
rowIndexTable
;
L
NNOffsetTo
<
Lookup
<
HBUINT32
>
>
columnIndexTable
;
L
NNOffsetTo
<
UnsizedArrayOf
<
FWORD32
>
>
array
;
}
l
;
struct
Short
{
L
OffsetTo
<
Lookup
<
HBUINT16
>
,
false
>
rowIndexTable
;
L
OffsetTo
<
Lookup
<
HBUINT16
>
,
false
>
columnIndexTable
;
L
OffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
false
>
array
;
L
NNOffsetTo
<
Lookup
<
HBUINT16
>
>
rowIndexTable
;
L
NNOffsetTo
<
Lookup
<
HBUINT16
>
>
columnIndexTable
;
L
NNOffsetTo
<
UnsizedArrayOf
<
FWORD
>
>
array
;
}
s
;
}
u
;
L
OffsetTo
<
UnsizedArrayOf
<
FWORD
>
,
false
>
vector
;
L
NNOffsetTo
<
UnsizedArrayOf
<
FWORD
>
>
vector
;
public:
DEFINE_SIZE_STATIC
(
KernSubTableHeader
::
static_size
+
24
);
};
...
...
src/hb-aat-layout-morx-table.hh
浏览文件 @
7e6bd510
...
...
@@ -352,7 +352,7 @@ struct ContextualSubtable
protected:
StateTable
<
Types
,
EntryData
>
machine
;
OffsetTo
<
UnsizedOffsetListOf
<
Lookup
<
GlyphID
>
,
HBUINT
,
false
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedOffsetListOf
<
Lookup
<
GlyphID
>
,
HBUINT
,
false
>
,
HBUINT
>
substitutionTables
;
public:
DEFINE_SIZE_STATIC
(
20
);
...
...
@@ -591,11 +591,11 @@ struct LigatureSubtable
protected:
StateTable
<
Types
,
EntryData
>
machine
;
OffsetTo
<
UnsizedArrayOf
<
HBUINT32
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
HBUINT32
>
,
HBUINT
>
ligAction
;
/* Offset to the ligature action table. */
OffsetTo
<
UnsizedArrayOf
<
HBUINT16
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
HBUINT16
>
,
HBUINT
>
component
;
/* Offset to the component table. */
OffsetTo
<
UnsizedArrayOf
<
GlyphID
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
GlyphID
>
,
HBUINT
>
ligature
;
/* Offset to the actual ligature lists. */
public:
DEFINE_SIZE_STATIC
(
28
);
...
...
@@ -833,7 +833,7 @@ struct InsertionSubtable
protected:
StateTable
<
Types
,
EntryData
>
machine
;
OffsetTo
<
UnsizedArrayOf
<
GlyphID
>
,
HBUINT
,
false
>
NNOffsetTo
<
UnsizedArrayOf
<
GlyphID
>
,
HBUINT
>
insertionAction
;
/* Byte offset from stateHeader to the start of
* the insertion glyph table. */
public:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录