?
Solved

Some special chars doesn't appear using Google Fonts

Posted on 2014-01-15
6
Medium Priority
?
572 Views
Last Modified: 2014-01-15
Hi.

The blog http://glutoniana.com is using some spanish characters (for example on a post title  "Año nuevo..." where is the "ñ" char.

A friend of mine test web on its Android tabled and the "ñ" char doesn't appear (it appear a white space on its place).

This blog is using Wordpress and the template uses some Google Fonts ( 'TitilliumText22LRegular' is the font used on these titles).

How can I make the ñ character appear on all devices?

Thank you
0
Comment
Question by:gplana
  • 3
  • 3
6 Comments
 
LVL 45

Expert Comment

by:Chris Stanyon
ID: 39782152
Not all fonts contain all characters!

When you use Google fonts, and click on the 'Use' button, you have the option of which character sets to include (Latin, Latin Extended, Cyrillic etc.)

If the font doesn't include all possible characters, then there's nothing you can do about it.
0
 
LVL 15

Author Comment

by:gplana
ID: 39782200
The character is shown well on my computer (on all browsers). Isn't it strange?

I will try what you said. Where should I configure? On the css file?
Can you give me an example? I'm a newbie on Google Fonts (the template was already made).

Thank you.
0
 
LVL 45

Expert Comment

by:Chris Stanyon
ID: 39782316
OK. Just looked at your site and you're not using Google Fonts - you are using a @font-face declaration in your CSS file (bottom of the styles.css file) to read the various formats of the font (ttf, eof, svg etc.)

I've looked at your site on Android and it's seems to be working OK for me.

The font you've used isn't particularly well designed (look closely at your site and you'll see the Spanish characters are actually a different font to the rest of the text).

It may simply be that the browser your friend is using doesn't support these additional characters from this particular font.

One thing I would do is change the way you declare your character set in the head of your page. At the moment you have this:

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

Change it to this:

<meta charset="UTF-8">

Not sure what else you can try other than looking for a better quality font.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 15

Author Comment

by:gplana
ID: 39783045
Thank you, I added the <meta charset="UTF-8" />

How can I look for a better quality font? What should I change when I found it to apply this new font instead of the old one?

Sorry, I'm a newbie about font types.

Thank you.
0
 
LVL 45

Accepted Solution

by:
Chris Stanyon earned 2000 total points
ID: 39783336
The problem with using the font-face declaration in your CSS is that you need the same font in 4 different formats to make sure it works in all browsers - ttf, svg, eot, and woff. The better quality fonts are usually the ones you pay for from a font library and they're not necessarily cheap.

There are tools available online to convert a ttf font into the other formats (fontsquirrel.com etc) but you have to be aware of copyright issues - you can't just convert any font. Font Squirrel have a lot of fonts available so you may find a good quality freebie there.

Managing fonts across all browser and platforms can be a little tricky if you're not careful so if you're new to using fonts, I would suggest that you start out by just using a standard web-safe font-stack in your CSS until you know things are working properly. For your headings, something like this would work:

font-family: Verdana, Geneva, sans-serif;

Forget about Google fonts, and font-face declarations for the time being. Make sure your site works the way you want it to (showing all characters across all browsers), and then think about adding fancy fonts, either by using Google Fonts (you simply add a link to the Google Fonts in the head of your document and then reference them in your CSS file), or grabbing a high-quality font set and fully testing it. As I said right at the start of this thread - not all fonts contain all characters - particularly the non-latin ones
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 39783509
Great. Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question