sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

Terminus font utf8 encoding #1066

Open sillysloft opened 12 years ago

sillysloft commented 12 years ago

Fluxbox version: 1.3.2 Os: Gentoo Linux Terminus font version: 4.38

Terminus font supports utf8 and encoding works right in terminal (rxvt-unicode) Fluxbox won't show utf8 characters, xmbfontimp / xfontimp does not render correctly glyphs. using "-xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1"

Reported by: fb0x

sillysloft commented 8 years ago

what does "won't show utf8 characters" mean in particular? An empty square means that the font doesn't provide this glyph (afaics fluxbox has no internal fallback mechanism but this should be doable through fontconfig, might be worth investigation)

Original comment by: baghira-style

sillysloft commented 8 years ago

iirc (i analyzed the problem a while ago): rxvt looks up a glyph in a font, hands it over to the renderer if the glyph is found OR switches to another font and looks up the glyph there, see http://cvs.schmorp.de/rxvt-unicode/src/rxvtfont.C?revision=1.195&view=markup#l974 and http://cvs.schmorp.de/rxvt-unicode/src/rxvtfont.C?revision=1.195&view=markup#l1680. fluxbox does not do that kind of clever font rendering. that is why missing glyphs won't show up, as far as i can remember.

Original comment by: akir