Noto Color Emoji seem to override other fonts (e.g., Noto Sans Symbols, EmojiOne Color)
Steps to reproduce:
- Make sure the following two fonts are available: Noto Sans Symbols and Noto Color Emoji
- open Inkscape
- bring up Text -> Glyphs
- select Noto Sans Symbols
- select Range = Miscellaneous Symbols
- scroll down in the window and notice that the glyphs for the astrological symbols, starting at U2648 (Aries) are all in color. Noto Sans Symbols should have these glyphs in monochrome. The colorized versions of the glyphs are the ones from Noto Color Emoji, but we're viewing Noto Sans Symbols.
- hit f8 and click to insert some text
- hit ^U 2648 to insert the symbol for Aries, which is
♈ - hit ESC to exit text insertion
- note the glyph on the page is rendered as "o" and not any version of a symbol for Aries
- hit f8 and highlight the "o"
- bring up Text -> Text and Font
- select Noto Sans Symbols and apply
- hit escape
- note the glyph did not change, even though a RED glyph for Aries appears in the Text and Font window
- save and quit
Alternatively
- remove Noto Color Emoji (e.g., sudo apt-get remove fonts-noto-color-emoji)
- open Inkscape on the file you just saved (e.g., drawing.svg)
- note that the glyph that was "o" is now "
♈ " (i.e., the glyph for Aries) - note also in the Glyphs tool, if you select Noto Sans Symbols and Miscellaneous Symbols, all the astrological symbols are monochrome
- quit
- reinstall Noto Color Emoji
- note that the glyph is now "o" again
What happened?
When a font with color is loaded, then other fonts with overlapping unicode code points will use the glyph from the color font instead of the selected font. When the incorrect glyph is inserted into a document, it will not render as the correct glyph from either font.
What should have happened?
Regardless of which fonts are loaded, glyphs should always be from the font selected. The actual glyph in the document should render as the glyph that's there.
Further, this behavior should not change depending on whether or not Noto Color Emoji is loaded.
Inkscape Version and Operating System:
- Inkscape 0.92.3 (2405546, 2018-03-11)
- Debian Sid
- Linux 4.18.0-2-amd64
Other notes
This is not specific to Noto Sans Symbols. I noticed it with another font that has code points that overlapped with Noto Color Emoji. I don't know if this is specific to Noto Color Emoji because I don't have another font with colors to test with.