Questions tagged [retina]

Name used by Apple for their liquid crystal displays with a high pixel density.

239 questions
36
votes
1 answer

Java 9 hdpi display support - multi-resolution images - name convention and loading in Windows

According to these articles: http://news.kynosarges.org/2015/06/29/javafx-dpi-scaling-fixed https://twitter.com/michaelsamarin/status/729234779292483584 Java 9 should support high DPI displays (automatic DPI scaling) in Swing. I have tested it on…
Jolinar
  • 866
  • 8
  • 16
22
votes
3 answers

iOS drawing in CALayers drawInContext is either pixelated or blurry on retina

I have a custom UIView that draws something in an overwritten - (void)drawRect:(CGRect)rect this works fine and gives sharp results on retina screens. However, now I would like to make the properties on which the drawing is based animatable.…
matthias_buehlmann
  • 4,641
  • 6
  • 34
  • 76
21
votes
7 answers

window.devicePixelRatio change listener

window.devicePixelRatio will return 1 or 2 depending on if I'm using my retina monitor or standard. If I drag the window between the two monitors, this property will change. Is there a way I can have a listener fire when the change occurs?
Matt Coady
  • 3,418
  • 5
  • 38
  • 63
18
votes
5 answers

Org LaTeX preview is fuzzy on retina displays

I have been using Emacs 24.4 for all my math/scientific notes. org-latex-preview is fantastic for this! But recently, I upgraded to a macbook pro with retina display, and I now see that all my equations in org-mode are... fuzzy. Is there a setting I…
Adam
  • 2,137
  • 16
  • 29
14
votes
3 answers

How to prevent half-pixel SVG shift on high pixel ratio devices (Retina)?

I have a HTML webpage with SVG image. I get a problem (excess white line, shown on the picture below) on the webpage when I visit it using iOS Safari or Android Browser. The screenshot resolution is 2x, the saw edge is a SVG image. I've found out…
Finesse
  • 9,793
  • 7
  • 62
  • 92
13
votes
1 answer

@2x retina image equivalent in Android

I'm converting a iOS application to android. (using android studio) I have all my image as ...@2x.png So, My 2 questions: 1- Can I copy all my @2x to ONLY folder "xhdpi", and android will auto adjust density for the devices? 2- Was "xhdpi" really…
Franck
  • 8,939
  • 8
  • 39
  • 57
10
votes
2 answers

Retina support in Qt5 on OS X

I'm writing a C++ graphical application using Qt 5.5.0 on OS X El Capitan on a Retina MacBook Pro. Text is pixelated throughout the application so I suspect that high DPI mode is not used. My Info.plist contains the following…
SurvivalMachine
  • 7,946
  • 15
  • 57
  • 87
9
votes
4 answers

How To Save PNG file From NSImage (retina issues) The Right Way?

I am trying to save each image in an array as a .PNG file (also as the right size, without scaling up because of retina mac dpi issues) and can't seem to find a solution. NONE of the solutions at How to save PNG file from NSImage (retina issues)…
weteamsteve
  • 189
  • 3
  • 20
8
votes
1 answer

Qt: How to use AA_UseHighDpiPixmaps for two monitors

I'm using two monitors: Retina and Normal. I read this article http://blog.qt.io/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ There are: QIcon::pixmap() has been modified to return a larger pixmap on high-dpi systems. This is a…
fhdnsYa
  • 443
  • 1
  • 6
  • 15
7
votes
1 answer

Is there any media query for non-retina display?

According to an article on CSS-Tricks, the future proof media queries for retina display can be wrote as: @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min--moz-device-pixel-ratio: 2), only screen and ( …
Ian Y.
  • 2,293
  • 6
  • 39
  • 55
7
votes
0 answers

Javascript: How do I access Hi-DPI/Retina image from the clipboard on a paste event?

I have a paste handler which takes an image in the clipboard and uploads it to the server. I can successfully access the clipboard data, but if the clipboard image data has a resolution higher than 72ppi, it gets downsampled to 72ppi. This is…
Chanpory
  • 3,015
  • 6
  • 37
  • 49
7
votes
2 answers

Is there a way to run genymotion in hidpi mode?

I am trying to run genymotion on a rMBP in HiDPI mode. Apparently my Virtualbox version already has NSHighResolutionCapable set in Contents/Info.plist Still genymotion does scale the vm up to 200%, which not only makes everything…
maddrag0n
  • 459
  • 4
  • 13
6
votes
1 answer

SVG rendered into canvas blurred on retina display

I have an issue with SVG rendered into canvas. On retina displays canvas rendered as base64 url and set as SRC into is blurred. I've tried various methods that was described in list below with no…
Gnato
  • 319
  • 3
  • 13
6
votes
2 answers

Strange behavior with embedded highDPI images in Apple Mail 7.0

I came across an issue where images get displayed in there native size even with width attribute: Here's my test html
Xaver
  • 11,144
  • 13
  • 56
  • 91
5
votes
0 answers

low resolution of preview-latex in emacs in latex mode on mac with retina display

if I am running latex preview within emacs on mac with retina display, unfortunately I am not getting the proper resolution but rather some fuzzy looking (I guess half the resolution) images. Still, the size of the image is correct. Skreenshot…
sani
  • 53
  • 6
1
2 3
15 16