================= subtitle.fontinfo ================= .. image:: subtitle_text.png .. contents:: :local: :backlinks: top Brief ===== A subtitle example. . .fontinfo ========= .. code-block:: python [default] name = ./fonts/Commodore_Pixelized_v1.2.ttf size = 32 letters = letters_ascii.txt bgcolor = (0, 0, 0) writer = fontout_json texturerender = fonttex_bitmap texturewriter = fonttexout_pil textureformat = .png texturesize = 512,256 layers = [Layer(color=solid)] posteffects = [outline, outline2] # modes: none, light, normal. Default is 'normal' antialias = none [solid] type = solid color = (166,80,33) [outline] type = outline width = 2 color = (255, 255, 255) [outline2] type = outline width = 2 color = (0, 0, 0) Results ======= The JSON file :download:`.json <./subtitle.json>` .. image:: subtitle.png