X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

Google web fonts not rendered

Được đăng

Pages with web fonts, like http://google.com/fonts, are not rendered correctly. All text that should be web fonts is shown with the default font. This is Firefox 20.0 on Ubuntu 13.04 with Gnome 3.8. - Starting in safe mode does not help. - neither does starting with a new blank profile. - There are no error messages in the Error Console. - Javascript is enabled. - not allowing hardware acceleration does not help. - the "Allow sites to use their own fonts" option is checked. - I am not behind a proxy.

What else is there to check?

Pages with web fonts, like http://google.com/fonts, are not rendered correctly. All text that should be web fonts is shown with the default font. This is Firefox 20.0 on Ubuntu 13.04 with Gnome 3.8. - Starting in safe mode does not help. - neither does starting with a new blank profile. - There are no error messages in the Error Console. - Javascript is enabled. - not allowing hardware acceleration does not help. - the "Allow sites to use their own fonts" option is checked. - I am not behind a proxy. What else is there to check?

Giải pháp được chọn

Problem has gone away in Firefox 21.0.

Đọc câu trả lời này trong ngữ cảnh 0

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • Shockwave Flash 11.2 r202

Ứng dụng

  • Firefox 20.0
  • Chuỗi đại diện người dùng: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0
  • URL hỗ trợ: http://support.mozilla.org/1/firefox/20.0/Linux/nl/

Tiện ích mở rộng

  • Adblock Plus 2.2.3 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Evernote Web Clipper 5.6 ({E0B8C461-F8FB-49b4-8373-FE32E9252800})
  • Flashblock 1.5.17 ({3d7eb24f-2740-49df-8937-200b1cc08f8a})
  • Live HTTP headers 0.17 ({8f8fe09b-0bd3-4470-bc1b-8cad42b8203a})
  • MeasureIt 0.4.10 ({75CEEE46-9B64-46f8-94BF-54012DE155F0})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Ubuntu Online Accounts 0.4.5 (online-accounts@lists.launchpad.net)
  • Vacuum Places Improved 1.2 (VacuumPlacesImproved@lultimouomo-gmail.com)
  • Add-on Compatibility Reporter 2.0.1 (compatibility@addons.mozilla.org) (không hoạt động)
  • Firebug 1.11.2 (firebug@software.joehewitt.com) (không hoạt động)
  • Ubuntu Firefox Modifications 2.6 (ubufox@ubuntu.com) (không hoạt động)
  • Unity integration for Firefox 0.2.4 (unityfox@mozilla.org) (không hoạt động)

Javascript

  • incrementalGCEnabled: True

Đồ họa

  • adapterDescription: X.Org -- Gallium 0.4 on AMD RV620
  • adapterDeviceID: Gallium 0.4 on AMD RV620
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: X.Org
  • driverDate:
  • driverVersion: 3.0 Mesa 9.1.1
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'none'}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 2
  • webglRenderer: X.Org -- Gallium 0.4 on AMD RV620
  • windowLayerManagerType: Basic

