~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 3

[PATCH sxmo-utils 0/1] HiDPI support

~tetrakist
Details
Message ID
<161532955147.28117.18176698736449933574-0@git.sr.ht>
DKIM signature
missing
Download raw message
This adds partial HiDPI support based on Chris Billington's gracious
contributions in #193. 

The a patch of sxmo-xdm-config is also needed
to fully implement Chris' approach.

Once these are applied, apps may
need their font settings adjusted to about half the previous point size,
again per Chris' recommendations.

tetrakist (1):
  Add HiDPI support: Xft Xresources, and xorg monitor dimesions

 Makefile                         |  2 ++
 configs/appcfg/xresources_xft.xr | 13 +++++++++++++
 configs/xorg/90-monitor.conf     |  9 +++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 configs/appcfg/xresources_xft.xr
 create mode 100644 configs/xorg/90-monitor.conf

-- 
2.30.1

[PATCH sxmo-utils 1/1] Add HiDPI support: Xft Xresources, and xorg monitor dimesions

~tetrakist
Details
Message ID
<161532955147.28117.18176698736449933574-1@git.sr.ht>
In-Reply-To
<161532955147.28117.18176698736449933574-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
Patch: +24 -0
From: tetrakist <tetrakist@mutandum.com>

---
 Makefile                         |  2 ++
 configs/appcfg/xresources_xft.xr | 13 +++++++++++++
 configs/xorg/90-monitor.conf     |  9 +++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 configs/appcfg/xresources_xft.xr
 create mode 100644 configs/xorg/90-monitor.conf

diff --git a/Makefile b/Makefile
index 63b9553..3328362 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,8 @@ install: $(PROGRAMS)

	install -D -m 0644 -t $(DESTDIR)$(PREFIX)/share/applications/ configs/xdg/mimeapps.list

	install -D -m 0644 -T configs/xorg/monitor.conf $(DESTDIR)$(PREFIX)/share/X11/xorg.conf.d/90-monitor.conf 

	mkdir -p $(DESTDIR)/etc/NetworkManager/dispatcher.d
	install -D -m 0755 -T configs/networkmanager/updatestatusbar.sh $(DESTDIR)/etc/NetworkManager/dispatcher.d/10-updatestatusbar.sh
	install -D -m 0755 -T configs/networkmanager/resetscaninterval.sh $(DESTDIR)/etc/NetworkManager/dispatcher.d/20-resetscaninterval.sh
diff --git a/configs/appcfg/xresources_xft.xr b/configs/appcfg/xresources_xft.xr
new file mode 100644
index 0000000..ac1af6b
--- /dev/null
+++ b/configs/appcfg/xresources_xft.xr
@@ -0,0 +1,13 @@

! Xresource settings for HiDPI font support with Xft

Xft.dpi: 192

Xft.antialias: true

Xft.rgba: rgb

Xft.hinting: true

Xft.hintstyle: hintslight

diff --git a/configs/xorg/90-monitor.conf b/configs/xorg/90-monitor.conf
new file mode 100644
index 0000000..96ea85a
--- /dev/null
+++ b/configs/xorg/90-monitor.conf
@@ -0,0 +1,9 @@

Section "Monitor"

	Identifier "DSI-1"

	# Technically should be: Display 190 381, but this looks better(?)
	DisplaySize  95 190

EndSection
-- 
2.30.1

[sxmo-utils/patches/.build.yml] build success

builds.sr.ht
Details
Message ID
<C9T6JM86EZUV.23CBEGSHC7KW9@cirno>
In-Reply-To
<161532955147.28117.18176698736449933574-1@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/.build.yml: SUCCESS in 21s

[HiDPI support][0] from [~tetrakist][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/20884
[1]: tetrakist@mutandum.com

✓ #454559 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/454559
Details
Message ID
<20210315204038.undklotmtggfzeed@worker.anaproy.lxd>
In-Reply-To
<161532955147.28117.18176698736449933574-0@git.sr.ht> (view parent)
DKIM signature
missing
Download raw message
Thanks! Merged now

--

Maarten van Gompel (proycon)
https://proycon.anaproy.nl
Reply to thread Export thread (mbox)