add support for the glcdlib meta driver by Lucian Muresan
This commit is contained in:
@@ -38,6 +38,7 @@ Driver=curses
|
||||
#Driver=MtxOrb
|
||||
#Driver=CFontz633
|
||||
#Driver=CwLnx
|
||||
#Driver=glcdlib
|
||||
|
||||
# Tells the driver to bind to the given interface
|
||||
Bind=127.0.0.1
|
||||
@@ -561,4 +562,53 @@ Device=/dev/lcd
|
||||
Speed=19200
|
||||
|
||||
|
||||
|
||||
## glcdlib meta driver for graphical LCDs ##
|
||||
[glcdlib]
|
||||
|
||||
## mandatory:
|
||||
|
||||
# which graphical display supported by graphlcd-base to use
|
||||
# (see /etc/graphlcd.conf for possible drivers)
|
||||
Driver=noritake800
|
||||
|
||||
# no=use graphlcd bitmap fonts (they have only one size / font file)
|
||||
# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
|
||||
UseFT2=yes
|
||||
|
||||
# text resolution in fixed width characters (if it won't fit according
|
||||
# to available physical pixel resolution and the minimum available font
|
||||
# face size in pixels, 'DebugBorder' will automatically be turned on)
|
||||
TextResolution=20x4
|
||||
|
||||
# path to font file to use
|
||||
FontFile=/usr/share/fonts/corefonts/courbd.ttf # path to font file to use
|
||||
#FontFile=/fonts/f8b.fnt # path to font file to use
|
||||
|
||||
|
||||
## these only apply if UseFT2=yes:
|
||||
|
||||
# character encoding to use
|
||||
CharEncoding=iso8859-2
|
||||
|
||||
# minumum size in pixels in which fonts should be rendered
|
||||
MinFontFaceSize=7x12
|
||||
|
||||
|
||||
## optional:
|
||||
Brightness=50 # Brightness (in %) if applicable
|
||||
Contrast=50 # Contrast (in %) if applicable
|
||||
Backlight=no # Backlight if applicable
|
||||
UpsideDown=no # flip image upside down
|
||||
Invert=no # invert light/dark pixels
|
||||
ShowDebugFrame=no # turns on/off 1 pixel thick debugging
|
||||
# border whithin the usable text area,
|
||||
# for setting up TextResolution and
|
||||
# MinFontFaceSize (if unsing FT2);
|
||||
ShowBigBorder=no # border around the unused area
|
||||
ShowThinBorder=yes # border around the unused area
|
||||
PixelShiftX=0
|
||||
PixelshiftY=2
|
||||
|
||||
|
||||
# EOF
|
||||
|
||||
Reference in New Issue
Block a user