Thay đổi cài đặt

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 1048576
  • browser.cache.disk.smart_size.enabled: False
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 1048576
  • browser.places.smartBookmarksVersion: 4
  • browser.privatebrowsing.dont_prompt_on_enter: True
  • browser.search.suggest.enabled: False
  • browser.search.useDBForOrder: True
  • browser.startup.homepage: about:blank
  • browser.startup.homepage_override.buildID: 20130417085616
  • browser.startup.homepage_override.mstone: 20.0
  • browser.tabs.warnOnClose: False
  • browser.urlbar.default.behavior: 1
  • dom.max_chrome_script_run_time: 0
  • dom.max_script_run_time: 0
  • dom.mozApps.used: True
  • dom.w3c_touch_events.expose: False
  • extensions.checkCompatibility: False
  • extensions.checkCompatibility.10.0: False
  • extensions.checkCompatibility.10.0a: False
  • extensions.checkCompatibility.11.0a: False
  • extensions.checkCompatibility.12.0: False
  • extensions.checkCompatibility.12.0a: False
  • extensions.checkCompatibility.3.6: False
  • extensions.checkCompatibility.3.6.previous: False
  • extensions.checkCompatibility.3.6b: False
  • extensions.checkCompatibility.3.6b.previous: False
  • extensions.checkCompatibility.3.6p: False
  • extensions.checkCompatibility.3.6p.previous: False
  • extensions.checkCompatibility.3.6pre: False
  • extensions.checkCompatibility.3.6pre.previous: False
  • extensions.checkCompatibility.3.7a: False
  • extensions.checkCompatibility.3.7a.previous: False
  • extensions.checkCompatibility.4.0: False
  • extensions.checkCompatibility.4.0.previous: False
  • extensions.checkCompatibility.4.0b: False
  • extensions.checkCompatibility.4.0b.previous: False
  • extensions.checkCompatibility.4.0p: False
  • extensions.checkCompatibility.4.0p.previous: False
  • extensions.checkCompatibility.4.0pre: False
  • extensions.checkCompatibility.4.0pre.previous: False
  • extensions.checkCompatibility.4.2: False
  • extensions.checkCompatibility.4.2.previous: False
  • extensions.checkCompatibility.4.2a: False
  • extensions.checkCompatibility.4.2a.previous: False
  • extensions.checkCompatibility.4.2b: False
  • extensions.checkCompatibility.4.2b.previous: False
  • extensions.checkCompatibility.4.2p: False
  • extensions.checkCompatibility.4.2p.previous: False
  • extensions.checkCompatibility.4.2pre: False
  • extensions.checkCompatibility.4.2pre.previous: False
  • extensions.checkCompatibility.5.0: False
  • extensions.checkCompatibility.5.0.previous: False
  • extensions.checkCompatibility.5.0a: False
  • extensions.checkCompatibility.5.0a.previous: False
  • extensions.checkCompatibility.5.0b: False
  • extensions.checkCompatibility.5.0b.previous: False
  • extensions.checkCompatibility.5.0p: False
  • extensions.checkCompatibility.5.0p.previous: False
  • extensions.checkCompatibility.5.0pre: False
  • extensions.checkCompatibility.5.0pre.previous: False
  • extensions.checkCompatibility.6.0: False
  • extensions.checkCompatibility.6.0.previous: False
  • extensions.checkCompatibility.6.0a: False
  • extensions.checkCompatibility.6.0a.previous: False
  • extensions.checkCompatibility.7.0: False
  • extensions.checkCompatibility.7.0.previous: False
  • extensions.checkCompatibility.7.0a: False
  • extensions.checkCompatibility.7.0a.previous: False
  • extensions.checkCompatibility.8.0: False
  • extensions.checkCompatibility.8.0.previous: False
  • extensions.checkCompatibility.8.0a: False
  • extensions.checkCompatibility.8.0a.previous: False
  • extensions.checkCompatibility.9.0: False
  • extensions.checkCompatibility.9.0a: False
  • extensions.checkCompatibility.nightly: False
  • extensions.checkCompatibility.nightly.previous: False
  • extensions.checkCompatibility.previous: False
  • extensions.lastAppVersion: 20.0
  • font.default.x-western: sans-serif
  • font.name.monospace.x-western: Droid Sans Mono
  • font.name.sans-serif.x-western: Droid Sans
  • font.name.serif.x-western: Droid Serif
  • font.size.variable.x-western: 13
  • gfx.blacklist.suggested-driver-version: <Anything with EXT_texture_from_pixmap support>
  • layers.acceleration.disabled: True
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1366625824
  • places.history.expiration.transient_current_max_pages: 104858
  • places.history.expiration.transient_optimal_database_size: 167772160
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • security.disable_button.openCertManager: False
  • security.warn_viewing_mixed: False

Linh tinh

  • Người dùng JS: Không
  • Có thể tiếp cận: Không
Amit Kumar Thakur
  • Locale Leader
70 giải pháp 859 câu trả lời
Được đăng

Hello,

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: This will cause you to lose any Extensions, Open websites, and some Preferences.

To Reset Firefox do the following:

  1. Go to Firefox > Help > Troubleshooting Information.
  2. Click the "Reset Firefox" button.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. Firefox will open with all factory defaults applied.

Further information can be found in the Refresh Firefox - reset add-ons and settings article.

Did this fix your problems? Please report back to us!

Thank you.

Hello, The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.'' To Reset Firefox do the following: #Go to Firefox > Help > Troubleshooting Information. #Click the "Reset Firefox" button. #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish. #Firefox will open with all factory defaults applied. Further information can be found in the [[Reset Firefox – easily fix most problems]] article. Did this fix your problems? Please report back to us! Thank you.

Câu trả lời hữu ích

Thank you. No, that didn't help.

Thank you. No, that didn't help.
albertmatyi 0 giải pháp 5 câu trả lời
Được đăng

Same issue here. Thought to give info about my env:

  • OS: Ubuntu 13.04

Using latest updates from

  • ppa:gnome3-team/gnome3
  • ppa:gnome3-team/gnome3-staging

Fonts don't work in:

  • Unity | Firefox 20, 23.01
  • Gnome shell | Firefox 20, 23.01

It works:

  • in WebKit based browsers (chromium / epiphany)
  • in Ubuntu 12.10 (haven't tried 13.04 with no extra ppa)

Might it be a XULRunner issue, on how it gets assitance of the OS to render fonts?

Same issue here. Thought to give info about my env: * OS: Ubuntu 13.04 Using latest updates from * ppa:gnome3-team/gnome3 * ppa:gnome3-team/gnome3-staging Fonts don't work in: * Unity | Firefox 20, 23.01 * Gnome shell | Firefox 20, 23.01 It works: * in WebKit based browsers (chromium / epiphany) * in Ubuntu 12.10 (haven't tried 13.04 with no extra ppa) Might it be a XULRunner issue, on how it gets assitance of the OS to render fonts?

Được chỉnh sửa bởi albertmatyi vào

Người tạo câu hỏi

Thanks for that. Interestingly, I have a pristine Ubuntu Gnome virtual machine which does render the fonts correctly. Ubuntu Gnome runs with Gnome 3.6.3.1 out of the box, whereas my main system (as described above) has Gnome 3.8. I'm not saying this causes the bug though.
Also I should add that I switched my main system from LightDM to GDM and this didn't make any difference either; nor did switching to Unity.

Thanks for that. Interestingly, I have a pristine Ubuntu Gnome virtual machine which does render the fonts correctly. Ubuntu Gnome runs with Gnome 3.6.3.1 out of the box, whereas my main system (as described above) has Gnome 3.8. I'm not saying this causes the bug though. <br/> Also I should add that I switched my main system from LightDM to GDM and this didn't make any difference either; nor did switching to Unity.
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

Does the net log show that Firefox retrieves the fonts?

Do the fonts work locally if you download and install them?


Did you verify that downloadable fonts are enabled (gfx.downloadable_fonts.enabled = true)?

Does the net log show that Firefox retrieves the fonts? *https://developer.mozilla.org/en/Tools/Web_Console Do the fonts work locally if you download and install them? ---- Did you verify that downloadable fonts are enabled (gfx.downloadable_fonts.enabled = true)?

Người tạo câu hỏi

@cor-el:

  • yes, the web console shows exactly the same GETs and POSTs as on a machine that does render the web fonts. In particular, on another page (carriare.nl) I can see the GETs for two fonts going to http://fonts.googleapis.com. They are, however, not rendered.
  • How would I go about downloading Google web fonts? I don't think you can.
  • Yes, gfx.downloadable_fonts.enabled is set to true. Please note that I did a full reset of Firefox.
