{% load headline %}
{{ foo|headline:"font.ttf,20,#000" }}
{{ foo|headline:"font.ttf,20,#000,underlined,all" }}
{{ foo|headline:"base,br" }}
{% headline "font.ttf,20,#000" %}Big {{ foo }}{% endheadline %}
{% headline "font.ttf,20,#000,strikeout,none" %}Big {{ foo }}{% endheadline %}
{% headline "base" %}Big {{ foo }}{% endheadline %}
{% headlines foo_list bar_dict baz_var "And some text" as headers "font.ttf,20,#000" %}
{% headlines foo_list bar_dict baz_var "And some text" as headers "font.ttf,20,#000,all" %}
{% headlines foo_list bar_dict baz_var "And some text" as headers "base" %}
{% for head in headers %}
<img src="{{ head.file }}" alt="{{ head.text }}" width="{{ head.width }}" height="{{ head.height }}" />
{% endfor %}
Comments
See also django-rendertext and django-cairo-text.
#