Hello, I think I have compiled something wrong on my end. When visiting sites with CJK fonts (e.g. https://www.unicode.org/standard/translations/japanese.html) none of the characters display (just empty blocks). Running v3.2.0-92-g527846a3 on Debian 13. Also, thank you for keeping Dillo going. I only use it once or twice a week but it is a great tool to have. Best regards, Bobby Hiltz
Hi, "B Hiltz" <bbbhltz@mailbox.org> wrote:
I think I have compiled something wrong on my end. When visiting sites with CJK fonts (e.g. https://www.unicode.org/standard/translations/japanese.html) none of the characters display (just empty blocks).
Do you have the desired font configured in ~/.dillo/dillorc ? Something like this should work (assuming you have the font available in your OS): font_sans_serif="Noto Sans JP" Regards, Alex
Hi, On Sun, Dec 14, 2025 at 10:49:56PM +0000, a1ex@dismail.de wrote:
Hi,
"B Hiltz" <bbbhltz@mailbox.org> wrote:
I think I have compiled something wrong on my end. When visiting sites with CJK fonts (e.g. https://www.unicode.org/standard/translations/japanese.html) none of the characters display (just empty blocks).
This email didn't reach my inbox or spam folder (maybe gmail delayed it).
Do you have the desired font configured in ~/.dillo/dillorc ?
Something like this should work (assuming you have the font available in your OS):
font_sans_serif="Noto Sans JP"
You can use fc-match to see what a given font resolves to in your system. As I don't have Noto, it resolves DejaVu which doesn't handle Japanese either: % fc-match 'Noto Sans JP' DejaVuSans.ttf: "DejaVu Sans" "Book" This is the same problem I described in fedi for Emojis: https://fosstodon.org/@dillo/115702790786501718 https://fosstodon.org/@dillo/115702838816687466 To make it work you can specify a font that has Japanese glyphs like Alex suggested or use a CSS rule in ~/.dillo/style.css in case the site doesn't use "sans-serif" as the font. I tried myself installing noto-fonts and noto-fonts-cjk, but then: % fc-match 'Noto Sans JP' NotoSans-Regular.ttf: "Noto Sans" "Regular" Doesn't find it, it seems to be called "Noto Sans CJK JP": % fc-match 'Noto Sans CJK JP' NotoSansCJK-Regular.ttc: "Noto Sans CJK JP" "Regular" So this did it for me: % grep Noto ~/.dillo/dillorc font_sans_serif="Noto Sans CJK JP" Hopefully this won't be needed in FLTK 1.4, which has font substitution support (it will find a fallback font in your system that has Japanese). Best, Rodrigo.
Hello, Thank you both for your replies.
To make it work you can specify a font that has Japanese glyphs like Alex suggested or use a CSS rule in ~/.dillo/style.css in case the site doesn't use "sans-serif" as the font.
I will try both of these solutions. Best, Bobby Hiltz (Sorry, I've switched email aliases so that might lead to delays or mix-ups in the mailing list.)
Hi, On Sun, 14 Dec 2025 22:49:56 +0000 <a1ex@dismail.de> wrote:
Do you have the desired font configured in ~/.dillo/dillorc ?
Something like this should work (assuming you have the font available in your OS):
font_sans_serif="Noto Sans JP"
Thanks. It is "Noto Sans CJK JP" on Debian like Rodrigo said. That will have to be my solution for those times I need to visit sites with Japanese (or other CJK fonts) until font substitution support is available. Best, Bobby
participants (4)
-
a1ex@dismail.de -
B Hiltz -
Bobby Hiltz -
Rodrigo Arias