justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Hey Justin, for my gui-library I need to prevent Retina-upscaling since I have my own scaling-engine. How do I turn off Retina on Retina computers? gfx.ext_retina=0?
Asked by Mespotine (176.6.145.x) on January 6 2025, 9:42pm
Reply on January 7 2025, 3:46am:
    gfx.ext_retina=1 on initialization. then, from that point on, you'd want to render with your own scaling, using gfx.ext_retina as the scalefactor. e.g. if it is 2.0, you should use fonts that are double the size, etc. does that make sense? and additionally, on Windows/linux, it will get set with the effective scaling.


Comments:
  • Posted by Mespotine (176.6.144.x) on January 7 2025, 7:45pm:
    So, if I understand correctly, it's not possible to turn Retina-support off? I basically just want to have on all systems the same behavior as on non-Retina systems.

  • Posted by Justin on January 7 2025, 9:24pm:
    If you set gfx.ext_retina=1 and then subsequently ignore it, on macOS retina displays everything will be tiny and high resolution. is that what you mean?

  • Posted by Mespotine (176.6.144.x) on January 7 2025, 9:39pm:
    Probably yes, will check this out. Thanks :)


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS