Skip to content

X11 Display Depth 30 no fonts displayed #8086

@juw

Description

@juw

Hello,

by default I use a display depth of 30 set e.g. via /etc/X11/xorg.conf.d/90-monitor.conf

Section "Monitor"
	Identifier	"Internal Display"
	[…]
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"…"
	Monitor		"Internal Display"
	DefaultDepth	30
EndSection

Then, doing the following:

$ root
root [0] TH1 *t = new TH1I("test", "test", 2, -.5, 1.5)
(TH1 *) 0x…
root [1] t->Fill(1)
(int) 2
root [2] t->Draw()
Info in <TCanvas::MakeDefCanvas>:  created default TCanvas with name c1

In the window, that opens, I would expect to see axis labels, a stat box etc. This is not the case. If I save the histogram, the labels are visible. The labels are also visible, if I do not set the display depth to 30 (but instead X11 uses a default depth of 24). Could ROOT be fixed, to also handle different display depths then 24 gracefully?

Best regards.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions