From: Yuri D'E. <wa...@th...> - 2022-09-26 09:19:01
|
On Sun, Sep 25 2022, Yuri D'Elia wrote: > U+1F300-1FADF=Noto Emoji > > sadly it crashes on some glyphs (for example U+1f3b6 🎶) with the > following: > > X Error of failed request: BadLength (poly request too large or internal Xlib length error) > Major opcode of failed request: 139 (RENDER) > Minor opcode of failed request: 20 (RenderAddGlyphs) > Serial number of failed request: 464 > Current serial number in output stream: 484 > > Aside from the crash, I'm not a fan of color fonts. I wonder if there > would be a way to force rendering to be grayscale and match my requested > foreground color as well. To answer myself, I have some extra info to provide. Since my system has both "Noto Emoji" and "Noto Color Emoji", the color variant was preferred via fontconfig on debian. It turns out we can force a color-selection using an fc attribute: U+1F300-1FADF=Noto Emoji:color=false and this correctly selects the b&w version. However this applies a filter on the font attributes so it doesn't seem to be possible to _force_ grayscale rendering on a font that has colored glyphs. |