提交 5842df6b 编写于 作者: L Lizhiqi

Description: support ttc font

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5PJZR
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: Nlizhiqi <lizhiqi1@huawei.com>
上级 28e3b8b9
......@@ -359,13 +359,13 @@ FT_BEGIN_HEADER
/* create a new (input) stream from an FT_Open_Args structure */
FT_BASE( FT_Error )
FT_EXPORT( FT_Error )
FT_Stream_New( FT_Library library,
const FT_Open_Args* args,
FT_Stream *astream );
/* free a stream */
FT_BASE( void )
FT_EXPORT( void )
FT_Stream_Free( FT_Stream stream,
FT_Int external );
......
......@@ -185,7 +185,7 @@
/* create a new input stream from an FT_Open_Args structure */
/* */
FT_BASE_DEF( FT_Error )
FT_EXPORT_DEF( FT_Error )
FT_Stream_New( FT_Library library,
const FT_Open_Args* args,
FT_Stream *astream )
......@@ -253,7 +253,7 @@
}
FT_BASE_DEF( void )
FT_EXPORT_DEF( void )
FT_Stream_Free( FT_Stream stream,
FT_Int external )
{
......@@ -3275,7 +3275,7 @@
if ( !face->size )
return FT_THROW( Invalid_Size_Handle );
if ( !req || req->width < 0 || req->height < 0 ||
req->type >= FT_SIZE_REQUEST_TYPE_MAX )
return FT_THROW( Invalid_Argument );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册