- This topic has 5 replies, 3 voices, and was last updated 10 years, 2 months ago by
Tom.
-
AuthorPosts
-
October 2, 2014 at 6:03 pm #36350
Tyler da Silva
I’ve installed the Typography addon to my site, and it works very well. The one issue I’ve had is that a certain font, Press Start 2P, won’t render properly. Instead, my site title renders in one of the default sans-serif fonts.
Is this something that can be fixed through Typography, or is this an issue with Google Fonts?
October 20, 2014 at 4:05 pm #40532Tom
Lead DeveloperLead DeveloperHi Tyler,
Sorry, somehow this thread escaped me!
This is a good question – and I’m having the same issue.
I’ll look into it and try to find a solution.
Thanks, and sorry again!
January 8, 2015 at 9:55 pm #63141Tommy Baggett
Any updates on this issue? I’ve run into the same problem with the “Press Start 2P” Google Font as well as some others. I just downloaded/purchased the GP Premium add-on, so I should be running all the latest versions of the theme. Thanks!
January 8, 2015 at 10:00 pm #63142Tommy Baggett
By the way, I forgot to mention that when I looked at my site’s generated content page source in a browser, I see this attempt to load the font:
<link rel='stylesheet' id='generate-fonts-css' href='//fonts.googleapis.com/css?family=Shanti%3Aregular%7CVT323%3Aregular%7CPress+Start+2P%3Aregular&subset=latin%2Clatin-ext&ver=1.2.4' type='text/css' media='all' />
Does this look correct?
January 8, 2015 at 10:09 pm #63143Tommy Baggett
Sorry, I don’t mean to hijack this thread, but I also noticed this in the page source:
h1 {font-family: Press Start 2P; font-weight: normal; text-transform: uppercase; font-size: 40px; }
According to Google’s Quick Use guide, the font-family name should have quotes when spaces occur in the name, like so:
font-family: 'Press Start 2P', cursive;
I used the “Simple Custom CSS” plugin to add the following and I now see the Press Start 2P font being displayed on my site.
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'> h1 {font-family: 'Press Start 2P'; font-weight: normal; text-transform: uppercase; font-size: 40px; }
January 8, 2015 at 11:17 pm #63170Tom
Lead DeveloperLead DeveloperYea this is a weird one – the quotations shouldn’t matter (doesn’t with any of the other fonts), but for some reason, this font doesn’t want to play nice.
Haven’t found this issue with any other font, and haven’t been able to figure out what’s going on.
Do you have GP Hooks? If so, you can include the
<link rel..
in the wp_head section, and then add your CSS with the font in your custom CSS.I’m out of office until tomorrow night, but will take a deeper look at exactly what’s going on with this when I get home.
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.