Resolution independence

Resolution independence is where elements on a computer screen are rendered at sizes independent from the pixel grid, resulting in a graphical user interface that is displayed at a consistent physical size, regardless of the resolution of the screen.[1]

Concept

As early as 1978, the typesetting system TeX due to Donald Knuth introduced resolution independence into the world of computers. The intended view can be rendered beyond the atomic resolution without any artifacts, and the automatic typesetting decisions are guaranteed to be identical on any computer up to an error less than the diameter of an atom. This pioneering system has a corresponding font system, Metafont, which provides suitable fonts of the same high standards of resolution independence.

The terminology device independent file format (DVI) is the file format of Donald Knuth's pioneering TeX system. The content of such a file can be interpreted at any resolution without any artifacts, even at very high resolutions not currently in use.

Implementation

The macOS 10.8.5 System Preferences dialog, non-scaled UI (left) and scaled HighDPI UI (right)

macOS

Apple included some support for resolution independence in early versions of macOS, which could be demonstrated with the developer tool Quartz Debug that included a feature allowing the user to scale the interface. However, the feature was incomplete, as some icons did not show (such as in System Preferences), user interface elements were displayed at odd positions and certain bitmap GUI elements were not scaled smoothly.[2] Because the scaling feature was never completed, macOS's user interface remained resolution-dependent.

On June 11, 2012, Apple introduced the 2012 MacBook Pro with a resolution of 2880×1800 or 5.2 megapixels – doubling the pixel density in both dimensions.[3] The laptop shipped with a version of macOS that provided support to scale the user interface twice as big as it has previously been. This feature is called HighDPI mode in macOS and it uses a fixed scaling factor of 2 to increase the size of the user interface for high-DPI screens. Apple also introduced support for scaling the UI by rendering the user interface on higher or smaller resolution that the laptop's built-in native resolution and scaling the output to the laptop screen. One obvious downside of this approach is either a decreased performance on rendering the UI on a higher than native resolution or increased blurriness when rendering lower than native resolution. Thus, while the macOS's user interface can be scaled using this approach, the UI itself is not resolution-independent.

Microsoft Windows

The GDI system in Windows is pixel-based and thus not resolution-independent. To scale up the UI, Microsoft Windows has supported specifying a custom DPI from the Control Panel since Windows 95.[4] (In Windows 3.1, the DPI setting is tied to the screen resolution, depending on the driver information file.) When a custom system DPI is specified, the built-in UI in the operating system scales up. Windows also includes APIs for application developers to design applications that will scale properly.

GDI+ in Windows XP adds resolution-independent text rendering[5] however, the UI in Windows versions up to Windows XP is not completely high-DPI aware[6] as displays with very high resolutions and high pixel densities were not available in that time frame. Windows Vista and Windows 7 scale better at higher DPIs.

Windows Vista also adds support for programs to declare themselves to the OS that they are high-DPI aware via a manifest file or using an API.[7][8] For programs that do not declare themselves as DPI-aware, Windows Vista supports a compatibility feature called DPI virtualization so system metrics and UI elements are presented to applications as if they are running at 96 DPI and the Desktop Window Manager then scales the resulting application window to match the DPI setting. Windows Vista retains the Windows XP style scaling option which when enabled turns off DPI virtualization (blurry text) for all applications globally.

Windows Vista also introduces Windows Presentation Foundation. WPF applications are vector-based, not pixel-based and are designed to be resolution-independent.

Windows 7 adds the ability to change the DPI by doing only a log off, not a full reboot and makes it a per-user setting. Additionally, Windows 7 reads the monitor DPI from the EDID and automatically sets the DPI value to match the monitor's physical pixel density, unless the effective resolution is less than 1024 x 768.

