Re: [Tuxpaint-devel] Question about aspect ratio on Android
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2022-03-29 23:39:26
|
El dt. 29 de 03 de 2022 a les 00:49 -0700, en/na Bill Kendrick va escriure: > On Sun, Mar 27, 2022 at 11:55:41PM +0200, Pere Pujal i Carabantes wrote: > > El dg. 27 de 03 de 2022 a les 12:44 -0700, en/na Bill Kendrick va escriure: > > > Hi all (esp. Pere), > > > > > > This question came in via Twitter: > > > > > > I'd like to ask why I can't force the app into a 16:9 aspect ratio > > > on these new, wider-than-wide phones > > > > > > Any ideas? Thanks in advance, > > > > > > > Tuxpaint on Android runs with --fullscreen native, so it gets what SDL2 passes on. > > > > I've never tried to launch it windowed(if that is possible in Android), > > and the small configuration tool for Android doesn't handle window size. > > Anyway one could manually edit the config file in > > /sdcard/Android/data/org.tuxpaint/files/tuxpaint.cfg and try that. > > > > That said, IIRC the SDL2 version used in the builds is the 2.0.14, not sure if a newer version would help with wider screens. > > > > A screenshot of the problem? > > They wrote back: > > I can test out a sorta Windowed mode on my phone > > I wonder if perhaps we should open a ticket at SourceForge for this? > Can you? Shall I? Or should I ask them to? (I hate being the > middleman :-) ) > > -bill! I've made some tests in a emulator, about 2:1 ratio, and tuxpaint perfoms fine using all availabe space. Re-reading the question seems they want to _discard_ some of the wide space in order to get a 16:9 ratio. If that is what they want, they need to modify the fullscreen line to read something like fullscreen=1600x900 then change the native line to native=no With that in place I get two black bands at each side of the tuxpaint window. It is not obvious to manually change/edit the config file in Android, one must 'su' to the user who owns the tuxpaint.cfg file(u0_a153 in the case of my emulator) and edit the file as that user, so I don't expect any non rooted phone being able to do this. Is it worth to extend the config tool to be able to cope with this requirement? Looks doable but it will take some time... About the ticket at SF I was going to open it when I re-readed the message, I'd want to be sure I do not missunderstand the problem :) Best Pere > > > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |