首页> 外国专利> METHOD FOR IMPROVING RENDERING SPEED OF BROWSER PAGE

METHOD FOR IMPROVING RENDERING SPEED OF BROWSER PAGE

机译:改善浏览器页面渲染速度的方法

摘要

A method for improving rendering speed of a browser page is disclosed. The method includes: setting an initial state of the rendering operation; segmenting, from the beginning of the first character of a character string, the character string based on the character font, and calculating the character width of each segment by using the font library; obtaining the width of the character string by adding up the character width of each segment; displaying the character string based on the obtained width. A device for improving rendering speed of a browser page is also disclosed. The method and device reduce the number of times of calling the font library interface function to calculate the character width, thus reduce the resource overhead caused thereby and improve the efficiency of calculating the character width
机译:公开了一种用于提高浏览器页面的呈现速度的方法。该方法包括:设置渲染操作的初始状态;以及从字符串的第一个字符的开头开始,基于字体对字符串进行分割,并利用字体库计算出各段的字符宽度;通过将各段的字符宽度相加得到字符串的宽度;根据获取的宽度显示字符串。还公开了一种用于提高浏览器页面的渲染速度的设备。本发明减少了调用字体库接口函数计算字符宽度的次数,从而减少了由此引起的资源开销,提高了计算字符宽度的效率。

著录项

  • 公开/公告号EP2637109A4

    专利类型

  • 公开/公告日2014-11-19

    原文格式PDF

  • 申请/专利权人 ZTE CORPORATION;

    申请/专利号EP20110837417

  • 发明设计人 FU SHAOXIAN;

    申请日2011-02-25

  • 分类号G06F17/21;G06F17/30;G06F40/189;

  • 国家 EP

  • 入库时间 2022-08-21 15:06:44

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号