Dear MdeModulePkg maintainers,

please review the patch in the next message.

(1) If you deem it worthy and decide to apply it, please take care to
format the SVN commit message as:

- first line: Subject field of the [PATCH 1/1] email, that is:

  MdeModulePkg: TerminalDxe: add other text resolutions

- second line: empty line

- third and further lines: message body from the email, up to the "---"
  delimiter.

In addition, please avoid re-flowing the message body; lines should stay
74 characters long at most.

If needed I can send out the patch as an attachment too.

(2) The list of character resolutions in the next patch was generated
with the following shell script:

> #!/bin/bash
> set -e -u -C
> 
> MODES=(
>   640  480
>   800  480
>   800  600
>   832  624
>   960  640
>  1024  600
>  1024  768
>  1152  864
>  1152  870
>  1280  720
>  1280  760
>  1280  768
>  1280  800
>  1280  960
>  1280 1024
>  1360  768
>  1366  768
>  1400 1050
>  1440  900
>  1600  900
>  1600 1200
>  1680 1050
>  1920 1080
>  1920 1200
>  1920 1440
>  2000 2000
>  2048 1536
>  2048 2048
>  2560 1440
>  2560 1600
>  2560 2048
>  2800 2100
>  3200 2400
>  3840 2160
>  4096 2160
>  7680 4320
>  8192 4320
>     0    0
> )
> 
> EFI_GLYPH_HEIGHT=19
> EFI_GLYPH_WIDTH=8
> 
> I=0
> while X=${MODES[I++]} && Y=${MODES[I++]} && [ 0 -ne "$X" ]; do
>   TX=$((X / EFI_GLYPH_WIDTH))
>   TY=$((Y / EFI_GLYPH_HEIGHT))
>   STR=${TX}x${TY}
> 
>   # Exclude predefined modes #0 and #1, ie. 80x25 and 80x50. See
>   # EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode().
>   if [ 80x25 = "$STR" ] || [ 80x50 = "$STR" ]; then
>     continue
>   fi
> 
>   printf "  { %4u, %3u }, // from graphics resolution %4u x %4u\\n" \
>       "$TX" "$TY" "$X" "$Y"
> done

Thank you very much,
Laszlo

Laszlo Ersek (1):
  MdeModulePkg: TerminalDxe: add other text resolutions

 .../Universal/Console/TerminalDxe/Terminal.c       | 37 +++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

-- 
1.8.3.1


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to