[ 
https://issues.apache.org/jira/browse/WEEX-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

xiaozhongwei updated WEEX-293:
------------------------------
    Description: 
Because it is the English version of the App, so the text font has the use of 
demand, so the project is initialized by the time a number of fonts are loaded, 
and then referenced in the project through the font-family. But in the process 
of using, it is found that every letter and font appear to be loaded 
repeatedly, resulting in an unlimited increase in memory and no release.

 

1,Use dom.addRule add fontface 

2,Add style to text component .

3,An article used in font-family

  was:Because it is the English version of the App, so the text font has the 
use of demand, so the project is initialized by the time a number of fonts are 
loaded, and then referenced in the project through the font-family. But in the 
process of using, it is found that every letter and font appear to be loaded 
repeatedly, resulting in an unlimited increase in memory and no release.


> By adding fonts to Dom.addRule, memory will increase and no memory will be 
> released.
> ------------------------------------------------------------------------------------
>
>                 Key: WEEX-293
>                 URL: https://issues.apache.org/jira/browse/WEEX-293
>             Project: Weex
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 0.18
>         Environment: IOS 
>            Reporter: xiaozhongwei
>            Assignee: xingZhang
>            Priority: Blocker
>         Attachments: [email protected]
>
>
> Because it is the English version of the App, so the text font has the use of 
> demand, so the project is initialized by the time a number of fonts are 
> loaded, and then referenced in the project through the font-family. But in 
> the process of using, it is found that every letter and font appear to be 
> loaded repeatedly, resulting in an unlimited increase in memory and no 
> release.
>  
> 1,Use dom.addRule add fontface 
> 2,Add style to text component .
> 3,An article used in font-family



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to