smashing-ebook-8

(Grace) #1

Just-in-time Resolution Independence


Another approach to handling widely different resolutions and pixel
densities is to draw everything using code or vector-based images (like
PDFs) at runtime. Without trying to stereotype anyone, it’s usually the
approach engineering-types like. It’s clean, simple and elegant. It lets you
design or code once, and display at any resolution, even at fractional scales.


Unfortunately, using vector-based images tends to be more resource-
hungry and lacks pixel level control. The increase in resources may not be
an issue for a desktop OS, but it is a considerable problem for a mobile OS.
The lack of pixel level control is a very real problem for smaller elements.
Change an icon’s size by one pixel, and you will lose clarity.

Free download pdf