Giter Club home page Giter Club logo

Comments (7)

huan avatar huan commented on July 21, 2024

We have a new feature to set DPI before you start.

You can try to set DOCHAT_DPI=96 to see if it helps?

DOCHAT_DPI=96 dochat.sh

See: https://github.com/huan/docker-wechat#dochat_dpi

from docker-wechat.

ziyouchutuwenwu avatar ziyouchutuwenwu commented on July 21, 2024

my screen is small, and this is the default dpi, with -e DOCHAT_DPI=96, chatting dialog size seems to be ok, but the fonts will be bad.

most fonts seems to be ok, some fonts seems to be not good.

big

after i uncheck the auto screen size setting from setting page
setting

the screen seems to be like this
setting_unchecked

when i run docker with dpi
with_dpi

i think maybe this problem also affect the fonts display.

from docker-wechat.

huan avatar huan commented on July 21, 2024

Understood.

If we can get to know the registry key and value of that option, then we can be very easy to disable it by config an environment variable.

from docker-wechat.

ziyouchutuwenwu avatar ziyouchutuwenwu commented on July 21, 2024

https://github.com/bestwu/docker-wechat

this one, with the default command, the fonts seems to be fine on my laptop.
here is the screenshot for the fonts
222

the option "auto screen size" is also checked by default, but screensize is not so big as your docker, it seems as big as your docker command with dpi=96.

from docker-wechat.

huan avatar huan commented on July 21, 2024

That's by design: DoChat v0.5 are using a default DPI=120, which is 125% larger than the default setting 96 DPI.

And I found that in Ubuntu, it seems that the font size can follow the DPI setting and will be resized as expected.

I believe there are other settings that need to be set under the Debian distribution.

from docker-wechat.

ziyouchutuwenwu avatar ziyouchutuwenwu commented on July 21, 2024

ok, i see, thank you very much!

from docker-wechat.

huan avatar huan commented on July 21, 2024

Is there anyone known the following DPI environment variables?

  1. GDK_SCALE
  2. GDK_DPI_SCALE

Will they be helpful for our DoChat? If so, how to use them?

from docker-wechat.

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.