History

Starting on bringing the overlay back to device-independent coordinates.

Andrzej Kapolka committed 12 years ago

Commit dc396e51 parent b2733872 files · +2 −2Browse files

Showing the changes to interface/src/ui/TextRenderer.cpp (1 of 2 files). Show all

Unified · Split

interface/src/ui/TextRenderer.cpp+1−1
@@ -43,7 +43,7 @@ TextRenderer::TextRenderer(const char* family, int pointSize, int weight, bool i · 42 unmodified lines
43 43
44 // double the font size for "Retina" displays44 // double the font size for "Retina" displays
45 float ratio = QApplication::desktop()->windowHandle()->devicePixelRatio();45 float ratio = QApplication::desktop()->windowHandle()->devicePixelRatio();
46 if (ratio != 1.0f) {46 if (ratio != 1.0f && false) {
47 _font.setPointSize(_font.pointSize() * ratio);47 _font.setPointSize(_font.pointSize() * ratio);
48 _metrics = QFontMetrics(_font);48 _metrics = QFontMetrics(_font);
49 _effectThickness *= ratio;49 _effectThickness *= ratio;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t