You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "xingZhang (JIRA)" <ji...@apache.org> on 2018/05/03 08:23:00 UTC
[jira] [Commented] (WEEX-296) about coretext=true,In the
case of fontfamily, memory leakage is a problem
[ https://issues.apache.org/jira/browse/WEEX-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462096#comment-16462096 ]
xingZhang commented on WEEX-296:
--------------------------------
hi [~xiaozhongwei] , actually, the reason why custom font use a lot of memory is that for a text label will holds a custom ttf or woff, that's not memory leak, it's performance.
we have try to register a custom font to reduce this case, but it seems useless, trying another way to optimize it, you can also submit an pull request to fix it, thanks.
> <text> about coretext=true,In the case of fontfamily, memory leakage is a problem
> ---------------------------------------------------------------------------------
>
> Key: WEEX-296
> URL: https://issues.apache.org/jira/browse/WEEX-296
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Affects Versions: 0.18
> Reporter: xiaozhongwei
> Assignee: xingZhang
> Priority: Blocker
>
> When I use <text>, if I use a custom fontfamily, the memory will not be released, but I use the coretext= "false" properties in the <text> is ok .
> 1, coretext=true, memory leak ?
> 2, what is the effect of the coretext attribute?
> Thanks Very much..
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)