qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font enco


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding
Date: Thu, 23 Jun 2016 09:34:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Samuel Thibault <address@hidden> writes:

> This detects and uses iconv to convert glyphs from the specified VGA font
> encoding to unicode.
>
> Signed-off-by: Samuel Thibault <address@hidden>
[...]
> diff --git a/qemu-options.hx b/qemu-options.hx
> index ce535a9..2187886 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -321,6 +321,26 @@ The default is @code{en-us}.
>  ETEXI
>  
>  
> +DEF("f", HAS_ARG, QEMU_OPTION_f,
> +    "-f encoding     use font encoding (for example 'CP850' for IBM CP850 
> encoding)\n",
> +    QEMU_ARCH_ALL)
> +STEXI
> address@hidden -h @var{encoding}
> address@hidden -h
> +Use font encoding @var{encoding} (for example @code{CP850} for
> +IBM CP/850 encoding). This option is only needed where output is text-only, 
> i.e.
> +with the curses display, to convert from text-mode output from the guest to
> +proper text glyphs.
> +
> +The available encoding are provided by the libc, the full list can be 
> obtained by
> address@hidden
> +iconv -l
> address@hidden example
> +
> +The default is @code{CP437}.
> +ETEXI
> +
> +

Since this option applies only to the curses display, it should be a
-display curses parameter, like this: -display curses,charset=CP850.

>  DEF("audio-help", 0, QEMU_OPTION_audio_help,
>      "-audio-help     print list of audio drivers and their options\n",
>      QEMU_ARCH_ALL)
[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]