GithubHelp home page GithubHelp logo

Rendering Bug about minimal-mistakes HOT 9 CLOSED

mmistakes avatar mmistakes commented on April 28, 2024
Rendering Bug

from minimal-mistakes.

Comments (9)

mmistakes avatar mmistakes commented on April 28, 2024

Hmmm, this is a strange one. I want to say it's related to the webfont not loading, but if that was the case it should fallback to a Georgia, and if that's not present a system serif.

I know Chrome has a bug with webfonts that are used for icons, but I think something else is going on here.

from minimal-mistakes.

mmistakes avatar mmistakes commented on April 28, 2024

Ok I just fired up the demo site for the theme and noticed it, but now it seems to be ok. It seemed like it was a hiccup with GitHub pages maybe because a couple other assets on the page didn't load.

It's also possible the Google AdSense script in the footer is causing a ruckus and delaying the loading of the webfont and other things.

from minimal-mistakes.

juanibiapina avatar juanibiapina commented on April 28, 2024

It happened very frequently for me since I moved to a slow connection, that's why I first suggested the slow internet speed as a possible cause (I'm visting my parents now).

But now I have been able to reproduce running a local server. I also tested a version not hosted on github pages (this guy: http://fabiorehm.com/) and it also fails most times.

from minimal-mistakes.

juanibiapina avatar juanibiapina commented on April 28, 2024

I noticed at http://fabiorehm.com/ that the text renders correctly after hovering over the social icons. Might be related to the resize that happens when you do it.

from minimal-mistakes.

mmistakes avatar mmistakes commented on April 28, 2024

Just for giggles do the fonts render correctly on this page?
https://www.google.com/fonts/specimen/PT+Serif

If they don't then it's a Google issue for sure. If they do then I would try and remove the webfont references in the CSS and see if the text shows up.

You'll want to change to do something like:

body {
  font-family: serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif;
}

If that works then something is conflicting the Google webfont script.

from minimal-mistakes.

juanibiapina avatar juanibiapina commented on April 28, 2024

The fonts render correctly on that page.

I tried the CSS anyway, and it solves the problem. Only the icons don't render, which I think is a different problem.

from minimal-mistakes.

mmistakes avatar mmistakes commented on April 28, 2024

Yeah the icons are definitely a Chrome bug that's been around for a bit.
For whatever reason those icon webfonts don't always show.

I'm out of ideas for text disappearing. I haven't been able to reliably
reproduce it to investigate the issue.

On Thursday, March 13, 2014, Juan Ibiapina [email protected] wrote:

The fonts render correctly on that page.

I tried the CSS anyway, and it solves the problem. Only the icons don't
render, which I think is a different problem.

Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-37598916
.

from minimal-mistakes.

juanibiapina avatar juanibiapina commented on April 28, 2024

I think you might have missed the part where I said it fixed the problem xD.

I don't know what it is, but it is definitely related to the font.

Thanks for you help, at least my blog is all fine again.

from minimal-mistakes.

mmistakes avatar mmistakes commented on April 28, 2024

Well fixed it by not using the font. I don't know if I would call that a
good fix. Hah.

On Thursday, March 13, 2014, Juan Ibiapina [email protected] wrote:

I think you might have missed the part where I said it fixed the problem
xD.

I don't know what it is, but it is definitely related to the font.

Thanks for you help, at least my blog is all fine again.

Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-37599296
.

from minimal-mistakes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.