3 ms·
I always have an idea in my mind that we should scale / show the interface based on font-size, adjusting borders / button accordingly p/s: obviously I have NO
by unexistance 11y ago
I always have an idea in my mind that we should scale / show the interface based on font-size, adjusting borders / button accordingly
p/s: obviously I have NO idea how easy / complex this would be, just an idea given that sometimes text contained in an element bleeds / overflows / outright missing
- ktRolster 11y agoProblem is, we still have jpgs. As long as we have raster images (instead of vector images), we'll be laying some things out based on pixels. And as long as we have photographs, we're going to have raster images, for the foreseeable future.
- adrianN 11y agoRasterizing vector images to different sizes without getting blurry results is not trivial.
- iso-8859-1 11y agoIf all targets have a relatively high DPI, does that still hold? Wouldn't it be more correct to say "it isn't trivial to rasterize vector images for low-DPI displays?"
- oneeyedpigeon 11y agoWhy not have the interface scale the image to the required size, as HTML/CSS can do?
- m_eiman 11y agoThat takes you towards HTML- or XAML-style UI definitions. I'm doing something like this in my (experimental) layout lib for embedded devices. I've written a bit about it: https://www.eiman.tv/blog/posts/liblayout/index.html https://www.eiman.tv/blog/posts/liblayout/index.html