In Windows 8, only the DPI scaling percentage is shown in the DPI changing dialog and the display of the raw DPI value has been removed.[9] In Windows 8.1, the global setting to disable DPI virtualization (only use XP-style scaling) is removed.[9] At pixel densities higher than 120 PPI (125%), DPI virtualization is enabled for all applications without a DPI aware flag (manifest) set inside the EXE. Windows 8.1 retains a per-application option to disable DPI virtualization of an app.[9] Windows 8.1 also adds the ability for each display to use an independent DPI setting, although it calculates this automatically for each display. Windows 8.1 prevents a user from forcibly enabling DPI virtualization of an application. Therefore, if an application wrongly claims to be DPI-aware, it will look too small on high-DPI displays in 8.1, and a user cannot correct that.[10]

Windows 10 adds manual control over DPI for individual monitors. In addition, Windows 10 version 1703 brings back the XP-style GDI scaling under a "System (Enhanced)" option. This option combines GDI+'s text rendering at a higher resolution with the usual scaling of other elements, so that text appears crisper than in the normal "System" virtualization mode.[11]

Android

Since Android 1.6 "Donut" (September 2009)[12] Android has provided support for multiple screen sizes and densities. Android expresses layout dimensions and position via the density-independent pixel or "dp" which is defined as one physical pixel on a 160 dpi screen. At runtime, the system transparently handles any scaling of the dp units, as necessary, based on the actual density of the screen in use.[13]

To aid in the creation of underlying bitmaps, Android categorizes resources based on screen size and density:

Illustration of how Android roughly maps actual sizes and densities to generalized sizes and densities.
Illustration of how Android roughly maps actual sizes and densities to generalized sizes and densities.

X Window System

The GNOME 3.10 Control Center's printer settings, non-scaled (left) and scaled (right)

The Xft library, the font rendering library for the X11 system, has a dpi setting that defaults to 75. This is simply a wrapper around the FC_DPI system in fontconfig, but it suffices for scaling the text in Xft-based applications. The mechanism is also detected by desktop environments to set its own DPI, usually in conjunction with the EDID-based DisplayWidthMM family of Xlib functions. The latter has been rendered ineffective in Xorg Server 1.7; since then EDID information is only exposed to XRandR.[14]

In 2013, the GNOME desktop environment began efforts to bring resolution independence ("hi-DPI" support) for various parts of the graphics stack. Developer Alexander Larsson initially wrote[15] about changes required in GTK+, Cairo, Wayland and the GNOME themes. At the end of the BoF sessions at GUADEC 2013, GTK+ developer Matthias Clasen mentioned that hi-DPI support would be "pretty complete" in GTK 3.10[16] once work on Cairo would be completed. As of January 2014, hi-DPI support for Clutter and GNOME Shell is ongoing work.[17][18][19][20]

Gtk supports scaling all UI elements by integer factors, and all text by any non-negative real number factors. As of 2019, Fractional scaling of the UI by scaling up and then down is experimental.[21]

Other

Although not related to true resolution independence, some other operating systems use GUIs that are able to adapt to changed font sizes. Microsoft Windows 95 onwards used the Marlett TrueType font in order to scale some window controls (close, maximize, minimize, resize handles) to arbitrary sizes. AmigaOS from version 2.04 (1991) was able to adapt its window controls to any font size.[failed verification]

Video games are often resolution-independent; an early example is Another World for DOS, which used polygons to draw its 2D content and was later remade using the same polygons at a much higher resolution. 3D games are resolution-independent since the perspective is calculated every frame and so it can vary its resolution.

See also

