# Pixelated Text Anki in Hyprland and Plasma-Wayland with scaling 1.25

**URL:** <https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746>\
**Category:** Help\
**Created:** [August 29, 2023, 2:58pm UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746 "2023-08-29T14:58:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [August 29, 2023, 2:58pm UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/1 "2023-08-29T14:58:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/9/977e9b29b47d2df5f893ef429dfecff31f958e06.png)

```auto
[phoenix@ArchLinux ~]$ echo $ANKI_WAYLAND 
1
[phoenix@ArchLinux ~]$ echo $QT_QPA_PLATFORM 
wayland

```

even after setting these variable , its still looking pixelated.

Version ⁨2.1.65 (aa9a734f)⁩  
Python 3.11.5 Qt 6.5.2 PyQt 6.5.2  
OS: Arch Linux x86\_64  
Kernel: 6.4.12-arch1-1  
DE: Hyprland

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 30, 2023, 4:06am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/2 "2023-08-30T04:06:30Z")

</div>

Are you using the official binary build from the Anki website, or your distro’s package?

---

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [August 30, 2023, 4:30am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/3 "2023-08-30T04:30:00Z")

</div>

I have two builds, both showing same behaviour.

1. `https://aur.archlinux.org/packages/anki-bin`
2. Anki-beta using Pip method `https://betas.ankiweb.net/`

console Output AnkiBeta-\>

```auto
[phoenix@ArchLinux ~]$ pyenv/bin/anki
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
1021636467 inserted a new menu.
gettext _() is deprecated: Postpone cards
gettext _() is deprecated: Postpone cards
addons21/149564514/defer_cards.py:20:intTime is deprecated: please use 'int_time'
addons21/149564514/config.py:11:json is deprecated: please implement your own
addons21/295889520/main.py:18:isWin is deprecated: please use 'is_win'
addons21/295889520/main.py:18:isMac is deprecated: please use 'is_mac'
874215009/advancedbrowser/internal_fields.py:8:intTime is deprecated: please use 'int_time'
Starting main loop...
conf key heatmap should be fetched with col.get_config(), and saved with col.set_config()
conf key heatmap should be fetched with col.get_config(), and saved with col.set_config()
conf key heatmap should be fetched with col.get_config(), and saved with col.set_config()
['_ch-pygments-solarized.css', '_ch-hljs-solarized.css']
conf key imgocc should be fetched with col.get_config(), and saved with col.set_config()
conf key imgocc should be fetched with col.get_config(), and saved with col.set_config()
conf key imgocc should be fetched with col.get_config(), and saved with col.set_config()

```

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 30, 2023, 4:52am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/4 "2023-08-30T04:52:29Z")

</div>

Given that it happens with both system and bundled Qt libraries, I’m guessing it’s some font-related issue. Your distro’s forums may have some ideas.

---

<div class="post-metadata">

**Author:** ![phoenix98](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@phoenix98](https://forums.ankiweb.net/u/phoenix98)\
**Post date:** [September 3, 2023, 7:46am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/5 "2023-09-03T07:46:34Z")

</div>

I asked on `https://bbs.archlinux.org/viewtopic.php?pid=2118687#p2118687` , and then found out that Anki was running on wayland, `QT_QPA_PLATFORM=wayland` and `ANKI_WAYLAND=1` were set , so is it known bug that pixalation will ocuur in wayland or is it just me facing this ?

If i set `QT_QPA_PLATFORM=xcb` , then anki runs on xwayland and font renders perfectly.

But the problem is , i 't want to keep `QT_QPA_PLATFORM=wayland` for other QT programs.

Is there a way to make only force anki to run on xwayland ? i tried ANKI\_WAYLAND=0 but it dosen’t change anything and anki still runs on wayland.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [September 4, 2023, 6:45am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/6 "2023-09-04T06:45:01Z")

</div>

I use Sway (Wayland) and fonts are nice and crisp, so I’m not sure what the problem could be. You could make a simple wrapper script that sets QT\_QPA\_PLATFORM and then invokes Anki if you don’t want to have the setting applied globally.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [October 4, 2023, 6:45am UTC](https://forums.ankiweb.net/t/pixelated-text-anki-in-hyprland-and-plasma-wayland-with-scaling-1-25/33746/7 "2023-10-04T06:45:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
