What font does google translate use? - google-translate

What font does google translate use and can you use it in an ebook for kindle?
Google translate

It's Roboto, and yes, you can use it (it's available under Apache License 2.0).
You can find it on Google Fonts as well as the license information.
Finding fonts for yourself
On webpages, it's quite easy to find which font is in use. Just right-click the element you want to know, Inspect Element, and check the cascading stylesheet. You'll probably see a font-family property and that's it.

Related

Web Safe Fonts Alternatives to Montserrat and Lato

A web design company design website for me. However, it largely uses Google font Montserrat and Lato, which lead to totally 40 font files(about 1.4MB) to be loaded when users open my website. And based on GTMatrix, 82% data transfer and 56.1% requests are for font files, which slow down my website greatly.
Therefore, I want to find some web safe fonts to replace Montserrat and Lato, so that:
The replacement fonts should look similar to the original fonts.
The replacement fonts should be available in most of the visitors' systems.
It is better to use a font stack so that there will be fallback fonts if these new fonts are not available on the visitors' systems.
In this way, the browser does not need to load additional fonts when user visit my website.
So, firstly, I try to find fonts similar to Montserrat and Lato, I use the following website:
http://www.identifont.com/
It does bring out 30 fonts similar to Montserrat. I call it set A.
Based in the following references, there are no standard list of web safe fonts:
Web Safe fonts - What exactly does that mean?
https://en.wikipedia.org/wiki/Web_typography#Web-safe_fonts
What I use is a list at https://www.w3schools.com/cssref/css_websafe_fonts.asp, this list seems looks fine. I call it set B.
Now I try to find a font in both set A and B, with Excel. I can find nothing.
So my question is:
Is there a better way to find web safe font alternative to a given font?
Since there are no font appear in both set A and B, I plan to use my eye to check the similar fonts manually, I wonder if there is an easier way to do that?
The list of "web safe" fonts is really small and none look like Montserrat or Lato.
I'd advise you to stick with the fonts your designer picked. You don't have to load all weights (maybe only regular?) and you can host them yourself and use font-display: swap; so the impact on load time is minimized. If that still isn't acceptable you'd have to pick something like Arial or Verdana for a sans-serif that works on both Mac & Windows.
You probably don't need to change the fonts entirely, but you should only be loading the font styles and weights you are using on your website rather than loading all weights and styles. For example, if you are only using 400 and 700 weights in Lato, untick all of the other weights in Google Fonts.
You could also look at font loaders to help with those initial load times, for example: https://github.com/typekit/webfontloader
During development, and until clients have signed off on fonts, I use the external embed links Google Fonts provides. This combined with a SASS variable for the font face declaration in CSS makes it really easy to change fonts project wide if necessary.
As part of the final process for putting a site live once everything has been approved, I will investigate those external embeds and download the actual .woff2 files (plus related CSS) and add them to my own site files. This reduces the site's reliance on external links and makes the whole project more self contained.
I've just checked the project I'm currently working on (which uses three fonts in a variety of weights). All of the font files combined only add up to ~160k - nowhere near your quoted 1.4mb. At this size, and given modern network speeds and browser caching, I see no issue using web fonts.
My advice would be to optimise how your site pulls in the fonts you want to use, rather than looking for system based alternatives. If you are not comfortable doing the optimisation work yourself, I would get back in touch with the developers and ask them to fix the issue.

Cufonfonts vs Typography clouds

I want to use Archer font family on one of my sites. When I try to find the the font I see following two options:
http://www.typography.com/fonts/archer/webfonts/
http://www.cufonfonts.com/en/font/13323/archer-book
Typography has pay per use plan under which I can directly use the font.
On the other hand cufonfonts.com lets me download the webfonts for the Archer font family and I can use them directly on my site using #font-face. It is also free.
So can any one tell me if there is something that I may have missed out with the CufonFonts. Is there any downside to using the CufonFonts or if it is not legal. I have tried to use the CufonFonts and it works fine. So can someone please suggest the right way.
Note: I cannot use any substitute font for the Archer. That is a hard requirement. So either I use the free Cufonfonts or I'll have to purchase the typography plan.
The Cufon Fonts website declares the following in its DMCA page:
“All fonts on cufonfonts.com are uploaded by designers and they certify that they are the legal owner or representative of the font they upload. Unfortunately we do not have the technology and manpower to check the commercial or legal aspect of every font that is uploaded.”
Therefore, they are not the creators of the fonts, and they have no opinion on the legal aspect of the files they provide. It's up to you to figure out what to do with them legally.
Only the copyright owner of a font can tell you how you can legitimately use it, whether on a website, in a printed document or even in a logo. This is usually described in a legal document called EULA (End-User License Agreement), which you will receive from the font creator.
If you want to avoid legal problems, the right way to download a font is to obtain it directly from the font designer or from the font foundry, which may involve paying for them.
Archer, for example, is a commercial font by Hoefler and Co., so if you download it from the Cufon Fonts website and use it directly in your work without paying for it, you are violating the EULA of this font foundry.

Can I use css to change font to rounded font?

This image show you the mean of rounded font
I want the web page only use web safe fonts
but these fonts are not beautiful.
since I want the page as consistent as possible to every user, I cannot use non safe fonts.
so I hope solution can be found in css
You may want to use #font-face rule. It allows loading custom typefaces.
I believe there is no other way to alter rendering of fonts using CSS.
The easiest and quickest (and cheapest) way of getting better looking fonts is through Google fonts http://www.google.com/webfonts/ However because they're free they're not always that great.
Alternatively for more professional fonts you can use a service such as https://typekit.com/ but this will cost you money.

Font detection browser add-on

I am very pleased with the Web Developer Toolbar and Colorzilla add-on. I like how I can use those features to easily detect the HTML structure and colors used in web pages. But in my search for a good CSS font detection tool, I haven't come across anything that works in a similar way. Does anyone know of something out there that I have missed?
I use a tool called WhatFont for this purpose
It shows various information about the font used in each DOM element, such as font family, color, size and even where the #font-face files are served from. It is available in the form of a bookmarklet or a Chrome add-on.

#font-face for all fonts on a website

It seems as though the use of custom fonts on webpages is becoming increasingly common. With services like TypeKit, there is a also an increasing selection of high-quality fonts to work with.
I'm wondering: Has anyone started building sites that use #font-face fonts exclusively? (Can I finally get rid of Verdana / arial and swap in Myriad?) Or is it still too soon?
Thnx,
I just recently built a website for a client that uses custom fonts (I can't show you because it's not public yet). There is really no reason not to, honestly. #font-face degrades gracefully for browsers/devices that don't support it, and there are very few real downsides to it.
However, the problem with #font-face is that you can't just slap any font onto your website. To build on your example, you would not be able to use Myriad Pro with #font-face because its license does not allow it. Fonts have to specifically allow direct linking in their licenses in order for you to be able to use them on your website. So it isn't as simple as picking any font and using it.
There are still some good free fonts out there, though--check out Font Squirrel and the Google Font API. If you'd specifically like to use a commercial font such as Myriad Pro on your website, you can use another tool such as sIFR.

Resources