Core tips: Calling network font resources in CSS Google font API
Google published a few days ago at the Google I/O conference on a new service font API, this is a cool thing, can make it easy to use web fonts, and these fonts are free, you do not have to worry about copyright issues.
The Google Font API is also very handy to use, as can be seen from the following example:
@font-face {font-family: ' tangerine '; font-style:normal; font-weight:normal; src:local (' tangerine '), url (' http:// Themes.googleusercontent.com/font?kit=_jmq7r9ahcbzzjpp8hftna ') format (' TrueType ');}
Well, it doesn't look like a normal web-font definition, except that the URL resource uses the fonts in the Google Font API library.
In contrast to other network font services, the Font API has the following advantages (similar to AJAX APIs):
Save your own flow, fast and steady.
For more information, you can view this quick guide.
—————————— – Split Line —————————— –
Chinese network fonts
The advantages of using network fonts are self-evident, and it makes it easier for us to achieve richer page effects. Foreign technical personnel, has been constantly in order to make web-font into reality and efforts, from sIFR to typeface to TypeSelect, as well as Cufon and Fontue, different attempts and solutions are constantly emerging, Major browsers are beginning to support @web-font properties, while fees such as Typekit and free online fonts are starting to appear. This gives us a lot of hope for this.
But at home, we can only exclaiming, the Chinese character network application has not progressed.
In fact, the truth is very simple, the implementation of Chinese network fonts have many difficult to cross the bottleneck:
The font is too large, in the current domestic network bandwidth environment, the use of Chinese network fonts is not realistic; copyright issues, the vast majority of excellent Chinese fonts, are not free of charge, the business model is obsolete, not with the times.
Domestic commercial font manufacturer's thinking or stay in the plane and printing, they did not pay attention to or find the network of the market, so many years, in addition to open source Wen, we did not see too much font innovation, but also did not see the major font manufacturers have to the network font of any effort.
Hope
Well, in addition to hope, I have no way to promote the network application of Chinese characters ...
The profound Chinese culture, a large part is embodied in the Chinese characters, and in the Internet to social life more and more profound today, the application of Chinese characters on the network is still so difficult and pale.
Google is respectable not just because it is innovative, but because it is also a popular innovation.
Hope that the domestic font manufacturers and browser manufacturers, can really for the Chinese font of the network application to make some efforts and innovation, do not stand on its laurels, adhere to the outdated business model.
However, perhaps they can do nothing, maybe we only wait-wait for the internet to spread to more than 100MB, waiting for foreign advanced technology, waiting ...-then, perhaps the font manufacturers will become a strong defender ....