לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Configuring fonts for Unicode PUA characters, like icons or Klingon?

  • 2 תגובות
  • 1 has this problem
  • 4 views
  • תגובה אחרונה מאת Andrew Janke

more options

Hi folks. So here's the situation. I'm a developer and burgeoning font nerd, and I'm really into shell configuration for Zsh, which requires some custom fontography.

These overlapping areas use various fonts that provide glyphs for characters inside the Unicode Private Use Areas. Examples are:

So, I'd like to set up my browser to be able to display a few, or all of these things. For example, in the discussion going on at the GitHub issue https://github.com/ryanoasis/nerd-fonts/issues/409.

But I don't see any way in Firefox to set up a chain of "fallback fonts" or something like that. In Preferences > Language and Appearance > Fonts and Colors > Advanced, it gives me a selection for "Fonts for:", which allows me to assign fonts on a per-script basis. But:

a) assigning a single font for "Other Writing Systems" (assuming that encompasses the Unicode PUA areas) is not sufficient, and b) uh-oh, maybe bug! When I select "Other Writing Systems" and choose a new font for it (like the Klingon font "plqaD"), it changes the main "Default font" for me back in the main preferences screen! That doesn't seem right?

Thing is, there are a lot of these "long tail" little special-purpose fonts, that it would be nice to aggregate into a single viewing context. It would be nice if Firefox supported defining an arbitrarily-long list of "fallback" fonts to use in the case where a web page uses a character which is not assigned a glyph in any of the normal fonts.

Hi folks. So here's the situation. I'm a developer and burgeoning font nerd, and I'm really into shell configuration for Zsh, which requires some custom fontography. These overlapping areas use various fonts that provide glyphs for characters inside the Unicode Private Use Areas. Examples are: * All the things aggregated into NerdFonts - https://github.com/ryanoasis/nerd-fonts * The Powerline shell-prompt symbols - https://github.com/powerline/powerline * Klingon - https://www.evertype.com/standards/csur/klingon.html * Anything else in the ConScript Registry - https://www.evertype.com/standards/csur/ So, I'd like to set up my browser to be able to display a few, or all of these things. For example, in the discussion going on at the GitHub issue https://github.com/ryanoasis/nerd-fonts/issues/409. But I don't see any way in Firefox to set up a chain of "fallback fonts" or something like that. In Preferences > Language and Appearance > Fonts and Colors > Advanced, it gives me a selection for "Fonts for:", which allows me to assign fonts on a per-script basis. But: a) assigning a single font for "Other Writing Systems" (assuming that encompasses the Unicode PUA areas) is not sufficient, and b) uh-oh, maybe bug! When I select "Other Writing Systems" and choose a new font for it (like the Klingon font "plqaD"), it changes the main "Default font" for me back in the main preferences screen! That doesn't seem right? Thing is, there are a lot of these "long tail" little special-purpose fonts, that it would be nice to aggregate into a single viewing context. It would be nice if Firefox supported defining an arbitrarily-long list of "fallback" fonts to use in the case where a web page uses a character which is not assigned a glyph in any of the normal fonts.

כל התגובות (2)

more options

Fonts for the PUA Unicode range are normally loaded from the server via @font-face CSS rules. This might work with a locally installed version of this font as well, but isn't guaranteed and on Mac you also can get sandbox related issues because only a few known folders for such fonts are allowed. Current Firefox releases also can have issues related to file_unique_origin (privacy.file_unique_origin => false) to load font files via a file:// URI.

more options

Okay, clearly I'm out of my depth here and need to do more research.

Thank you!