References

  1. ^ Carmody, Tim. "Will Resolution Independent Interfaces Ever Come to the Mac?". Wired. ISSN 1059-1028. Retrieved 2022-05-06.
  2. ^ Apple (April 29, 2005). "Resolution Independent UI Release Notes for Mac OS X v10.4". Apple Developer Connection. Retrieved 2007-03-25.
  3. ^ Anand Lal Shimpi (June 11, 2012). "MacBook Pro Retina Display Analysis". AnandTech. Retrieved 2012-06-12.
  4. ^ Where does 96 DPI come from in Windows?
  5. ^ Why text appears different when drawn with GDIPlus versus GDI
  6. ^ Windows XP and Windows 2000 do not natively support high-DPI screens
  7. ^ "Win32 SetProcessDPIAware Function".
  8. ^ "Windows Vista DPI Settings". 10 December 2006.
  9. ^ a b c High DPI Settings in Windows
  10. ^ "Scaling Windows - The DPI Arms Race - Print View".
  11. ^ "Improving the high-DPI experience in GDI based Desktop Apps". Windows Developer Blog (MSDN). 19 May 2017. Retrieved 20 February 2020.
  12. ^ "Android 1.6 Platform Highlights".
  13. ^ "Screen compatibility overview".
  14. ^ "Bug #589485 "Ignores physical display size and calculates based ..." : Bugs : xorg-server package : Ubuntu". bugs.launchpad.net.
  15. ^ "HiDPI support in Gnome – Alexander Larsson".
  16. ^ "GTK+ meeting notes | Goings on".
  17. ^ "ThreePointNine/Features/Hidpi - GNOME Wiki!".
  18. ^ "Bug 705915 – Support high dpi displays".
  19. ^ "Bug 705410 – hi-dpi support: Scale UI".
  20. ^ "Bug 705411 – hi-dpi support: Scale window decorations".
  21. ^ "How To Enable HiDPI Fractional Scaling For Wayland Or X11 On Ubuntu 19.04 Disco Dingo". Linux Uprising Blog.

Read other articles:

Gambar Rishabhanatha (tirthankara pertama) Dalam agama Jainisme, tirthankara (bahasa Sansekerta: tīrthaṅkara) adalah guru dharma yang maha mengetahui yang mengajarkan cara untuk membebaskan diri dari siklus kematian dan kehidupan yang disebut saṃsāra. Menurut penganut agama Jain, ajaran Jain mulai dilupakan seiring berjalannya waktu. Kemudian, ada satu orang yang berhasil menolak hal-hal duniawi untuk menaklukkan samsara dengan kemampuannya sendiri. Setelah Tirthankara mencapai keadaan ...

 

239e régiment d'infanterie Insigne régimentaire du 239e régiment d'infanterie Création août 1914août 1939 Dissolution novembre 1917mai 1940 Pays France Branche Armée de terre Type Régiment d'infanterie Rôle Infanterie Garnison Rouen Inscriptionssur l’emblème Artois 1915Verdun 1916 Guerres Première Guerre mondialeSeconde Guerre mondiale Batailles 1914 - Bataille de Charleroi1914 - Bataille de Guise1915 - Bataille de l'Artois1916 - Bataille de Verdun1940 - Bataille de France m...

 

Galaksi spiral, Messier 101. Galaksi spiral merupakan tipe galaksi yang terdiri dari piringan galaksi yang rata dan berputar, yang berisi bintang, medium antarbintang, dan pusat konsentrasi bintang-bintang di bagian tengah galaksi. Tipe ini merupakan satu dari tiga Klasifikasi morfologi galaksi yang utama yang digambarkan oleh Edwin Hubble pada karyanya tahun 1936 The Realm of the Nebulae,[1] bersama dengan galaksi elips dan galaksi lentikular. Galaksi spiral diberi nama sesuai dengan...

Guillaume Seye Guillaume Seye als Grandfondo wereldkampioen tijdrijden 2023 © Tiana Troch Persoonlijke informatie Geboortedatum 28 november 1996 Geboorteplaats Deinze, België Sportieve informatie Huidige ploeg Team Charlies - Metalced Discipline(s) Weg Ploegen 20182019-202020212022- →Vérandas Willems (stagiair)BEAT Cycling ClubVetrapo B-close CT Team Charlies - Metalced Portaal    Wielersport Guillaume Seye (Deinze, 28 november 1996) is een Belgisch wegwielrenner. Seye komt van...

 

CentrophorusIntervalo temporal: 94–0 Ma PreЄ Є O S D C P T J K Pg N Turoniano-presente[1] Centrophorus granulosus Classificação científica Domínio: Eukaryota Reino: Animalia Filo: Chordata Classe: Chondrichthyes Ordem: Squaliformes Família: Centrophoridae Gênero: CentrophorusJ. P. Müller & Henle, 1837 Centrophorus é um género de tubarões esqualiformes de águas profundas. As espécies integradas neste género caracterizam-se por corpos fusiformes, de cor cinzenta ou aca...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: The Mouse on the Moon – news · newspapers · books · scholar · JSTOR (January 2023) (Learn how and when to remove this template message) 1963 film by Richard Lester The Mouse on the MoonOriginal film posterDirected byRichard LesterWritten byMichael PertweeProduc...

Restaurant in New York City OceanaOceana in November 2023Restaurant informationStreet address120 West 49th StreetCityNew York CityStateNew YorkPostal/ZIP Code10020CountryUnited StatesCoordinates40°45′35.2″N 73°58′56.3″W / 40.759778°N 73.982306°W / 40.759778; -73.982306WebsiteOfficial website Oceana is a restaurant in New York City.[1][2] The restaurant opened in 2009[3] and serves seafood.[4] See also List of Michelin starred...

 

Dalam artikel ini, nama keluarganya adalah Mattotorang, nama keluarga patronimik Bugis; Andi adalah gelar kehormatan bangsawan Bugis. Andi Fadly Arifuddin ᨕᨉᨗ ᨄᨉᨛᨒᨗ ᨕᨑᨗᨄᨘᨉᨗLahirAndi Fadly Arifuddin Mattotorang13 Juni 1975 (umur 48)Ujung Pandang, Sulawesi SelatanKebangsaanIndonesiaAlmamaterUniversitas AirlanggaPekerjaanPenyanyipenulis lagumusikusaktorTahun aktif1989–sekarangSuami/istriDeasy Aulia ​(m. 2001)​Anak4Orang tuaAn...

 

Estonia na Letnich Igrzyskach Olimpijskich 1920 Kod MKOl EST Letnie Igrzyska Olimpijskie 1920Antwerpia Chorąży Harald Tammer Liczba zawodników 14 w 3 dyscyplinach MedalePozycja: 14. Złoto1 Srebro2 Brąz0 Razem3 Debiutującą Estonię na Letnich Igrzyskach Olimpijskich 1920 reprezentowało 14 sportowców, sami mężczyźni. Brali udział w 19 konkurencjach w 3 dyscyplinach. Zdobyli 3 medale, 1 w lekkoatletyce i 2 w podnoszeniu ciężarów. Medale Medal Zawodnik Dyscyplina Konkurencja ...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) دوري أبطال أوقيانوسيا لكرة القدم 10-2011بطولة دوري أبطال أوقيانوسيا لكرة القدم ستلعب في نسختها الخامسة على ...

 

Waters v Commissioner of Police of the MetropolisCourtHouse of LordsDecided27 July 2000Citation(s)[2000] 1 WLR 1607; [2000] UKHL 50; [2000] IRLR 720Court membershipJudge(s) sittingLord Slynn of Hadley, Lord Jauncey of Tullichettle, Lord Clyde, Lord Hutton and Lord MillettKeywordsDiscrimination Waters v Commissioner of Police of the Metropolis [2000] UKHL 50 is a UK labour law case concerning victimisation for alleging rape, and whether the employee could claim this amounted to sex...

 

Jessey WadeThe Animals' Friend Cat Book mentions an office cat called Tibby who is depicted in an illustration alongside a writer/illustrator who is potentially Jessey Wade.BornAnna Jessey Wade(1859-12-02)2 December 1859Westminster, London, EnglandDied10 May 1952(1952-05-10) (aged 92)London, EnglandKnown for Animal welfare advocacy Co-founding the Cats Protection League Anna Jessey Wade[1] (2 December 1859 – 10 May 1952) was an English suffragist and campaigner for animal ...

