20 Jun, 2019

3 commits

  • Although we may have multiple fonts in kernel, the small 8x16 font is
    chosen as default usually unless user specify the boot option. This
    is suboptimal for monitors with high resolutions.

    This patch tries to assign a bigger font for such a high resolution by
    calculating some penalty value. This won't change anything for a
    standard monitor like Full HD (1920x1080), but for a high res monitor
    like UHD 4K, a bigger font like TER16x32 will be chosen once when
    enabled in Kconfig.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • We have a nice macro, and the check of emptiness of the font table can
    be done in a simpler way.

    Signed-off-by: Takashi Iwai
    Acked-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • Fix indentation, spaces, and move EXPORT_SYMBOL line to the
    appropriate place as a preliminary work. No actual code change.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

21 May, 2019

1 commit


19 Dec, 2018

1 commit

  • This patch adds an option to compile-in a high resolution
    and large Terminus (ter16x32) bitmap console font for use with
    HiDPI and Retina screens.

    The font was convereted from standard Terminus ter-i32b.psf
    (size 16x32) with the help of psftools and minor hand editing
    deleting useless characters.

    This patch is non-intrusive, no options are enabled by default so most
    users won't notice a thing.

    I am placing my changes under the GPL 2.0 just as source Terminus font.

    Signed-off-by: Amanoel Dawod
    Signed-off-by: Greg Kroah-Hartman

    Amanoel Dawod
     

24 Aug, 2018

1 commit

  • The font files contain bit masks for characters in the cp437 character
    set, and comments showing what character this is supposed to be.

    This only makes sense when the terminal used to view the files is set to
    the same codepage, but all other files in the kernel now use utf-8
    encoding.

    This changes those comments to utf-8 as well, for consistency.

    Link: http://lkml.kernel.org/r/20180724111600.4158975-3-arnd@arndb.de
    Signed-off-by: Arnd Bergmann
    Cc: Greg Kroah-Hartman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnd Bergmann
     

02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

28 Feb, 2017

1 commit

  • Keep fonts together and indented (in menu) as much as possible. This
    moves the Sparc font choices to the end of the menu since they have
    different dependencies.

    Link: http://lkml.kernel.org/r/de6d8977-c6d6-a82d-c953-f2a2fefdb8a5@infradead.org
    Signed-off-by: Randy Dunlap
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

09 Oct, 2014

1 commit

  • This font is suitable for framebuffer consoles on devices with a
    320x240 screen, to get a reasonable number of characters (53x24) that
    are still at a readable size.

    The font is derived from the existing 6x11 font, but gets 3 extra
    lines without sacrificing readability. Also I redesigned a some glyhps
    so they are more distinct and better fill the available space.

    Signed-off-by: Maarten ter Huurne
    Signed-off-by: Tomi Valkeinen

    Maarten ter Huurne
     

23 Mar, 2014

1 commit


03 Feb, 2014

1 commit

  • The built-in ROM fonts lack many necessary ASCII characters, which is
    why it makes sens to prefer the Linux fonts instead if they are
    available. This makes consoles on STI graphics cards which are not
    supported by the stifb driver (e.g. Visualize FXe) looks much nicer.

    Signed-off-by: Helge Deller
    Cc: stable@vger.kernel.org # v3.13

    Helge Deller
     

28 Jun, 2013

1 commit

  • Several drivers need font support independent of CONFIG_VT, cfr. commit
    9cbce8d7e1dae0744ca4f68d62aa7de18196b6f4, "console/font: Refactor font
    support code selection logic").
    Hence move the fonts and their support logic from drivers/video/console/ to
    its own library directory lib/fonts/.
    This also allows to limit processing of drivers/video/console/Makefile to
    CONFIG_VT=y again.

    [Kevin Hilman : Update arch/arm/boot/compressed/Makefile]
    Signed-off-by: Geert Uytterhoeven

    Geert Uytterhoeven