The 168 kB figure shown at the moment is for all 1,200+ glyphs as a single web font download-and most are not needed for a single website. "Subsetting" optimises the font files by only sending characters for certain languages, the fonts are around 44 kB eachs. "Latin" is the script that English and many other European and African languages are written in. įor example, if you were creating the Russian/English hybrid website and wanted to use the font as the default for all text, you could add the following code between your tags: in your HTML page or templates and add the appropriate CSS code in between. If the default is incorrect, select the language/script combination you need: a Russian website with English examples might use "Cyrillic,Latin".Īdd the given tag between. Tick the combination of weights and styles out of Regular, Italic, Bold and Bold-Italic that you need for your web page. Open the Google Font Directory: " Ubuntu - Use this font" page You can read the Google Web Font posting about the news, and then: Since 21 December 2010 the Ubuntu Font Family is now included and deployable from the Google Font API, visit: Using the font API means visitors will always see the latest version of the typeface automatically. Using the Google Font API is an excellent suggestion as it allows webfonts to automatically work on all modern browsers without having to worry about the details. ![]() Why is using the Google Font API the preferred method? ![]() Most of the content of this part of the answer comes from sladen's answer. This will make the process a lot simpler. You can now use the Ubuntu font as a Google web font. There are 2 methods with which you can embed the Ubuntu font in your website - using the Google Font Directory (preferred) or using the CSS declaration and converting your fonts manually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |