搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Phosphate InLine not displaying on Firefox Browser

  • 14 回覆
  • 1 有這個問題
  • 54 次檢視
  • 最近回覆由 Jonjhale

more options

Hi there

Thank you so much for looking at my question.

We've noticed that Phosphate Inline is not displaying properly on Firefox, when it is on other major browsers.

The font creater says that the font is supported by Firefox 3.5 browser onwards.

I've attached screen grab on firefox and another major browser.

Are you able to assist please?

Thanks

Jon

所有回覆 (14)

more options

Here are the screen grabs

more options

Hello jonjhale,

The font looks just fine when I load that page, so I want to ask you to try this please :

Type in the address bar about:config and press Enter (promis to be careful, if asked)

Type in the search bar and look for the preference :

gfx.downloadable_fonts.enabled

And make sure that its value is set to true.

If you had to change the value, then close and restart Firefox.


Another thing to check :

Options => General => under "Languages and Appearance" => Fonts & Colors => Advanced : select "Allow pages to choose their own fonts"

'Hope that helps ......

more options

The Network Monitor shows that this Phosphate font is send as phosphate.ttc (TrueType Collection) A Google search shows that Firefox doesn't support TTC fonts. That is the reason that Firefox falls back to another font.

more options

cor-el said

The Network Monitor shows that this Phosphate font is send as phosphate.ttc (TrueType Collection) A Google search shows that Firefox doesn't support TTC fonts. That is the reason that Firefox falls back to another font.

Remarkable, cause like I mentioned before : the font looks just fine when I visit vibrantvegan.co.uk ......

more options

I see this message in the Web Console:

downloadable font: rejected by sanitizer (font-family: "phosphate" style:normal weight:400 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/phosphate/Phosphate.ttc


bug 1529652 - Support TrueType/OpenType collection (.ttc, .otc) fonts in @font-face

由 cor-el 於 修改

more options

@ cor-el :

I don't get that message in the Web Console.

Maybe it works just fine for me because I'm a vegan ......

But seriously : for me the font looks just like it does in
Johnjhale's first screenshot.

more options

McCoy said

Hello jonjhale, The font looks just fine when I load that page, so I want to ask you to try this please : Type in the address bar about:config and press Enter (promis to be careful, if asked) Type in the search bar and look for the preference : gfx.downloadable_fonts.enabled And make sure that its value is set to true. If you had to change the value, then close and restart Firefox.

Another thing to check :

Options => General => under "Languages and Appearance" => Fonts & Colors => Advanced : select "Allow pages to choose their own fonts"

'Hope that helps ......

Thank you so much for your assistance. Best Jon

more options

McCoy said

@ cor-el : I don't get that message in the Web Console. Maybe it works just fine for me because I'm a vegan ...... But seriously : for me the font looks just like it does in
Johnjhale's first screenshot.

Ha ha !! Thank you so much for your assistance. Best Jon

more options

cor-el said

I see this message in the Web Console: downloadable font: rejected by sanitizer (font-family: "phosphate" style:normal weight:400 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/phosphate/Phosphate.ttc

bug 1529652 - Support TrueType/OpenType collection (.ttc, .otc) fonts in @font-face

Would you mind explaining this further for me please. Thanks Best Jon

more options

Jonjhale said

McCoy said
Hello jonjhale, The font looks just fine when I load that page, so I want to ask you to try this please : Type in the address bar about:config and press Enter (promis to be careful, if asked) Type in the search bar and look for the preference : gfx.downloadable_fonts.enabled And make sure that its value is set to true. If you had to change the value, then close and restart Firefox.

Another thing to check :

Options => General => under "Languages and Appearance" => Fonts & Colors => Advanced : select "Allow pages to choose their own fonts"

'Hope that helps ......

Thank you so much for your assistance. Both were actioned for me, but I still don't see phosphate in Firefox Quantum. Does Firefox need to be your default browser maybe in order to benefit from all the font displays options ? Thanks again Best Jon

more options

I owe you (and cor-el) an apology - big time  !

While I was thinking all this time that I like the font as shown in your second screenshot way better - I just now noticed that that is not Firefox in that screenshot ......

(going to find myself a rock to crawl under now .... )

由 McCoy 於 修改

more options

A TTC file is a TrueType collection format that allows to store multiple font files in one collection file, so the server only needs to send one file to have all the font variants. current Firefox releases (and current Nightly builds) do not yet support this collection format and thus verifying this file by the font sanitizer fails. I notice another font send by this website as a TTC file.

downloadable font: rejected by sanitizer (font-family: "phosphate" style:normal weight:400 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/phosphate/Phosphate.ttc unknown:7:11

downloadable font: rejected by sanitizer (font-family: "avenir" style:normal weight:100 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/avenir/Avenir.ttc

There was an enhancement bug created by one of the developers that is currently not being worked on, so it is not possible to tell how long this will take.

  • Bug 1529652 - Support TrueType/OpenType collection (.ttc, .otc) fonts in @font-face

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html You can vote for a bug to show your interest
https://bugzilla.mozilla.org/page.cgi?id=voting.html

more options

McCoy said

I owe you (and cor-el) an apology - big time  ! While I was thinking all this time that I like the font as shown in your second screenshot way better - I just now noticed that that is not Firefox in that screenshot ...... (going to find myself a rock to crawl under now .... )

No problem .. thanks for the heads up. I would have messaged a few days ago, but the forum was down for maintenance correct? Thanks again !! Really appreciate your time. Best Jon

more options

cor-el said

A TTC file is a TrueType collection format that allows to store multiple font files in one collection file, so the server only needs to send one file to have all the font variants. current Firefox releases (and current Nightly builds) do not yet support this collection format and thus verifying this file by the font sanitizer fails. I notice another font send by this website as a TTC file.
downloadable font: rejected by sanitizer (font-family: "phosphate" style:normal weight:400 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/phosphate/Phosphate.ttc unknown:7:11

downloadable font: rejected by sanitizer (font-family: "avenir" style:normal weight:100 stretch:100 src index:0) source: https://vibrantvegan.co.uk/sites/all/themes/custom/Pureandhearty/fonts/avenir/Avenir.ttc

There was an enhancement bug created by one of the developers that is currently not being worked on, so it is not possible to tell how long this will take.

  • Bug 1529652 - Support TrueType/OpenType collection (.ttc, .otc) fonts in @font-face

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html You can vote for a bug to show your interest
https://bugzilla.mozilla.org/page.cgi?id=voting.html

Thank you for this. I would have messaged a few days ago, but the forum was down for maintenance correct? Thanks again !! Really appreciate your time in assisting me. Best Jon