Comments (8)
Any idea what your context scaling factor is? I suspect it is fractional (like 1.5 or 2.5)?
from openrndr.
The window.scale
property (inside a Program
instance) is weird: Vector2(x=1.0, y=1.0026315450668335).
from openrndr.
This is what the debugger says:
val wcsx = FloatArray(1) // wcsx[0] = 1.0
val wcsy = FloatArray(1) // wcsy[0] = 1.0026315450668335
glfwGetWindowContentScale(window, wcsx, wcsy) // ← this line sets values above
from openrndr.
I suspect this is caused by something that is out of OPENRNDR's reach. You may want to test against some of the glfw examples in C and see if glfwGetWindowContentScale
reports the same scale factors so we can report this as either a glfw or lwjgl bug.
I am leaving the issue open for reference but I cannot resolve it as I don't have the means to reproduce the reported issue.
from openrndr.
Is FunctionDrawer
from openrndr? I dont' have it.
from openrndr.
Is
FunctionDrawer
from openrndr? I dont' have it.
Hi @clankill3r, FunctionDrawer
was removed from the library as there's now an extend
overload that takes a function directly.
from openrndr.
Closing this as it is getting old
from openrndr.
Ran into this problem again. It happens when the system dpi is set to something that is not a multiple of 96. It can be fixed by running xrandr --dpi 96
, although I am not sure if this is the right solution.
from openrndr.
Related Issues (20)
- Bug report: Custom display scaling leads to unexpected behavior in ScreenRecorder
- Feature request: Deprecate `rgba` and `hsva`
- Feature request: ColorRGBa API changes HOT 1
- OPENRNDR 0.4.1 HOT 3
- Custom rendertargets broken in WebGL HOT 1
- OPENRNDR 0.4.2
- Bug report: ShapeContour minimum distance between segments not consistent
- Bug report: Drawer.composition applies opacity twice HOT 1
- Compiler error HOT 1
- ApplicationGLFWGL3's window size cache is not reset on resize
- OPENRNDR 0.4.3
- [openrndr-ffmpeg] embedded ffmpeg does not work on Windows and macOS (Intel) HOT 1
- Bug report: Standalone Executable crashed when ScreenRecorder instance .outputToVideo is toggled to true HOT 1
- Bug report: Inconsistent SIGSEGV Error with face.glyphForCharacter('a').shape(faceSize) in Various Scenarios HOT 1
- OPENRNDR 0.4.4
- Random lines appear when using `OrbitalCamera` HOT 6
- [ColorBuffer] Can't 'copy to' from position (0, 0) to (0, 0) HOT 3
- Texture parameters in shade style overwrite texture bindings of FontImageMapDrawer HOT 1
- drawer.circle and contour(circle) produce different circle size, which gets amplified with contentScale HOT 1
- Composition: effectiveTransform does not take viewport transform into account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrndr.