Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
94b49bee
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,发现更多精彩内容 >>
提交
94b49bee
编写于
1月 17, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Whitespace
上级
e849b8a8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
16 deletion
+14
-16
src/hb-ot-head-table.hh
src/hb-ot-head-table.hh
+9
-11
src/hb-ot-post-table.hh
src/hb-ot-post-table.hh
+5
-5
未找到文件。
src/hb-ot-head-table.hh
浏览文件 @
94b49bee
...
@@ -64,10 +64,10 @@ struct head
...
@@ -64,10 +64,10 @@ struct head
FixedVersion
<>
version
;
/* Version of the head table--currently
FixedVersion
<>
version
;
/* Version of the head table--currently
* 0x00010000u for version 1.0. */
* 0x00010000u for version 1.0. */
FixedVersion
<>
fontRevision
;
/* Set by font manufacturer. */
FixedVersion
<>
fontRevision
;
/* Set by font manufacturer. */
HBUINT32
checkSumAdjustment
;
/* To compute: set it to 0, sum the
HBUINT32
checkSumAdjustment
;
/* To compute: set it to 0, sum the
* entire font as HBUINT32, then store
* entire font as HBUINT32, then store
* 0xB1B0AFBAu - sum. */
* 0xB1B0AFBAu - sum. */
HBUINT32
magicNumber
;
/* Set to 0x5F0F3CF5u. */
HBUINT32
magicNumber
;
/* Set to 0x5F0F3CF5u. */
HBUINT16
flags
;
/* Bit 0: Baseline for font at y=0;
HBUINT16
flags
;
/* Bit 0: Baseline for font at y=0;
* Bit 1: Left sidebearing point at x=0;
* Bit 1: Left sidebearing point at x=0;
* Bit 2: Instructions may depend on point size;
* Bit 2: Instructions may depend on point size;
...
@@ -76,7 +76,6 @@ struct head
...
@@ -76,7 +76,6 @@ struct head
* ppem sizes if this bit is clear;
* ppem sizes if this bit is clear;
* Bit 4: Instructions may alter advance width
* Bit 4: Instructions may alter advance width
* (the advance widths might not scale linearly);
* (the advance widths might not scale linearly);
* Bits 5-10: These should be set according to
* Bits 5-10: These should be set according to
* Apple's specification. However, they are not
* Apple's specification. However, they are not
* implemented in OpenType.
* implemented in OpenType.
...
@@ -96,7 +95,6 @@ struct head
...
@@ -96,7 +95,6 @@ struct head
* contains any strong right-to-left glyphs.
* contains any strong right-to-left glyphs.
* Bit 10: This bit should be set if the font
* Bit 10: This bit should be set if the font
* contains Indic-style rearrangement effects.
* contains Indic-style rearrangement effects.
* Bit 11: Font data is 'lossless,' as a result
* Bit 11: Font data is 'lossless,' as a result
* of having been compressed and decompressed
* of having been compressed and decompressed
* with the Agfa MicroType Express engine.
* with the Agfa MicroType Express engine.
...
@@ -121,10 +119,10 @@ struct head
...
@@ -121,10 +119,10 @@ struct head
January 1, 1904. 64-bit integer */
January 1, 1904. 64-bit integer */
LONGDATETIME
modified
;
/* Number of seconds since 12:00 midnight,
LONGDATETIME
modified
;
/* Number of seconds since 12:00 midnight,
January 1, 1904. 64-bit integer */
January 1, 1904. 64-bit integer */
HBINT16
xMin
;
/* For all glyph bounding boxes. */
HBINT16
xMin
;
/* For all glyph bounding boxes. */
HBINT16
yMin
;
/* For all glyph bounding boxes. */
HBINT16
yMin
;
/* For all glyph bounding boxes. */
HBINT16
xMax
;
/* For all glyph bounding boxes. */
HBINT16
xMax
;
/* For all glyph bounding boxes. */
HBINT16
yMax
;
/* For all glyph bounding boxes. */
HBINT16
yMax
;
/* For all glyph bounding boxes. */
HBUINT16
macStyle
;
/* Bit 0: Bold (if set to 1);
HBUINT16
macStyle
;
/* Bit 0: Bold (if set to 1);
* Bit 1: Italic (if set to 1)
* Bit 1: Italic (if set to 1)
* Bit 2: Underline (if set to 1)
* Bit 2: Underline (if set to 1)
...
@@ -134,15 +132,15 @@ struct head
...
@@ -134,15 +132,15 @@ struct head
* Bit 6: Extended (if set to 1)
* Bit 6: Extended (if set to 1)
* Bits 7-15: Reserved (set to 0). */
* Bits 7-15: Reserved (set to 0). */
HBUINT16
lowestRecPPEM
;
/* Smallest readable size in pixels. */
HBUINT16
lowestRecPPEM
;
/* Smallest readable size in pixels. */
HBINT16
fontDirectionHint
;
/* Deprecated (Set to 2).
HBINT16
fontDirectionHint
;
/* Deprecated (Set to 2).
* 0: Fully mixed directional glyphs;
* 0: Fully mixed directional glyphs;
* 1: Only strongly left to right;
* 1: Only strongly left to right;
* 2: Like 1 but also contains neutrals;
* 2: Like 1 but also contains neutrals;
* -1: Only strongly right to left;
* -1: Only strongly right to left;
* -2: Like -1 but also contains neutrals. */
* -2: Like -1 but also contains neutrals. */
public:
public:
HBINT16
indexToLocFormat
;
/* 0 for short offsets, 1 for long. */
HBINT16
indexToLocFormat
;
/* 0 for short offsets, 1 for long. */
HBINT16
glyphDataFormat
;
/* 0 for current format. */
HBINT16
glyphDataFormat
;
/* 0 for current format. */
DEFINE_SIZE_STATIC
(
54
);
DEFINE_SIZE_STATIC
(
54
);
};
};
...
...
src/hb-ot-post-table.hh
浏览文件 @
94b49bee
...
@@ -261,16 +261,16 @@ struct post
...
@@ -261,16 +261,16 @@ struct post
* from the value of this field. */
* from the value of this field. */
FWORD
underlineThickness
;
/* Suggested values for the underline
FWORD
underlineThickness
;
/* Suggested values for the underline
thickness. */
thickness. */
HBUINT32
isFixedPitch
;
/* Set to 0 if the font is proportionally
HBUINT32
isFixedPitch
;
/* Set to 0 if the font is proportionally
* spaced, non-zero if the font is not
* spaced, non-zero if the font is not
* proportionally spaced (i.e. monospaced). */
* proportionally spaced (i.e. monospaced). */
HBUINT32
minMemType42
;
/* Minimum memory usage when an OpenType font
HBUINT32
minMemType42
;
/* Minimum memory usage when an OpenType font
* is downloaded. */
* is downloaded. */
HBUINT32
maxMemType42
;
/* Maximum memory usage when an OpenType font
HBUINT32
maxMemType42
;
/* Maximum memory usage when an OpenType font
* is downloaded. */
* is downloaded. */
HBUINT32
minMemType1
;
/* Minimum memory usage when an OpenType font
HBUINT32
minMemType1
;
/* Minimum memory usage when an OpenType font
* is downloaded as a Type 1 font. */
* is downloaded as a Type 1 font. */
HBUINT32
maxMemType1
;
/* Maximum memory usage when an OpenType font
HBUINT32
maxMemType1
;
/* Maximum memory usage when an OpenType font
* is downloaded as a Type 1 font. */
* is downloaded as a Type 1 font. */
/*postV2Tail v2[VAR];*/
/*postV2Tail v2[VAR];*/
DEFINE_SIZE_STATIC
(
32
);
DEFINE_SIZE_STATIC
(
32
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录