Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Chinese font subset-based webpage font display method and system

A display method and font technology, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of denial of service, affecting operation efficiency, and excessive calculation of subset servers, reducing the amount of calculation, The effect of improving user experience

Active Publication Date: 2018-02-16
北京有字库网络科技有限公司
View PDF14 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, the method of displaying fonts based on webfont technology, in a conventional way, every time the page is opened, js will request the subsetting server, and the subsetting server does not need to generate a corresponding subtitle for the page every time. Set font files, if the page views of the user are large, all page views will be concentrated on the subset server, which will put pressure on the subset server, and the excessive calculation of the subset server will cause slow response or rejection service, if the subsetting server responds slowly or refuses to serve, the user's webpage will be affected and the user experience will be reduced
[0005] Therefore, the defect in the prior art is: the font display of the existing webpage, every time the page is opened, js will request the subsetting server, if the page views of the user are large, the calculation amount of the subsetting server will be too large, which will affect the overall Operating efficiency, reducing user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Chinese font subset-based webpage font display method and system
  • Chinese font subset-based webpage font display method and system
  • Chinese font subset-based webpage font display method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] First, explain the principle of webfont technology:

[0058] The principle of webfont is to treat the entire font file as a web page material, like a picture, through the CSS statement, that is, the @font-face statement, which is introduced into the webpage, and the browser has a unified protocol that can recognize the CSS statement of the webfont. The font pointed to by the @font-face statement will be loaded into the browsing client cache, and then the font will be displayed on the current web page, as if the font has been installed on the current system.

[0059] Among them, CSS is the abbreviation of English Cascading Style Sheets. It is a computer language used to represent document styles such as HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standardized Generalized Markup Language).

[0060] Among them, @font-face can load font files on the server side, allowing the client to display fonts that are not installed on the client ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a Chinese font subset-based webpage font display method and system. According to the method, a user webpage is browsed, a js plug-in preset in the webpage runs, when text contents of the currently browsed webpage do not start to be loaded, the js plug-in obtains a network address of the currently browsed webpage, and calculation is performed based on the network address to obtain a file name of @font-face corresponding to the currently browsed webpage; and according to the file name of the @font-face, a @font-face file corresponding to the currently browsed webpage is obtained from a file storage space, if the @font-face file is obtained successfully, the @font-face file is dynamically cited to the currently browsed webpage, and a font effect generated by a @font-face statement in the @font-face file is applied. Font subsets corresponding to the webpage are stored in the file storage space in advance, so that when browsing the webpage again, a user calls a font in the font subsets directly from the file storage space and loads the font to the webpage for display; and therefore, the calculation amount of a subset server is reduced and the user experience is improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to the field of a webpage font display method and system based on Chinese font subsets. Background technique [0002] Generally, the text information transmitted on the Internet is only the unicode encoding of the text (unicode, universal code, and single code, which is a character encoding used on computers. It is produced in order to solve the limitations of traditional character encoding schemes. It is for Each character in each language has a unified and unique binary code to meet the requirements of cross-language and cross-platform text conversion and processing. It was developed in 1990 and officially announced in 1994), and does not carry font information. The effect displayed on the client side depends on the fonts installed on the client system. For example, if the transmitted text does not have a specified font, the client system will use the default font for display (for exampl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F9/451
CPCG06F16/9574
Inventor 齐凡
Owner 北京有字库网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products