Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable anti aliasing on lxqt #1370

Open
Serkan-devel opened this issue Oct 30, 2017 · 20 comments
Open

How to enable anti aliasing on lxqt #1370

Serkan-devel opened this issue Oct 30, 2017 · 20 comments
Projects

Comments

@Serkan-devel
Copy link

Installing lxqt from the stable debian repositories on a fresh install of debian stretch, there is no anti-alisaing compared to lubuntu

Expected Behavior

A smoother display

Current Behavior

A more blocky display and font
2017-10-30-130119_1366x768_scrot

Steps to Reproduce (for bugs)
  1. Install debian stretch
  2. Install and configure sudo
  3. run sudo apt-get install lxqt lxqt-core
    [4. add a /etc/X11/xorg.conf.d/20-intel.conf file containing
Section "Device"
        Identifier    "Intel Graphics"
        Driver        "intel"
        Option        "AccelMethod"        "SNA"
#       Option        "SwapbuffersWait"    "false"
        Option        "TearFree"           "true"
        Option        "DRI3"               "3"
EndSection

, which removed the functionality to set screenbrightness and didn't help anti-aliasing]

Context

I didn't get an answer on niether debian, nor lxde irc on this and I don't know where to report this issue.

System Information
@Vladimir-csp
Copy link

See font settings in lxqt-config-appearance.
(or dig into fontconfig in general if you need more tuning)

@Serkan-devel
Copy link
Author

Should the DPI be turned higher?

@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

As @Vladimir-csp said, the option is already there (and checked by default?)

As for the dpi, see this open issue: https://github.com/lxde/lxqt/issues/980. I think it's urgent to fix it as soon as possible.

@Serkan-devel
Copy link
Author

So that's why I saw no change

@Serkan-devel
Copy link
Author

How can I manually change it?

@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

Your screenshot shows Firefox, which isn't a Qt app. Those settings won't have any effect on non-Qt apps.

The setting for GTK3 is in ~/.config/gtk-3.0. For GTK2 it's ~/.gtkrc-2.0. LXQt doesn't touch them.

@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

Closing this because of Firefox, for now. Reopen it if the same thing happens for Qt apps.

@tsujan tsujan closed this as completed Oct 30, 2017
@Serkan-devel
Copy link
Author

Serkan-devel commented Oct 30, 2017

It does [note the sidebar]
2017-10-30-135159_1366x768_scrot

@Serkan-devel
Copy link
Author

I can't reopen

@Vladimir-csp
Copy link

Vladimir-csp commented Oct 30, 2017

Your screenshot shows Firefox, which isn't a Qt app. Those settings won't have any effect on non-Qt apps.

That is not entirely true. lxqt-config-appearance writes to fontconfig configuration, therefore if font-related lines are not present in GTK configs, GTK will fall back to fontconfig.

Should the DPI be turned higher?

So, do you need to tweak AA or DPI? AA is already enabled judging by your screenshots.

@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

Reopening because of my probable mistake (as @Vladimir-csp said).

However, I think Firefox's page font can't be set outside Firefox. I'm not sure about Krita either.

@tsujan tsujan reopened this Oct 30, 2017
@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

@Vladimir-csp I don't think gtk font can be changed by LXQt font settings. Changing the font didn't have any effect on gnome-system-monitor, for example, although there's no font line in my GTK settings.

@Serkan-devel
Copy link
Author

Can a font change take affect in chromium?

@Vladimir-csp
Copy link

Vladimir-csp commented Oct 30, 2017

Firefox still takes font rendering settings the same way as GTK apps: from GTK configuration, with fallback to fontconfig.

I don't think gtk font can be changed by LXQt font settings.

Font - no, but font rendering settings can be.

To change font itself in GTK apps, install lxappearance.

But then again, since on screenshots AA is already enabled, what is the problem anyway?
Perhaps an issue is in hinting: either in weight or whether font's built-in instructions are used, or fontconfigs' autohint (and this depends on font itself). Also, in recent versions Fontconfig changed it's autohint behavior and dropped supoprt for built-in hinting instructions.

@Serkan-devel
Copy link
Author

AA is enabled but doesn't work

@tsujan
Copy link
Member

tsujan commented Oct 30, 2017

Font - no, but font rendering settings can be.

OK. I was on the verge of confusion ;)

@Vladimir-csp
Copy link

AA is enabled but doesn't work

Your screenshots say otherwise:
text

What result are you trying to achieve?

@Serkan-devel
Copy link
Author

Ok I compared it with screenshots on the lubuntu installation and qt is the same here.

@Serkan-devel
Copy link
Author

I just lost all panels when changing the sub-pixel geometry in lxappearance

@Serkan-devel
Copy link
Author

What sould be changed there? Kantenglättung (anti-aliasing) is enabled there

@agaida agaida added this to Whishlist in Issues Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Issues
  
Wishlist
Development

No branches or pull requests

3 participants