为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Greek letters don't display anymore when I use fontname-"Symbol" in html/javascript. They work in Microsoft Edge.

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 john02813

more options

I am writing code in javascript for astronomers and it uses symbol font for Greek letters. When I display the report on FireFox browser, the Greek letters do not appear instead they are in a different font. My report display fine with Microsoft Edge but I like FF better.

I am writing code in javascript for astronomers and it uses symbol font for Greek letters. When I display the report on FireFox browser, the Greek letters do not appear instead they are in a different font. My report display fine with Microsoft Edge but I like FF better.

被采纳的解决方案

Fonts like the Symbol font that map on the basic ASCII set may not work in Firefox.

It is best to always use the Unicode representation of characters to avoid font problems because in that case any font that supports those symbols can be used and it works on all platforms if you have a font that covers that Unicode range.

See also:

定位到答案原位置 👍 0

所有回复 (5)

more options

Type about:preferences#content<enter> in the address bar. Across from fonts and colors, press the Advanced button. On the bottom, turn on Allow Web Sites To Choose Their Own.

Fonts Information - Detected via Flash http://browserspy.dk/fonts-flash.php?detail=1

more options

I followed your instructions but there was no allow web sites instead it said allow pages to choose their own fonts

more options

选择的解决方案

Fonts like the Symbol font that map on the basic ASCII set may not work in Firefox.

It is best to always use the Unicode representation of characters to avoid font problems because in that case any font that supports those symbols can be used and it works on all platforms if you have a font that covers that Unicode range.

See also:

more options

I used the code for Greek letters instead of the letter and using Symbol font. It works ok but now I have to change all the thousands of letters in my data to create that special unicode.

more options

I used javascript/canvas to display my Greek letters. I used if (Mid(AA[x],5,6)=="a"){context.fillText(Left(AA[x],4) + "\u03B1" + Right(AA[x],30),1,12);} In other words I broke up the text data into sections where I could convert the letter in Mid(AA[x],5,6) to a Greek letter when it is time to display on the screen. That way the letter stays normal in the data section.