Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
04981ee0
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
接近 2 年 前同步成功
通知
1
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看板
提交
04981ee0
编写于
10月 27, 2018
作者:
B
Behdad Esfahbod
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[docs] More
上级
5dd86aa3
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
73 addition
and
0 deletion
+73
-0
src/hb-coretext.cc
src/hb-coretext.cc
+10
-0
src/hb-ft.cc
src/hb-ft.cc
+11
-0
src/hb-glib.cc
src/hb-glib.cc
+10
-0
src/hb-gobject-structs.cc
src/hb-gobject-structs.cc
+12
-0
src/hb-graphite2.cc
src/hb-graphite2.cc
+10
-0
src/hb-icu.cc
src/hb-icu.cc
+10
-0
src/hb-uniscribe.cc
src/hb-uniscribe.cc
+10
-0
未找到文件。
src/hb-coretext.cc
浏览文件 @
04981ee0
...
...
@@ -35,6 +35,16 @@
#include "hb-aat-layout.hh"
#include <math.h>
/**
* SECTION:hb-coretext
* @title: hb-coretext
* @short_description: CoreText integration
* @include: hb-coretext.h
*
* Functions for using HarfBuzz with the CoreText fonts.
**/
/* https://developer.apple.com/documentation/coretext/1508745-ctfontcreatewithgraphicsfont */
#define HB_CORETEXT_DEFAULT_FONT_SIZE 12.f
...
...
src/hb-ft.cc
浏览文件 @
04981ee0
...
...
@@ -40,6 +40,17 @@
#include FT_TRUETYPE_TABLES_H
/**
* SECTION:hb-ft
* @title: hb-ft
* @short_description: FreeType integration
* @include: hb-ft.h
*
* Functions for using HarfBuzz with the FreeType library to provide face and
* font data.
**/
/* TODO:
*
* In general, this file does a fine job of what it's supposed to do.
...
...
src/hb-glib.cc
浏览文件 @
04981ee0
...
...
@@ -33,6 +33,16 @@
#include "hb-machinery.hh"
/**
* SECTION:hb-glib
* @title: hb-glib
* @short_description: GLib integration
* @include: hb-glib.h
*
* Functions for using HarfBuzz with the GLib library to provide Unicode data.
**/
#if !GLIB_CHECK_VERSION(2,29,14)
static
const
hb_script_t
glib_script_to_script
[]
=
...
...
src/hb-gobject-structs.cc
浏览文件 @
04981ee0
...
...
@@ -26,6 +26,18 @@
#include "hb.hh"
/**
* SECTION:hb-gobject
* @title: hb-gobject
* @short_description: GObject integration
* @include: hb-gobject.h
*
* Functions for using HarfBuzz with the GObject library to provide
* type data.
**/
/* g++ didn't like older gtype.h gcc-only code path. */
#include <glib.h>
#if !GLIB_CHECK_VERSION(2,29,16)
...
...
src/hb-graphite2.cc
浏览文件 @
04981ee0
...
...
@@ -36,6 +36,16 @@
#include "hb-ot-layout.h"
/**
* SECTION:hb-graphite2
* @title: hb-graphite2
* @short_description: Graphite2 integration
* @include: hb-graphite2.h
*
* Functions for using HarfBuzz with the Graphite2 fonts.
**/
HB_SHAPER_DATA_ENSURE_DEFINE
(
graphite2
,
face
)
HB_SHAPER_DATA_ENSURE_DEFINE
(
graphite2
,
font
)
...
...
src/hb-icu.cc
浏览文件 @
04981ee0
...
...
@@ -40,6 +40,16 @@
#include <unicode/uversion.h>
/**
* SECTION:hb-icu
* @title: hb-icu
* @short_description: ICU integration
* @include: hb-icu.h
*
* Functions for using HarfBuzz with the ICU library to provide Unicode data.
**/
hb_script_t
hb_icu_script_to_script
(
UScriptCode
script
)
{
...
...
src/hb-uniscribe.cc
浏览文件 @
04981ee0
...
...
@@ -39,6 +39,16 @@
#include "hb-ot-layout.h"
/**
* SECTION:hb-uniscribe
* @title: hb-uniscribe
* @short_description: Windows integration
* @include: hb-uniscribe.h
*
* Functions for using HarfBuzz with the Windows fonts.
**/
static
inline
uint16_t
hb_uint16_swap
(
const
uint16_t
v
)
{
return
(
v
>>
8
)
|
(
v
<<
8
);
}
static
inline
uint32_t
hb_uint32_swap
(
const
uint32_t
v
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录