We all know that fonts can be embedded in web pages now with the #font-face CSS directive. In order to do this, the font to be embedded must be placed in a readable directory on the web server. This means that any suitably motivated individual can download the font and use it on their own machine.
Does this mean that embedding a font counts as redistributing it? If I were to purchase a font, can I embed it and use it in a web page?
EDIT
I'm asking all this because I'm considering embedding Helvetica in a web page.
You can only embed a font using #font-face when web-use is allowed in the font's EULA. Some fonts come with a separate license for use on the web.
If you're worried about people stealing your #font-face files, you could use a service such as Typekit which lets you upload your web fonts and embed them using their service.
I think this is a very difficult question - it depends on the country you live in, I think.
You paid for the font, so you're allowed to use it. I never heard that there was a conflict because of that.
The be 100% sure, I suggest to ask the creator of the font.
Related
When browser needs a web font, where does the web browser look for the font apart from the #font-face rule in which font is uploaded on the website. Does it load from the operating systems font collection?
The term "web font" generally refers to fonts that are designed for the web and loaded via #font-face only, since that is pretty much the only way you can access fonts from the web in your CSS.
Fonts that are installed on the user's device don't count as web fonts because they're installed locally. Web safe fonts are fonts that the author can reasonably assume to be installed on most if not all of the devices that they are targeting, but they're not necessarily the same thing as "web fonts".
In terms of site optimization and speed; is it better to include a font locally or use a css #import? (I'm using google's web-fonts)
You will need to do a test on your own. The simplest way to do so is to use a developer tools console in your browser and to check a network section to see how how long it takes for the files to be loaded. It is possible that your web server may dish out files slower or faster than google.
Additionally, some browsers, like Firefox, by default, may not include font files downloaded from a different domain. To make sure your site renders as expected, I would serve font files from within the domain that the user visits.
I am using #font-face to refer new fonts and it works fine.
My question is: are the font files downloaded to the computer from where my website is being visited or just stored temporarily? They do not get stored in Control Panel -> Fonts.
So is it just browser cache or the computer can get to have to font used in other software like Word etc?
Thanks for your help.
The short answer is no. When they're used in a webpage the browser just stores them temporarily. You would have to install the font separately for the other uses you mentioned.
Working on a client project - reskinning their intranet. The way their security is set up, all external media is denied, including any Google Fonts. The tricky part is they're requiring us to restyle with a Google Font.
Prompting users to install the font themselves is, of course, unacceptable. Is there a way I can download a Google Font file and put it locally on the website?
UPDATE: After a bit of legwork, I found that you can download and use the compressed version of a google font to keep your site relatively optimized. Go to the import URL:
http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic
In the src attribute (the themes.googleusercontent.com URL) download the .woff file it links to, rename it as you please, upload it to your website's media directory, then point to that local file instead of Google's URL.
You can download them from Google and host them on your own server
Use the download button in the upper right corner at Google Fonts to download your collection
See https://developers.google.com/fonts/faq#Download_Fonts
As #Mike already mentioned in a comment, there is localfont.com which helps you download all font variants and generates cross-browser CSS for implementation. What you get from Google Fonts itself is ONLY TTF and therefore will not work on all Browsers. What you can manually download by accessing the Google CSS file actually depends on which Browser you use. localfont.com provides TTF, WOFF, WOFF2, EOT and SVG for all fonts available on Google Fonts.
Here's another issue with HTML-based Adobe Air application I am developing at the moment.
The question is whether I can embed custom font into my application. If it is possible, then, how do I do this?
I have my custom font file in app:/fonts directory, Firefox displays text correctly using this font when I'm viewing the page in it. But when I start AIR application everything is broken - I see only default font.
I've been searching all over the Internet, but found only some outdated links on how to embed font in CSS, though it works only for IE.
Thanks in advance, Mike.
Embedding fonts in this way is not currently supported. Any fonts used must be installed on the user's computer.