Article View: comp.lang.c
Article #72Re: AVL tree insertion - programming exercise
From: fir
Date: Fri, 09 Oct 2026 07:56
Date: Fri, 09 Oct 2026 07:56
51 lines
3758 bytes
3758 bytes
BGB pisze: > On 10/8/2026 3:56 PM, fir wrote: >> BGB pisze: >>> >>> I also do have an issue of "small fonts at 100% zoom on a 4K monitor" >>> means at times I fail to see or notice typos as easily (but then 200% >>> UI scaling defeats the point of having a 4K monitor, and 125% or 150% >>> causes many programs to look like blurry crap) >> >> >> its maybe kinda curious but if someone starts winapi app and not call >> SetProcessDPIAware then the program is like being tricked he works in >> lower resolution he really is >> >> (i not readed into it into details but i may somewhat guess thet the >> resolution he is tricked depends of windows scaling - the more scaling >> you get the more program is tricked he work in lower resolution) >> >> calling this dpi aware makes app is not tricked and reckognizes real >> resolution > > Dunno... > > A lot of times, native Windows programs deal better with UI zoom. > > But stuff that uses GTK or similar, or renders UI via raw bitmaps, or > that goes through an X11 translation layer, tends to look pretty much > awful when UI zoom is used. > > But, I mostly end up accepting the comparably small text of default font > sizes on a 4K monitor, even if at times it seems like my eyesight is not > good enough to reliably see typos (particularly those involving similar > looking characters). > those aps are probably assumed to be run in low res... windows realizes it (i guess) and it tricks the aplications they are runing in low res (like rea desktop res/scaling probably) im writing on blitter so its in fact no problem to chnge resolution of this inner bitmap/bitsvreen area even in runtime..i can increase it and decrease in runtime like setting it to 320 pixels or 3200 pixels and then it is mapped on desktop i can also recreate fonts with those size changes and just use frame_size_y/25 font height so fonts are also proper size (small problem is the font creating api needs font height to be integer so there are not fluid changes but ugly jumping infont sizes..but then i need to worry to rescale those fonts probably on my side and i could eventually worry it also wouldnt look very fluid - i would need to check)
Technical Details
Message-ID:
<11aa6np$j4va$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<86ece2kppv.fsf@linuxsc.com> <11a5h8m$2t8e8$1@dont-email.me> <865wzdl3xz.fsf@linuxsc.com> <11a6qi4$3cv2b$1@dont-email.me> <86wlrsjqq9.fsf@linuxsc.com> <11a8ta9$6463$1@dont-email.me> <11a9025$75ql$1@dont-email.me> <11a95gb$912u$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: AVL tree insertion - programming exercise Date: Fri, 9 Oct 2026 09:56:35 +0200 Organization: A noiseless patient Spider Lines: 51 Message-ID: <11aa6np$j4va$1@dont-email.me> References: <86ece2kppv.fsf@linuxsc.com> <11a5h8m$2t8e8$1@dont-email.me> <865wzdl3xz.fsf@linuxsc.com> <11a6qi4$3cv2b$1@dont-email.me> <86wlrsjqq9.fsf@linuxsc.com> <11a8ta9$6463$1@dont-email.me> <11a9025$75ql$1@dont-email.me> <11a95gb$912u$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 09 Oct 2026 07:56:41 +0000 (UTC) Injection-Info: dont-email.me; logging-data="627690"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wCEhhjsjvhQVkmDrupznjQTbJVHcpc30="; posting-host="6bfced547515b2d762c33aed4cf2722f" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:c8Srx22akQ0rILATHLtb0zVV8qU= sha256:8rKprVMDj16yX4PAQqcci8u4HSCLYHEsgwdcHMCSWpU= sha1:7SGUL84TmFmzwrKRdFl5qt/1s0I= sha256:11Gebiex3YtDBDsKy09/gbMQDvgngOvqOift8WOAJdQ= In-Reply-To: <11a95gb$912u$1@dont-email.me>