Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

How to add a new font to your HMML pages using the Google Fonts service?

When designing a Web page, it is crucial that the fonts we choose actually show up for the viewer. 

In order to do that we have to ensure the right font is being downloaded to the viewer's browser.


How can I find and download fonts?

Usually, you would find and download the font you like from the Internet, then post it on your Web server and reference it on the given page.

In the case of the Blogger, I do not know how to do that, but I use a handy service provided by Google Fonts that will hos the fonts for me.








How do I implement a font into my page?

Here are the simple steps (refer to the images)

  1. Open Google Fonts and find the one you like, in my case Garamond.
  2. Select a couple of variants in my case:
    - regular 400 weight
    - regular 400 weight, italic
    - bold 700
  3. On the RIGHT panel, a <link> is created, copy it.
  4. Pase the <link> into your HTML template HEAD section.
  5. Please note the proper usage for the CSS rules:
    font-family: 'EB Garamond', serif;
  6. Update your body HTML tag with the 









Opening Blogger Theme > Edit HTML




Example of the LINK tags


<!-- START: Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400&#38;display=swap" rel="stylesheet" />
<!-- END: Uki's changes -->


</head>

NOTE: My code differs from that provided by Google Fonts in order to FIX a couple of the parser problems:

  • Attribute name "crossorigin" associated with an element type "link" must be followed by the ' = ' character.
  • The reference to entity "display" must end with the ';' delimiter.


How to set up the body CSS rules


body {

  font-style: normal;

font-weight: normal;

font-family: 'EB Garamond', serif; // from "Google Fonts" service

font-size: 1.2rem; // 120% of browser setting, because bigger is better

  color: #6f6f6f;

  background: $(body.background); // mountains

}


Design Tips

  • Do not use more than a couple of fonts on the page,
    in my case, I use Garamond for writing and MONO for CODE samples.
  • Identify your page's font in the body CSS and nowhere else,
    other tags can change the weight (normal, bold) and size 1.6rem

Share it

If you liked this post, please share it with the following accreditation:

Uki D. Lucas. 2022. http://uki.blogspot.com/2022/07/fonts.html

References



As an Amazon Associate I earn from qualifying purchases.

Why developers should use Google Nexus / Pixel devices

It is January 2018. I sitting in front of two 2017 FLAGSHIP phones from Huawei and Samsung and the sample code app that I am trying will not run on neither of them (Android 7, API 24), but it does run on the Google Pixel C tablet that is 3 years old and discontinued but has been already updated to Android 8, API 26.

This really teaches me a lesson, get Pixel phone as a next phone.






As an Amazon Associate I earn from qualifying purchases.

Why developers should use Google Nexus / Pixel devices

It is January 2018. I sitting in front of two 2017 FLAGSHIP phones from Huawei and Samsung and the sample code app that I am trying will not run on neither of them (Android 7, API 24), but it does run on the Google Pixel C tablet that is 3 years old and discontinued but has been already updated to Android 8, API 26.

This really teaches me a lesson, get Pixel phone as a next phone.






As an Amazon Associate I earn from qualifying purchases.

Default Google Account

I have a couple of Google accounts:
- my name @google.com
- my company email which is also done via Google

To change DEFAULT google account I had to sign OUT from all and sign in FIRST with the one I want as default.

For some Google entities I had to do it in reverse as my new email did not work with them.


As an Amazon Associate I earn from qualifying purchases.

Default Google Account

I have a couple of Google accounts:
- my name @google.com
- my company email which is also done via Google

To change DEFAULT google account I had to sign OUT from all and sign in FIRST with the one I want as default.

For some Google entities I had to do it in reverse as my new email did not work with them.


As an Amazon Associate I earn from qualifying purchases.

Getting Google YouTube API key

You should follow steps in here:
https://developers.google.com/youtube/android/player/register

with small exception since the command returns error:

$ keytool -list -v my-release-key.keystore
keytool error: java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
    at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
    at sun.security.tools.KeyTool.run(KeyTool.java:171)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)

instead use the following:

$ keytool -list -v -keystore "my-release-key.keystore"
Enter keystore password:  


  • Make sure you use option -v to get both SHA1 and MP5
  • Make sure you quote the file path to your keystore file.




As an Amazon Associate I earn from qualifying purchases.

Getting Google YouTube API key

You should follow steps in here:
https://developers.google.com/youtube/android/player/register

with small exception since the command returns error:

$ keytool -list -v my-release-key.keystore
keytool error: java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
    at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
    at sun.security.tools.KeyTool.run(KeyTool.java:171)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)

instead use the following:

$ keytool -list -v -keystore "my-release-key.keystore"
Enter keystore password:  


  • Make sure you use option -v to get both SHA1 and MP5
  • Make sure you quote the file path to your keystore file.




As an Amazon Associate I earn from qualifying purchases.

Google Contacts: "There was an error loading the contact"

I have been getting this error in Google Gmail Contacts:


"There was an error loading the contact"







I became very frustrated as it became impossible for me to manage my 2500+ contact list. After some research on Internet I found a relatively simple solution.


In Chrome browser 


1) select "Clear Browsing Data..."



2) and select "Empty the cache" from "the beginning of time"


Unfortunately, this did not fix the error entirely and I still get it. I hope Google fixes this problem soon. In the meanwhile I exported my contacts and imported them into Apple "Address Book" for management and safekeeping. Any suggestions?



As an Amazon Associate I earn from qualifying purchases.

Google Contacts: "There was an error loading the contact"

I have been getting this error in Google Gmail Contacts:


"There was an error loading the contact"







I became very frustrated as it became impossible for me to manage my 2500+ contact list. After some research on Internet I found a relatively simple solution.


In Chrome browser 


1) select "Clear Browsing Data..."



2) and select "Empty the cache" from "the beginning of time"


Unfortunately, this did not fix the error entirely and I still get it. I hope Google fixes this problem soon. In the meanwhile I exported my contacts and imported them into Apple "Address Book" for management and safekeeping. Any suggestions?



As an Amazon Associate I earn from qualifying purchases.

Android Iris is the answer to..

.. nothing, absolutely nothing. I have read the article "Android Iris: Google's Answer to Apple Siri!" and gave Iris a try.

Me: "Harley Davidson"
Iris writes: "Harley Davidson"
Iris thinks and answers: "What color are my eyes?"


I have been using voice recognition successfully in the past, most of the time to set up my task reminders while driving and I can see some value in doing so.

Very often the text was right on if I used common words but good luck asking e.g. "What is XL1200S?" Which being a model of Harley-Davidson produced, um, forever, I would expect to recognize it.

In the past, I have used COPY, PASTE, CUT, SAVE, UNDO, BUILD voice recognized commands while coding and that works well if YOU ARE ALONE in the room. It can really save you a lot of wrist strain if you do a lot of it, since these particular commands require 2 finger key presses.    

I don't see myself using voice commands around humans until the computer can really pick up MY OWN voice out of regular conversation e.g. "Iris, what is my 3PM looking like?"

For all of you ladies named Iris out there, well I would not be afraid you what to change your names.. yet.


As an Amazon Associate I earn from qualifying purchases.

Google Documents - please show this to your boss!

We have been using Google docs and Google sites for collaboration for couple of years now, but there are still people who have not heard about the concept. Here is a video to help.



As an Amazon Associate I earn from qualifying purchases.

Google Documents - please show this to your boss!

We have been using Google docs and Google sites for collaboration for couple of years now, but there are still people who have not heard about the concept. Here is a video to help.



As an Amazon Associate I earn from qualifying purchases.

"Google Buzz", social networking

Google, which has faltered in its attempts to break into the booming social networking business, is making another bid to counter the growing influence of Silicon Valley rival Facebook and San Francisco upstart Twitter with new products that make it easier to share with friends on its Internet e-mail service Gmail.

The Internet giant held a press conference at its Mountain View, Calif., headquarters Tuesday to show off "Buzz," which incorporates social media tools such as photo and video sharing and status updates in Gmail. Google Buzz, which launches Tuesday, will also be accessible on mobile phones. And Google will eventually also debut a version of Buzz for businesses.

Google co-founder Sergey Brin, vice president of product management Bradley Horowitz, vice president of engineering Vic Gundotra, and product manager Todd Jackson were on hand to show it off. The tagline for Google Buzz is "a Google approach to sharing."

Buzz is perhaps Google's boldest effort yet to get social. The new service has five features, Jackson said. You will automatically follow the people you e-mail and chat with on a regular basis. You will be able to share content from around the Web, including YouTube videos, Flickr photos, site links and others. You will be able to share your thoughts in a public way and in a private way. You will get social updates in your inbox. And Google will help you find only the stuff that matters by recommending popular content. The mobile version of Buzz can figure out where you are and show you nearby buzz posts.

"Google has long said their goal is to organize the world's information. With the introduction of Buzz, you can see the company recognizes how social has become a 'Google scale' problem that needs improved discovery and real relevancy," said technology blogger Louis Gray. "People are sharing their content in a wide variety of social sites online, and Buzz is the first product from Google that looks to harness this data in one place and provide a platform for discussion."

Last month, Google introduced a new feature that displays search results related to their friends and other members of their social networks. Google has been trying for years to gain a foothold in social networking as its smaller, more nimble competitors steal some of its thunder. Orkut, its social networking service, gained a mass following in Brazil and nowhere else. Attempts to buy its way into the arena also failed, when Google acquiring -- then ultimately scrapped -- the services offered by Twitter competitor Jaiku and Foursquare forebearer Dodgeball.

