Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering Bug #34

Closed
juanibiapina opened this issue Mar 13, 2014 · 9 comments
Closed

Rendering Bug #34

juanibiapina opened this issue Mar 13, 2014 · 9 comments

Comments

@juanibiapina
Copy link

I don't know if this is at all related to the theme. But this is how it sometimes renders for me on a slow connection:

screen shot 2014-03-13 at 3 23 57 pm

I noticed it only happens in chrome and on slow connections, so it might be a chrome bug instead? Some sort of race condition?

It always renders correctly if I resize the window.

@mmistakes
Copy link
Owner

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.

@mmistakes
Copy link
Owner

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.

@juanibiapina
Copy link
Author

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.

@juanibiapina
Copy link
Author

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.

@mmistakes
Copy link
Owner

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.

@juanibiapina
Copy link
Author

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.

@mmistakes
Copy link
Owner

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 notifications@github.com 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
.

@juanibiapina
Copy link
Author

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.

@mmistakes
Copy link
Owner

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 notifications@github.com 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
.

@mmistakes mmistakes added the bug label Mar 14, 2014
mlyle pushed a commit to mlyle/minimal-mistakes that referenced this issue Apr 17, 2017
By setting URL
Also cleaned up a small mistake (not using .min version of angular-sanitize)
sungmi67 added a commit to sungmi67/sungmi67.github.io that referenced this issue Jan 3, 2020
ElectricRCAircraftGuy added a commit to ElectricRCAircraftGuy/minimal-mistakes that referenced this issue Dec 31, 2020
...using the Sublime Text editor
[MarkdownTOC](https://github.com/naokazuterada/MarkdownTOC) tool!

Here are my user settings for it:

```json
{
  "defaults": {
    "autoanchor": true,
    "autolink": true,
    "bracket": "round",
    "levels": [1,2,3,4,5,6],
    "indent": "\t",
    "remove_image": true,
    "link_prefix": "",
    "bullets": ["-"],
    "lowercase": "only_ascii",
    "style": "ordered",
    "uri_encoding": true,
    "markdown_preview": ""
  },
  "id_replacements": [
    {
      "pattern": "\\s+",
      "replacement": "-"
    },
    {
      "pattern": "&lt;|&gt;|&amp;|&apos;|&quot;|&mmistakes#60;|&mmistakes#62;|&mmistakes#38;|&mmistakes#39;|&mmistakes#34;|!|#|$|&|'|\\(|\\)|\\*|\\+|,|/|:|;|=|\\?|@|\\[|\\]|`|\"|\\.|\\\\|<|>|{|}|™|®|©|%",
      "replacement": ""
    }
  ],
  "logging": false
}
```
Florianvdab pushed a commit to Florianvdab/florianvdab.github.io that referenced this issue Apr 5, 2021
Florianvdab pushed a commit to Florianvdab/florianvdab.github.io that referenced this issue Apr 5, 2021
nweat pushed a commit to nweat/nweat-old-portfolio that referenced this issue Feb 1, 2023
…/babel/eslint-parser-7.17.0

chore(deps-dev): bump @babel/eslint-parser from 7.16.5 to 7.17.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants