mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-30 10:22:27 +01:00
we were cutting the font to 48 lines of data.
added the new fonts to the MANIFEST.
This commit is contained in:
2
MANIFEST
2
MANIFEST
@@ -16,7 +16,9 @@ wmdocklib/6x12.xpm
|
||||
wmdocklib/6x8.xpm
|
||||
wmdocklib/6x8orig.xpm
|
||||
wmdocklib/6x8slant.xpm
|
||||
wmdocklib/7x12-41c.xpm
|
||||
wmdocklib/7x8zx.xpm
|
||||
wmdocklib/8x12-41c.xpm
|
||||
wmdocklib/8x8.xpm
|
||||
wmdocklib/8x8zx.xpm
|
||||
wmdocklib/README
|
||||
|
||||
@@ -157,8 +157,6 @@ def initPixmap(background=None,
|
||||
palette=None, debug = 0):
|
||||
"""builds and sets the pixmap of the program.
|
||||
|
||||
a wmdockapp has a 128x112 pixmap
|
||||
|
||||
the (width)x(height) upper left area is the work area in which we put
|
||||
what we want to be displayed.
|
||||
|
||||
@@ -258,7 +256,6 @@ def initPixmap(background=None,
|
||||
colorName = fontdef[i+1][1:].split()[1]
|
||||
font_palette[colorChar] = colorName
|
||||
fontdef = fontdef[1 + int(fontdef[0].split(' ')[2]):]
|
||||
fontdef = (fontdef + [' '*128]*48)[:48]
|
||||
|
||||
import re
|
||||
m = re.match(r'.*([0-9]+)x([0-9]+).*', font_name)
|
||||
|
||||
Reference in New Issue
Block a user