qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Disable scaling of SDL
@ 2013-08-24 13:43 Taimoor Mirza
  2013-08-24 18:47 ` Stefan Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Taimoor Mirza @ 2013-08-24 13:43 UTC (permalink / raw)
  To: qemu-devel

Hi guys,

I am using QEMU with SDL support to run some demo applications.
Problem I am facing is that fonts in my SDL window are not displayed
properly. I have to press Ctrl+Alt+u to undo scaling. After that fonts
display correctly.
Is there any way I can disable scaling in SDL window?

Thanks,
Taimoor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Disable scaling of SDL
  2013-08-24 13:43 [Qemu-devel] Disable scaling of SDL Taimoor Mirza
@ 2013-08-24 18:47 ` Stefan Weil
  2013-08-25  5:58   ` Taimoor Mirza
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Weil @ 2013-08-24 18:47 UTC (permalink / raw)
  To: Taimoor Mirza; +Cc: qemu-devel

Am 24.08.2013 15:43, schrieb Taimoor Mirza:
> Hi guys,
>
> I am using QEMU with SDL support to run some demo applications.
> Problem I am facing is that fonts in my SDL window are not displayed
> properly. I have to press Ctrl+Alt+u to undo scaling. After that fonts
> display correctly.
> Is there any way I can disable scaling in SDL window?
>
> Thanks,
> Taimoor

Hi Taimoor,

currently the only way to disable scaling is modifying the
source code and building your own binaries.

SDL scaling is indeed not useful, uses broken code for
all platforms and scales without reason on Windows host.

http://patchwork.ozlabs.org/patch/155925/ is a patch
which disables it.

Regards,
Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Disable scaling of SDL
  2013-08-24 18:47 ` Stefan Weil
@ 2013-08-25  5:58   ` Taimoor Mirza
  2013-08-25  6:08     ` Stefan Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Taimoor Mirza @ 2013-08-25  5:58 UTC (permalink / raw)
  To: Stefan Weil; +Cc: qemu-devel

Hi Stefan,

Thanks for your reply. Is there any way I can disable scaling in SDL
library? I've not used SDL before and I am not sure whether there is
some configuration option for it or not?

-Taimoor

On Sat, Aug 24, 2013 at 11:47 PM, Stefan Weil <sw@weilnetz.de> wrote:
> Am 24.08.2013 15:43, schrieb Taimoor Mirza:
>> Hi guys,
>>
>> I am using QEMU with SDL support to run some demo applications.
>> Problem I am facing is that fonts in my SDL window are not displayed
>> properly. I have to press Ctrl+Alt+u to undo scaling. After that fonts
>> display correctly.
>> Is there any way I can disable scaling in SDL window?
>>
>> Thanks,
>> Taimoor
>
> Hi Taimoor,
>
> currently the only way to disable scaling is modifying the
> source code and building your own binaries.
>
> SDL scaling is indeed not useful, uses broken code for
> all platforms and scales without reason on Windows host.
>
> http://patchwork.ozlabs.org/patch/155925/ is a patch
> which disables it.
>
> Regards,
> Stefan
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Disable scaling of SDL
  2013-08-25  5:58   ` Taimoor Mirza
@ 2013-08-25  6:08     ` Stefan Weil
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Weil @ 2013-08-25  6:08 UTC (permalink / raw)
  To: Taimoor Mirza; +Cc: qemu-devel

Am 25.08.2013 07:58, schrieb Taimoor Mirza:
> Hi Stefan,
>
> Thanks for your reply. Is there any way I can disable scaling in SDL
> library? I've not used SDL before and I am not sure whether there is
> some configuration option for it or not?
>
> -Taimoor
>

Scaling is implemented in QEMU's code, not in the SDL library.
You will need a modified QEMU to disable it.

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-25  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-24 13:43 [Qemu-devel] Disable scaling of SDL Taimoor Mirza
2013-08-24 18:47 ` Stefan Weil
2013-08-25  5:58   ` Taimoor Mirza
2013-08-25  6:08     ` Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).