Google released a new service Font API yesterday at the Google I/O conference . This is a cool thing that allows us to use web fonts very conveniently. Moreover, these fonts are free and you don’t need to worry about copyright. question.
The Google Font API is also very convenient 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 looks the same as a normal web-font definition, except that the url resource uses the fonts in the Google Font API library.
Compared with other web font services, Font API has the following advantages (similar to Ajax API):
To learn more, check out this quick guide .
In fact, we have briefly discussed web fonts before. Interested students can read the following two articles:
Chinese web fonts
The benefits of using web fonts are self-evident. It allows us to more easily achieve richer page effects. Foreign technical personnel have been working hard to make web-font a reality. From sIFR to typeface to typeselect, as well as cufon and fontue, different attempts and solutions are constantly emerging, and major browsers have begun to support @ The web-font attribute, and paid and free web fonts like typekit are also beginning to appear. This gives us hope.
But looking back at China, we can only look back and sigh, as there has been no progress in the online application of Chinese characters.
In fact, the reason is very simple. There are many bottlenecks that are difficult to overcome in the implementation of Chinese web fonts:
The thinking of domestic commercial font manufacturers is still stuck in graphic and printing. They have not paid attention to or discovered the Internet market. So over the years, except for the open source Wenquanyi, we have not seen much font innovation, let alone See any efforts made by major font manufacturers towards web fonts.
hope
Well, I don’t see any way to promote the web application of Chinese fonts other than hope…
A large part of the extensive and profound Chinese culture is reflected in Chinese characters. However, today when the Internet has an increasingly profound impact on social life, the application of Chinese characters on the Internet is still so difficult and pale.
Google is respected not only because it innovates, but also because it popularizes innovation.
I hope that domestic font manufacturers and browser manufacturers can really make some efforts and innovations for the online application of Chinese fonts, and not rest on their laurels and stick to outdated business models.
However, maybe they can't do anything, maybe we can only wait - wait for the Internet speed to reach more than 100MB, wait for advanced technology to appear abroad, wait... - by then, maybe font manufacturers will become strong defenders...
Original text: http://www.qianduan.net/google-font-api-web-font-and-chinese.html