Switch BDF to PCF fonts, add font licenses
This commit is contained in:
parent
55414894e3
commit
ecdd56e438
12 changed files with 36 additions and 6995 deletions
File diff suppressed because it is too large
Load diff
11
MagTag_Google_Sheets/fonts/cursive-smart.license
Executable file
11
MagTag_Google_Sheets/fonts/cursive-smart.license
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
Copyright (c) 1999, Thomas A. Fine
|
||||
|
||||
License to copy and distribute for both commercial and
|
||||
non-commercial use is herby granted, provided this notice
|
||||
is preserved.
|
||||
|
||||
fine@head-cfa.harvard.edu
|
||||
http://hea-www.harvard.edu/~fine/
|
||||
|
||||
Produced with bdfedit, a tcl/tk font editing program
|
||||
written by Thomas A. Fine
|
||||
BIN
MagTag_Google_Sheets/fonts/cursive-smart.pcf
Normal file
BIN
MagTag_Google_Sheets/fonts/cursive-smart.pcf
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
MagTag_Google_Sheets/fonts/helvB12.pcf
Normal file
BIN
MagTag_Google_Sheets/fonts/helvB12.pcf
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
MagTag_Google_Sheets/fonts/helvB24.pcf
Normal file
BIN
MagTag_Google_Sheets/fonts/helvB24.pcf
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
MagTag_Google_Sheets/fonts/ncenR14.pcf
Normal file
BIN
MagTag_Google_Sheets/fonts/ncenR14.pcf
Normal file
Binary file not shown.
19
MagTag_Google_Sheets/fonts/ncen_helv.license
Executable file
19
MagTag_Google_Sheets/fonts/ncen_helv.license
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
Copyright 1984-1989, 1994 Adobe Systems Incorporated.
|
||||
Copyright 1988, 1994 Digital Equipment Corporation.
|
||||
|
||||
Adobe is a trademark of Adobe Systems Incorporated which may be
|
||||
registered in certain jurisdictions.
|
||||
Permission to use these trademarks is hereby granted only in
|
||||
association with the images described in this file.
|
||||
|
||||
Permission to use, copy, modify, distribute and sell this software
|
||||
and its documentation for any purpose and without fee is hereby
|
||||
granted, provided that the above copyright notices appear in all
|
||||
copies and that both those copyright notices and this permission
|
||||
notice appear in supporting documentation, and that the names of
|
||||
Adobe Systems and Digital Equipment Corporation not be used in
|
||||
advertising or publicity pertaining to distribution of the software
|
||||
without specific, written prior permission. Adobe Systems and
|
||||
Digital Equipment Corporation make no representations about the
|
||||
suitability of this software for any purpose. It is provided "as
|
||||
is" without express or implied warranty.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Google Sheets to MagTag example: Naughty or Nice?
|
||||
Gets JSON spreadsheet from Google, displays names from one column or other.
|
||||
"Smart cursive" BDF font by Thomas A. Fine, helvB12.bdf from Xorg fonts.
|
||||
"Smart cursive" font by Thomas A. Fine, helvB12 from Xorg fonts.
|
||||
"""
|
||||
|
||||
# pylint: disable=import-error, line-too-long
|
||||
|
|
@ -46,7 +46,7 @@ MAGTAG.graphics.set_background('bitmaps/nice.bmp' if NICE else
|
|||
|
||||
# Add empty name list here in the drawing stack, names are added later
|
||||
MAGTAG.add_text(
|
||||
text_font='/fonts/cursive-smart.bdf',
|
||||
text_font='/fonts/cursive-smart.pcf',
|
||||
text_position=(8, 40),
|
||||
line_spacing=1.0,
|
||||
text_anchor_point=(0, 0), # Top left
|
||||
|
|
@ -62,7 +62,7 @@ MAGTAG.graphics.splash.append(Rect(0, MAGTAG.graphics.display.height - 14,
|
|||
# Center white text label over black bar to show last update time
|
||||
# (Initially a placeholder, string is not assigned to label until later)
|
||||
MAGTAG.add_text(
|
||||
text_font='/fonts/helvB12.bdf',
|
||||
text_font='/fonts/helvB12.pcf',
|
||||
text_position=(MAGTAG.graphics.display.width // 2,
|
||||
MAGTAG.graphics.display.height - 1),
|
||||
text_color=0xFFFFFF,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ def hh_mm(time_struct, twelve_hour=True):
|
|||
|
||||
# First text label (index 0) is day of week -- empty for now, is set later
|
||||
MAGTAG.add_text(
|
||||
text_font='/fonts/helvB24.bdf',
|
||||
text_font='/fonts/helvB24.pcf',
|
||||
text_position=(MAGTAG.graphics.display.width // 2, 4),
|
||||
line_spacing=1.0,
|
||||
text_anchor_point=(0.5, 0), # Center top
|
||||
|
|
@ -55,7 +55,7 @@ MAGTAG.add_text(
|
|||
|
||||
# Second (index 1) is task list -- again, empty on start, is set later
|
||||
MAGTAG.add_text(
|
||||
text_font='/fonts/ncenR14.bdf',
|
||||
text_font='/fonts/ncenR14.pcf',
|
||||
text_position=(3, 36),
|
||||
line_spacing=1.0,
|
||||
text_anchor_point=(0, 0), # Top left
|
||||
|
|
@ -70,7 +70,7 @@ MAGTAG.graphics.splash.append(Rect(0, MAGTAG.graphics.display.height - 14,
|
|||
|
||||
# Center white text (index 2) over black bar to show last update time
|
||||
MAGTAG.add_text(
|
||||
text_font='/fonts/helvB12.bdf',
|
||||
text_font='/fonts/helvB12.pcf',
|
||||
text_position=(MAGTAG.graphics.display.width // 2,
|
||||
MAGTAG.graphics.display.height - 1),
|
||||
text_color=0xFFFFFF,
|
||||
|
|
|
|||
Loading…
Reference in a new issue