CONST tMar
= 40 'top margin allows room for 3 hole binder punch on top (landscape orientation) or left side (portrait orientation) DATA "Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday" DATA "January","February","March","April","May","June","July","August","September","October","November","December" DATA 31,28,31,30,31,30,31,31,30,31,30,31
' this loads and checks fonts (Windows 10)
CH
= _FONTHEIGHT(FH
): CW
= CH
* .6 'this make printing char by char the same as printing a string for ARLRDBD.ttf'test font, in box? for 5 above 5 below height = 30
'Line (5, 5)-Step(CW * Len(monthNames$(1) + Str$(2018)), 30), , B
'_PrintString (10, 10), monthNames$(1) + Str$(2018)
FH2
= _LOADFONT("Arial.ttf", 18, "MONOSPACE")CH2
= _FONTHEIGHT(FH2
): CW2
= CH2
* .25 'this make printing char by char the same as printing a string for ARLRDBD.ttf'Line (5, 45)-Step(CW2 * Len("testing smaller font 1, 2, 3, 31"), 25), , B
'_PrintString (10, 50), "testing smaller font 1, 2, 3, 31"
y = 2022 '<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< update for 2021
Easter y, EasterMonth, EasterDay
'PRINT EasterMonth, EasterDay, CH2
'END