Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pixelDensity(2) is causing characters to be spaced with double width in P3D #4807

Open
ioeb opened this issue Jan 2, 2017 · 2 comments
Open
Assignees
Labels
high We'd like to fix this as soon as possible opengl

Comments

@ioeb
Copy link

ioeb commented Jan 2, 2017

MacBook Pro (Retina, 13-inch, Late 2013)
Intel Iris 1536 MB
OS X El Capitan - 10.11.6 (15G1212)
Processing 3.2.3

These two test-programs running

Test1

void setup() {
  size(480,320,P3D);
  pixelDensity(1);  
}
 
void draw() {
  text("this is text",10,10);
}

test1

Test2

void setup() {
  size(480,320,P3D);
  pixelDensity(2);  
}
 
void draw() {
  text("this is text",10,10);
}

test2

@jeremydouglass
Copy link
Contributor

I can confirm that I'm also seeing the same strange spacing on Test2 above ( pixelDensity(2) ) on a 2016 MacBook Pro (13-inch, 2016) running macOS 10.12.1.

@benfry benfry changed the title Might be a text spacing bug in retina mode pixelDensity(2) is causing characters to be spaced with double width in P3D Jan 6, 2017
@benfry benfry added the opengl label Jan 6, 2017
@codeanticode codeanticode added the high We'd like to fix this as soon as possible label Mar 11, 2017
@codeanticode
Copy link
Member

ok, will try to fix asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high We'd like to fix this as soon as possible opengl
Projects
None yet
Development

No branches or pull requests

4 participants