Analysts remain skeptical that this effort will catapult Google into the social stratosphere. Meanwhile, Facebook has exploded in popularity. It has become such a central part of many people's lives that it's replacing e-mail. That's exactly what Facebook founder Mark Zuckerberg is looking to do: turn his site into the starting point and focal point of the Internet experience. Facebook's strategy of connecting the world's people, versus Google's strategy of organizing the world's information, seems to be resonating. So now Google says it's going to organize the world's social information.

The Silicon Valley showdown is heating up. Google is still the Web's No. 1 most-visited site, with 173 million U.S. visitors in December, according to ComScore Media Metrix. But Facebook is gaining. Facebook was the fourth-most visited site in December, with 111.8 million visitors.

-- Jessica Guynn

read more: 

http://latimesblogs.latimes.com/technology/2010/02/google-facebook-social-networking.html


As an Amazon Associate I earn from qualifying purchases.

"Google Buzz", social networking

Google, which has faltered in its attempts to break into the booming social networking business, is making another bid to counter the growing influence of Silicon Valley rival Facebook and San Francisco upstart Twitter with new products that make it easier to share with friends on its Internet e-mail service Gmail.

The Internet giant held a press conference at its Mountain View, Calif., headquarters Tuesday to show off "Buzz," which incorporates social media tools such as photo and video sharing and status updates in Gmail. Google Buzz, which launches Tuesday, will also be accessible on mobile phones. And Google will eventually also debut a version of Buzz for businesses.

Google co-founder Sergey Brin, vice president of product management Bradley Horowitz, vice president of engineering Vic Gundotra, and product manager Todd Jackson were on hand to show it off. The tagline for Google Buzz is "a Google approach to sharing."

Buzz is perhaps Google's boldest effort yet to get social. The new service has five features, Jackson said. You will automatically follow the people you e-mail and chat with on a regular basis. You will be able to share content from around the Web, including YouTube videos, Flickr photos, site links and others. You will be able to share your thoughts in a public way and in a private way. You will get social updates in your inbox. And Google will help you find only the stuff that matters by recommending popular content. The mobile version of Buzz can figure out where you are and show you nearby buzz posts.

"Google has long said their goal is to organize the world's information. With the introduction of Buzz, you can see the company recognizes how social has become a 'Google scale' problem that needs improved discovery and real relevancy," said technology blogger Louis Gray. "People are sharing their content in a wide variety of social sites online, and Buzz is the first product from Google that looks to harness this data in one place and provide a platform for discussion."

Last month, Google introduced a new feature that displays search results related to their friends and other members of their social networks. Google has been trying for years to gain a foothold in social networking as its smaller, more nimble competitors steal some of its thunder. Orkut, its social networking service, gained a mass following in Brazil and nowhere else. Attempts to buy its way into the arena also failed, when Google acquiring -- then ultimately scrapped -- the services offered by Twitter competitor Jaiku and Foursquare forebearer Dodgeball.

Analysts remain skeptical that this effort will catapult Google into the social stratosphere. Meanwhile, Facebook has exploded in popularity. It has become such a central part of many people's lives that it's replacing e-mail. That's exactly what Facebook founder Mark Zuckerberg is looking to do: turn his site into the starting point and focal point of the Internet experience. Facebook's strategy of connecting the world's people, versus Google's strategy of organizing the world's information, seems to be resonating. So now Google says it's going to organize the world's social information.

The Silicon Valley showdown is heating up. Google is still the Web's No. 1 most-visited site, with 173 million U.S. visitors in December, according to ComScore Media Metrix. But Facebook is gaining. Facebook was the fourth-most visited site in December, with 111.8 million visitors.

-- Jessica Guynn

read more: 

http://latimesblogs.latimes.com/technology/2010/02/google-facebook-social-networking.html


As an Amazon Associate I earn from qualifying purchases.

The Meaning of Open

Here is a great blog post written by Jonathan Rosenberg, Senior Vice President, Product Management at Google on what it means to be "open" and how Google is actively seeking that goal. I would love to hear people's comments.

http://googleblog.blogspot.com/2009/12/meaning-of-open.html


As an Amazon Associate I earn from qualifying purchases.

The Meaning of Open

Here is a great blog post written by Jonathan Rosenberg, Senior Vice President, Product Management at Google on what it means to be "open" and how Google is actively seeking that goal. I would love to hear people's comments.

http://googleblog.blogspot.com/2009/12/meaning-of-open.html


As an Amazon Associate I earn from qualifying purchases.

Google's new programing language =GO

Please take a look at the comments section...



As an Amazon Associate I earn from qualifying purchases.

Google's new programing language =GO

Please take a look at the comments section...



As an Amazon Associate I earn from qualifying purchases.

apt quotation..