Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4be86e71
Kaydet (Commit)
4be86e71
authored
Mar 23, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add comment about the DPI calculation
Change-Id: I791904a50db75ed94c166b0f84d9f08cb088bafe
üst
772d8c5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
salgdicommon.cxx
vcl/quartz/salgdicommon.cxx
+7
-0
No files found.
vcl/quartz/salgdicommon.cxx
Dosyayı görüntüle @
4be86e71
...
...
@@ -1736,6 +1736,13 @@ void AquaSalGraphics::initResolution( NSWindow* )
{
mnRealDPIX
=
mnRealDPIY
=
nMinDPI
;
}
// Note that on a Retina display, the "mnRealDPIX" as
// calculated above is not the true resolution of the display,
// but the "logical" one, or whatever the correct terminology
// is. (For instance on a 5K 27in iMac, it's 108.) So at
// least currently, it won't be over 200. I don't know whether
// this test is a "sanity check", or whether there is some
// real reason to limit this to 200.
static
const
int
nMaxDPI
=
200
;
if
(
(
mnRealDPIX
>
nMaxDPI
)
||
(
mnRealDPIY
>
nMaxDPI
)
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment