Open mahabuta opened 6 years ago
Hi, I'm trying to understand if this is a docker image issue or an issue with calibre. For the former, I can try to fix, for the latter, I would advise contacting the developers of calibre.
Can you install calibre on a separate machine directly (without docker) and see if the fonts are displayed correctly?
I'm not sure if those fonts are supported by the OS or the app.
Thanks
yes, the calibre on my windows works ok, can show CJK figures charactors correctly. as shown bellow,
due to lack of relevent knowledge, I am not sure if it's only font problem or the system itself lacking relevent codepages, but I am certain that all the fonts I can see from the docker-rdp-calibre setting, none of them contains CJK characters, or say all of them are for latin charactors only. and on my own computer I can see many many more fonts. and the problem remains if I set the docker-rdp-calibre system language to Chinese or so.
will you please give me a folder path for me to overwrite the current one, so I can test if my guess is correct or not, I have see the /usr/share/fonts or some thing like that, but there are many subfolders inside, ,I dont quite understand which is the right one >_<
@ikonome actually, this is the problem of English Linux System, the origin system does not contain any Chinese fonts. So we should install it by ourselves .
here is my Solution
enter your container with bash
docker exec -it rdp-calibre bash
apt-get install -y --force-yes --no-install-recommends fonts-wqy-microhei
apt-get install -y --force-yes --no-install-recommends ttf-wqy-zenhei
exit
docker restart rdp-calibre
now everything is OK .
results:
references: https://segmentfault.com/a/1190000005640352
@ikonome if you do not know how to do with it, you could simply search dochurch in docker hub and use my fork-mod image dochurch/docker-rdp-calibre
Hi, I was glade when I saw this project and found it could help me a lot with my books.
But when I opened my existing library, I found out that this docker image doesnt contains enough fonts to show non latin language such as Chinese and Japanese. I know it's not quite usefull for you to ship lots of unnessary CJK fonts taking too much place, but can you consider providing a folderpath or Variables for me to overwrite the default one so I can use my own fonts?