[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] Only half CJK characters displayed
From: |
gyc |
Subject: |
[Lynx-dev] Only half CJK characters displayed |
Date: |
Fri, 18 Dec 2020 02:53:47 +0800 |
Hi devs,
first of all, thanks a lot for the effort of developing a feature-rich
and fully functional web browser. I just migrated from Firefox to here.
I encountered some problems rendering CJK fonts inside browser. Steps to
reproduce:
1. Lynx 2.8.9rel.1, Alacritty, Sway WM and Noto CJK fonts
2. Visit Japanese Wikipedia. Only half characters shown.
Screenshot: <https://w.wiki/qzr>
3. Open another terminal and `cat` the page cache at /tmp/lynxXXXX/*.html
4. Close current Lynx instance and relaunch Lynx in another terminal.
5. Visit Japanese Wikipedia, now full characters are shown.
Screenshot: <https://w.wiki/qzt>
6. Delete font cache in ~/.cache
7. Visit Japanese Wikipedia, half characters shown again.
I tried with other text editors and text-based web browsers such as `vim`,
`emacs` and `w3m`. All of them correctly displays characters at first
time, after clearing font cache. Also as noted above, `cat` raw HTML
directly inside `alacritty` also displays full characters.
Therefore I suspect that there might be some bug with `lynx` that
hinders the generation of font cache. I'm not proficient with
programming but I hope this can be fixed in a future release.
Cheers
- [Lynx-dev] Only half CJK characters displayed,
gyc <=