Next / Previous / Contents / TCC Help System / NM Tech homepage

13.9. Fonts for XSL-FO use

These fonts are used by logic that generates XSL-FO output.

cbchistlib.py
MAIN_FAMILY = "Palatino, Paladino, serif"
HEAD_FONT = fo.font(fontFamily=MAIN_FAMILY, fontSize='9pt',
                    fontStyle='italic')
BODY_FONT = fo.font(fontFamily=MAIN_FAMILY, fontSize='10pt')
BOLD_FONT = fo.font(fontFamily=MAIN_FAMILY, fontSize='10pt',
                    fontWeight='bold')
MONO_FAMILY = "VeraSansMono, FreeMono, monospace"
MONO_FONT = fo.font(fontFamily=MONO_FAMILY, fontSize='8pt')