Giter Site home page Giter Site logo

Comments (11)

jlesage avatar jlesage commented on July 19, 2024

Did you try to change the font ? In Settings -> Advanced Settings, search for "Font name". Set the value to "Dialog".
See https://board.jdownloader.org/showthread.php?t=65408

from docker-jdownloader-2.

jacobhogary avatar jacobhogary commented on July 19, 2024

Yes i have just tried that. It remain the same. Maybe it is because of the base system dont have the font to support the character?

from docker-jdownloader-2.

jlesage avatar jlesage commented on July 19, 2024

Maybe... could you provide a way for me to reproduce the issue?

from docker-jdownloader-2.

jacobhogary avatar jacobhogary commented on July 19, 2024

https://www.youtube.com/watch?v=xpT7av-kiXg
Here is the youtube link contain chinese character. When i add it to the linkgrabber, the name just show "boxes" which should be the chinese character.

Or you can try change the language interface of jdownloader to Chinese(Taiwan). It will also just showing "boxes"

from docker-jdownloader-2.

jacobhogary avatar jacobhogary commented on July 19, 2024

After doing a little bit of research. i have fixed it by install fontconfig and install the Chinese font from Here

Although it display Chinese, it seems it still not able to "write" chinese charcter (example file name)

from docker-jdownloader-2.

jlesage avatar jlesage commented on July 19, 2024

Yeah I also found this font for Alpine. It can be installed with add-pkg wqy-zenhei --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing.
However, none of the available font (WenQuanYi Zen Hei Mono, WenQuanYi Zen Hei Sharp, WenQuanYi Zen Hei) seems to look good.
Which one did you enabled in JDownloader?

from docker-jdownloader-2.

jacobhogary avatar jacobhogary commented on July 19, 2024

Hmmm i think it is WenQuanYi Zen Hei. I just install the font file manually by downloading above zip file. Then extract wqy-zenhei.ttc into /usr/share/fonts/wqy-zenhey and then run fc-cache. Finally just restart the docker.

from docker-jdownloader-2.

jlesage avatar jlesage commented on July 19, 2024

Installing the font with add-pkg wqy-zenhei --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing and keeping the Font Name in JDownloader to default seems to be the right solution.

I will find a way to provide an option to automatically install this when wanted.

from docker-jdownloader-2.

jlesage avatar jlesage commented on July 19, 2024

With the latest image, to automatically install the WenQuanYi Zen Hei font, you just need to set the environment variable ENABLE_CJK_FONT to 1.

When this variable is set, the existence of the font is verified during startup. If missing, it will be installed automatically.

from docker-jdownloader-2.

huiguo2008 avatar huiguo2008 commented on July 19, 2024

With the latest image, to automatically install the WenQuanYi Zen Hei font, you just need to set the environment variable ENABLE_CJK_FONT to 1.

When this variable is set, the existence of the font is verified during startup. If missing, it will be installed automatically.

Hi, where I can find the setting? how can i do it? could you please give more info about it? thanx

from docker-jdownloader-2.

jlesage avatar jlesage commented on July 19, 2024

This is a container environment variable you need to add. If you use the command line, you need to add the -p ENABLE_CJK_FONT=1 parameter to your docker run command.

from docker-jdownloader-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.