未验证 提交 e65e4771 编写于 作者: O openharmony_ci 提交者: Gitee

!48 矢量字体性能优化

Merge pull request !48 from Lizhiqi/cherry-pick-1672918573
......@@ -87,7 +87,7 @@ FT_BEGIN_HEADER
FT_GlyphLoader_Done( FT_GlyphLoader loader );
/* reset a glyph loader (frees everything int it) */
FT_BASE( void )
FT_EXPORT( void )
FT_GlyphLoader_Reset( FT_GlyphLoader loader );
/* rewind a glyph loader */
......
......@@ -695,7 +695,7 @@ FT_BEGIN_HEADER
/* Free the bitmap of a given glyphslot when needed (i.e., only when it */
/* was allocated with ft_glyphslot_alloc_bitmap). */
FT_BASE( void )
FT_EXPORT( void )
ft_glyphslot_free_bitmap( FT_GlyphSlot slot );
......
......@@ -396,7 +396,7 @@ FT_BEGIN_HEADER
/* read bytes from a stream into a user-allocated buffer, returns an */
/* error if not all bytes could be read. */
FT_EXPORT_DEF( FT_Error )
FT_EXPORT( FT_Error )
FT_Stream_Read( FT_Stream stream,
FT_Byte* buffer,
FT_ULong count );
......
......@@ -101,7 +101,7 @@
/* reset glyph loader, free all allocated tables, */
/* and start from zero */
FT_BASE_DEF( void )
FT_EXPORT_DEF( void )
FT_GlyphLoader_Reset( FT_GlyphLoader loader )
{
FT_Memory memory = loader->memory;
......
......@@ -321,7 +321,7 @@
}
FT_BASE_DEF( void )
FT_EXPORT_DEF( void )
ft_glyphslot_free_bitmap( FT_GlyphSlot slot )
{
if ( slot->internal && ( slot->internal->flags & FT_GLYPH_OWN_BITMAP ) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册