Nuklear.jl icon indicating copy to clipboard operation
Nuklear.jl copied to clipboard

Fonts + high DPI

Open SimonDanisch opened this issue 6 years ago • 2 comments

Fonts look pretty bad and elements are very small on a high dpi display. Those issues are likely related!

Fonts seem like they can look nice: https://github.com/vurtun/nuklear/issues/69

I guess I can also answer my second question: https://github.com/vurtun/nuklear/issues/283 :D It's pretty easy to figure out the dpi of a screen with GLFW, so maybe we can do that and scale the demo accordingly

SimonDanisch avatar Jan 31 '19 14:01 SimonDanisch

Thanks for the info! This is already on my radar, joa-quim complained about this a while ago: https://discourse.julialang.org/t/nuklear-jl-a-julia-wrapper-for-nuklear/17990/13

Currently, even changing fonts will crash Julia, I'm gonna debug this in the upcoming holiday :)

Gnimuc avatar Jan 31 '19 15:01 Gnimuc

hi @SimonDanisch, the simple solution is to use larger fonts. With Roboto-Bold+18 font size, it actually looks good on my display(227 ppi).

screen capture

screen shot 2019-02-10 at 11 05 44 am

photo shoot

img_8017

Gnimuc avatar Feb 10 '19 03:02 Gnimuc