Fictional character on Desperate Housewives Soap opera character Katherine MayfairDesperate Housewives characterDana Delany as Katherine MayfairPortrayed byDana DelanyDuration2007–2010, 2012First appearanceNow You Know4x01, September 30, 2007Last appearanceFinishing the Hat8x23, May 13, 2012Created byMarc CherryIn-universe informationOther namesKatherine Davis (first married name) Kathy (nickname by Wayne)OccupationOwner of French Pastry CompanyFormerPresident of the Hom...

 

Short story by Rex StoutThe Rodeo MurderShort story by Rex StoutCountryUnited StatesLanguageEnglishGenre(s)Detective fictionPublicationPublished inThree at Wolfe's DoorPublisherViking PressMedia typeHardcoverPublication dateApril 29, 1960SeriesNero Wolfe The Rodeo Murder is a Nero Wolfe mystery novella by Rex Stout, first published in April 1960 in the short-story collection Three at Wolfe's Door (Viking Press). Plot summary The Penthouse Murder, illustrated by Sam Bates, appeared in the ...

 

Cet article est une ébauche concernant la France et le rugby à XV. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. L'équipe de France de rugby à XV, en 1907, dispute un seul match. Déroulé Angleterre (13-41) 17 joueurs sont convoqués par Cyril Rutherford, secrétaire de la section rugby l'USFSA, et Charles Brennus, à la gare du Nord le vendredi 4 janvier 1907 pour un départ vers Londres[1]. Le joueur Pau...

19th episode of the 1st season of The Twilight Zone The Leprechaun-ArtistThe Twilight Zone episodeScene from The Leprechaun-ArtistEpisode no.Season 1Episode 19aDirected byTommy Lee WallaceWritten byTommy Lee WallaceProduction code23Original air dateFebruary 21, 1986 (1986-02-21)Guest appearancesBradley Gregg: Richie Danny Nucci: Buddy Joey Green: J.P. Cork Hubbert: Leprechaun James Hess: Sgt. Brewer Marguerite De Lain: J.P.'s Mom Burr Middleton: Richie's Dad Chuck Stransky...

 

Village and civil parish in the West Lindsey district of Lincolnshire, England Human settlement in EnglandHemswellAll Saints Church, HemswellHemswellLocation within LincolnshirePopulation309 (2001)OS grid referenceSK930909• London130 mi (210 km) SDistrictWest LindseyShire countyLincolnshireRegionEast MidlandsCountryEnglandSovereign stateUnited KingdomPost townGainsboroughPostcode districtDN21PoliceLincolnshireFireLincolnshireAmbulanceEast Mi...

 

Эта статья — о письменности. О блоке Юникода см. Арабское письмо (блок Юникода). Запрос «Арабский алфавит»[d] перенаправляется сюда. На эту тему нужно создать отдельную статью. Арабское письмо Пример Тип письма консонантное Языки Арабский, персидский, уйгурск...

16th Chief of Army Staff (Nigeria) Lieutenant generalLuka YusufCFR GSS GPP DSO psc(+) fwc MscChief of Army StaffIn officeMay 2007 – August 2008PresidentUmaru Musa Yar'AduaPreceded byO.A. AzaziSucceeded byA.B. DambazauCommand Officer in Charge of the Armed Forces of LiberiaIn officeFebruary 2006 – May 2007PresidentEllen Johnson SirleafSucceeded bySuraj Abdurrahman Personal detailsBorn(1952-09-22)22 September 1952Bara-Kagoma, Northern Region, British Nigeria (now in Kaduna...

 

Island in Ulster, IrelandToraigh Tory IslandIslandAerial view of Tory IslandToraighLocation in IrelandCoordinates: 55°15′45″N 8°13′00″W / 55.2626°N 8.2168°W / 55.2626; -8.2168CountryIrelandProvinceUlsterCountyCounty DonegalGovernment • Dáil ÉireannDonegalArea[1] • Total3.5816 km2 (1.3829 sq mi)Population (2022)[2]141Time zoneUTC+0 (WET) • Summer (DST)UTC-1 (IST (WEST))Area code(s)074,...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!