@cor-el:<br/> * yes, the web console shows exactly the same GETs and POSTs as on a machine that does render the web fonts. In particular, on another page (carriare.nl) I can see the GETs for two fonts going to http://fonts.googleapis.com. They are, however, not rendered.<br/> * How would I go about downloading Google web fonts? I don't think you can.<br/> * Yes, gfx.downloadable_fonts.enabled is set to true. Please note that I did a full reset of Firefox.
albertmatyi 0 giải pháp 5 câu trả lời
Được đăng

@cor-el

Answer 1: Yes it shows up in the downloaded resources list.

Answer 2: I've installed the font (Great Vibes from google web fonts) locally.

It worked in every app (gimp/libre office/as system font), but in Firefox.

Answer3: Downloadable fonts are enabledg

EDIT: Just wanted to mention: ttf-dejavu, ttf-mscorefonts, ubuntu-restricted-extras are installed

@cor-el Answer 1: Yes it shows up in the downloaded resources list. Answer 2: I've installed the font (Great Vibes from google web fonts) locally. It worked in every app (gimp/libre office/as system font), but in Firefox. Answer3: Downloadable fonts are enabledg EDIT: Just wanted to mention: ttf-dejavu, ttf-mscorefonts, ubuntu-restricted-extras are installed

Được chỉnh sửa bởi albertmatyi vào

cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

The fonts work for me on Linux, Firefox 20 and 23 tested.

The fonts work for me on Linux, Firefox 20 and 23 tested.
albertmatyi 0 giải pháp 5 câu trả lời
Được đăng

Well it does not on my end:

  • The font shows up in web console as downloaded (pic1)
  • If I use jQuery to check for the font-family of the element: $('.navbar .brand').css('font-family') - it gives me: "Great Vibes Regular" (one of the fonts I'm working with)
  • The inspect class panel shows the same (pic2)
  • But: The font box is saying that it uses DejaVu to render (pic3)

(The 4th pic just shows how it is rendered in epiphany (webkit))

Well it does not on my end: * The font shows up in web console as downloaded (pic1) * If I use jQuery to check for the font-family of the element: ''$('.navbar .brand').css('font-family')'' - it gives me: "Great Vibes Regular" (one of the fonts I'm working with) * The inspect class panel shows the same (pic2) * But: The font box is saying that it uses DejaVu to render (pic3) (The 4th pic just shows how it is rendered in epiphany (webkit))
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

Does the same happen with the carriare.nl website or you you upload that page to an internet server because with local pages (localhost) things might be different?

Does the same happen with the carriare.nl website or you you upload that page to an internet server because with local pages (localhost) things might be different?

Người tạo câu hỏi

I don't understand your question. Carriare.nl is hosted on an internet server. What local pages do you refer to?

I don't understand your question. Carriare.nl is hosted on an internet server. What local pages do you refer to?
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

Sorry, I was responding to the post by albertmatyi right above my reply.
Maybe it would be best for albertmatyi to create his own thread to avoid confusion (he is also using a 23.0a1 Nightly build).

Sorry, I was responding to the post by albertmatyi right above my reply.<br /> Maybe it would be best for albertmatyi to create his own thread to avoid confusion (he is also using a 23.0a1 Nightly build).
albertmatyi 0 giải pháp 5 câu trả lời
Được đăng

Sorry for interfering with OP's question, I just wanted to provide info about my environment, that might help to uncover the cause of the issue, and to point out that there might be others facing the same issues.

On the other hand:

  • It does not matter if I check it on localhost or on the web (google web fonts, or carriare.nl - see attachment). The results are the same
  • Same goes for firefox version: I get the same behavior both in v 20 and v 23 Nightly
Sorry for interfering with OP's question, I just wanted to provide info about my environment, that might help to uncover the cause of the issue, and to point out that there might be others facing the same issues. On the other hand: * It does not matter if I check it on localhost or on the web (google web fonts, or carriare.nl - see attachment). The results are the same * Same goes for firefox version: I get the same behavior both in v 20 and v 23 Nightly

Được chỉnh sửa bởi albertmatyi vào

Người tạo câu hỏi

Thanks albertmatyi. As an aside, I notice you have a Fonts tab in your inspector. I don't. Does it come with a later version of Firefox?

@cor-el: do you think I should file a bug?

Thanks albertmatyi. As an aside, I notice you have a Fonts tab in your inspector. I don't. Does it come with a later version of Firefox?<br/><br/> @cor-el: do you think I should file a bug?
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

Yes, that Font display will be present in a future Firefox version (Firefox 21 has an initial implementation in the Inspector). My screenshot and that of albertmatyi are from a Firefox 23.0a1 build.

You can use this extension to see which fonts are used for text that is selected (right-click context menu: Show fonts in selection) and also in Page Info > Fonts.

Yes, that Font display will be present in a future Firefox version (Firefox 21 has an initial implementation in the Inspector). My screenshot and that of albertmatyi are from a Firefox 23.0a1 build. You can use this extension to see which fonts are used for text that is selected (right-click context menu: Show fonts in selection) and also in Page Info > Fonts. *fontinfo: https://addons.mozilla.org/firefox/addon/fontinfo/

Người tạo câu hỏi

@cor-el: thank you. As expected, the extension shows that only locally installed fonts are used on these pages (google.com/fonts and carriare.nl). On another platform (Win7 with FF 20.0.1), web fonts are shown also.
As the actual fonts content is requested from themes.googleusercontent.com, might there not be a cross-domain issue? Is there any way to disable cross-domain security? or should I just file a bug?

@cor-el: thank you. As expected, the extension shows that only locally installed fonts are used on these pages (google.com/fonts and carriare.nl). On another platform (Win7 with FF 20.0.1), web fonts are shown also.<br/> As the actual fonts content is requested from themes.googleusercontent.com, might there not be a cross-domain issue? Is there any way to disable cross-domain security? or should I just file a bug?
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng
Do the fonts work on the Google website? *http://www.google.com/fonts/ *http://www.google.com/fonts/specimen/Waiting+for+the+Sunrise

Người tạo câu hỏi

  • Do the fonts work on the Google website?

No they don't, as I indicated in my original question.

* Do the fonts work on the Google website? No they don't, as I indicated in my original question.
cor-el
  • Top 10 Contributor
  • Moderator
17407 giải pháp 157257 câu trả lời
Được đăng

Try to install a Firefox version from the Mozilla server if you currently use one from the Linux repositories and make sure to use a new profile that has all extensions disabled (some Linux distributions want to add their own modifications).

You can find the latest Firefox 20.0.x release in all languages and for all Operating Systems here:

Try to install a Firefox version from the Mozilla server if you currently use one from the Linux repositories and make sure to use a new profile that has all extensions disabled (some Linux distributions want to add their own modifications). You can find the latest Firefox 20.0.x release in all languages and for all Operating Systems here: *http://www.mozilla.org/en-US/firefox/all.html *http://kb.mozillazine.org/Profile_Manager *https://support.mozilla.org/kb/Managing+profiles

Người tạo câu hỏi

OK. I uninstalled Firefox, downloaded a 20.0 tarball from the Mozilla home page, installed it, ran it with a new blank profile and no extensions. Still no web fonts.
I installed the Live HTTP Headers extension. There is no GET to the googleusercontent.com domain being done (which is where the fonts are located), neither on google.com/fonts nor on carriare.nl.

OK. I uninstalled Firefox, downloaded a 20.0 tarball from the Mozilla home page, installed it, ran it with a new blank profile and no extensions. Still no web fonts.<br/> I installed the Live HTTP Headers extension. There is no GET to the googleusercontent.com domain being done (which is where the fonts are located), neither on google.com/fonts nor on carriare.nl.