• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Embedded Systems Software
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2025/26
      • Systemprogrammierung 2
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
      • Projekt angewandte Systemsoftwaretechnik
      • Aktuelle Entwicklung in Verteilten und Objektorientierten Betriebssystemen (für Bachelor-/Masterarbeit)
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssysteme

    Aufgabe 7: Anwendung

    Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
    Font Class Reference
    Graphics

    Monospaced fonts. More...

    #include <graphics/fonts/font.h>

    Public Member Functions

     Font (const char *name, unsigned width, unsigned height, const unsigned char *data)
     Constructor for a font. More...
     
    const void * symbol (unsigned char c) const
     Get bitmap address for a given character. More...
     

    Static Public Member Functions

    static Font * get (const char *name=nullptr, unsigned width=0, unsigned height=0)
     Find font. More...
     
    static unsigned number ()
     Get the number of available fonts. More...
     

    Public Attributes

    const char * name
     Name of font.
     
    const unsigned width
     Width of a character.
     
    const unsigned height
     Height of a character.
     

    Detailed Description

    Monospaced fonts.

    Console fonts are extracted from the Linux kernel (/lib/fonts/).

    Constructor & Destructor Documentation

    Font::Font ( const char *  name,
    unsigned  width,
    unsigned  height,
    const unsigned char *  data 
    )
    inline

    Constructor for a font.

    Parameters
    nameName of font
    widthcharacter width
    heightcharacter height
    dataPointer to bitmap font

    Member Function Documentation

    const void * Font::symbol ( unsigned char  c) const
    inline

    Get bitmap address for a given character.

    Parameters
    ccharacter (ASCII)
    Returns
    Pointer to bitmap of character
    Font * Font::get ( const char *  name = nullptr,
    unsigned  width = 0,
    unsigned  height = 0 
    )
    static

    Find font.

    Parameters
    nameName of font (or nullptr for any)
    widthWidth of a character (or 0 for any)
    heightHeight of a character (or 0 for any)
    Returns
    Pointer to font or nullptr if no matching font was found
    unsigned Font::number ( )
    static

    Get the number of available fonts.

    Returns
    number of fonts

    The documentation for this class was generated from the following files:
    • graphics/fonts/font.h
    • graphics/fonts/font.cc
    Friedrich-Alexander-Universität
    Erlangen-Nürnberg

    Schlossplatz 4
    91054 Erlangen
    • Impressum
    • Datenschutz
    • Barrierefreiheit
    • Facebook
    • RSS Feed
    • Xing
    Nach oben