[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.5-158-gbfa5d8f
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. v0.5-158-gbfa5d8f |
Date: |
Thu, 13 Feb 2014 01:36:19 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via bfa5d8f54612811d306d1453b7d2da549bbc60ee (commit)
from c8b5250cc50a3451ecce9685d8b3457b3c1b133d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bfa5d8f54612811d306d1453b7d2da549bbc60ee
Author: Samuel Thibault <address@hidden>
Date: Thu Feb 13 02:27:49 2014 +0100
Add --font-width option to force 8/9 pixel font width
This permits to choose between 720x400 or 640x400 textmode without
changing the font.
* console-client/vga-hw.h (VGA_ATTR_MODE_ADDR, VGA_ATTR_MODE_LGE,
VGA_ATTR_ENABLE_ADDR): New macros.
* console-client/vga-support.c (vga_state): Add `attr_mode' field.
(vga_init): Save attribute mode subregister content. Re-enable the
screen after that.
(vga_fini): Restore attribute mode subregister content. Re-enable the
screen after that.
(vga_set_font_width): When the font width is set to 9, enable VGA LGE to
properly handle box-drawing unicode characters. Re-nable the screen
after that.
(vga_exchange_palette_attributes): Use VGA_ATTR_ENABLE_ADDR macro
instead of harcoded 0x20.
* console-client/vga-dynafont.h (dynafont_new): Add `width' parameter.
* console-client/vga-dynafont.c (dynafont): Add `width' field.
(dynafont_new): Add `width' parameter, stored in `width' field of `df',
but using the font bbox as default value. Use it to decide whether to
use VGA LGE or not.
(dynafont_activate): Use `width' field of `df' instead of the font bbox
to configure the VGA glyph width.
* console-client/vga.c (vga_display_font_width): New variable.
(vga_display): New `df_width' field.
(argp_option): New `font-width' option.
(parse_opt): Handle `font-width' option.
(vga_display_init): Copy `vga_display_font_width' to `disp'.
(vga_display_start): Pass `df_width' to `dynafont_new'.
-----------------------------------------------------------------------
Summary of changes:
console-client/vga-dynafont.c | 13 +++++++++--
console-client/vga-dynafont.h | 2 +-
console-client/vga-hw.h | 5 ++++
console-client/vga-support.c | 45 +++++++++++++++++++++++++++++++++++-----
console-client/vga.c | 12 ++++++++++-
5 files changed, 66 insertions(+), 11 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.5-158-gbfa5d8f,
Samuel Thibault <=