Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 14.2 ('Cocoa Fonts')
Instant purchase and download via GumRoad!

COLUMN

Column

Issue: 14.2 (March/April 2016)
Author: Paul Lefebvre
Author Bio: Paul Lefebvre is the Xojo Developer Evangelist. He has developed software professionally for more than 20 years and has been using Xojo and prior versions since 2001.
Article Description: No description available.
Article Length (in bytes): 4,555
Starting Page Number: 84
Article Number: 14208
Related Web Link(s):

http://developer.xojo.com
http://developer.xojo.com/eddies-electronics-web-service

Excerpt of article text...

# HiDPI

What is HiDPI? It stands for high dots per inch and refers to displays that use many more dots per inch to render an extremely sharp display where it is difficult to see individual pixels. Apple uses the term Retina to identify their HiDPI displays.

If you have a Mac but don't have a Retina display, you can simulate it by changing your display resolution in System Preferences. Go to the Display section and select "Scaled." On my 27" 2560x1440 display, there are lots of options available but the one to note is the 1280x720 (HiDPI) setting (see Figure 1). When I choose this, my display resolution drops in half, but I get incredibly sharp text. A 1280x720 resolution display is not all that usable, but it can be helpful for testing. (By the way, if you Option-Click on the "Scaled" radio button, you'll see even more display resolutions in the list.)

On OS X you could enable HiDPI (retina) for your Xojo apps by manually editing the Info.plist file in the app bundle, but the next version of Xojo will make it even easier. There will be a "Supports Hi-DPI" property on the app settings that you can turn on to enable HiDPI support for your app.

In addition to that simple switch, there are several other enhancements and changes made to the Window, Graphics, and some other classes to allow you to handle your own images so that they display properly. For more information on this, refer to the Xojo Dev Center: http://developer.xojo.com

This also means that the Xojo IDE itself will also be using HiDPI graphics so that everything is sharp and crystal clear.

...End of Excerpt. Please purchase the magazine to read the full article.