6.3. subtitle.fontinfo¶
6.3.1. Brief¶
A subtitle example. .
6.3.2. .fontinfo¶
[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)
6.3.3. Results¶
The JSON file .json