Richard Jones
unread,Dec 28, 2008, 10:22:44 PM12/28/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bruce-users
I've now implemented Bruce Style Sheets using Drew's code as
inspiration. An example style sheet is:
# Bruce StyleSheet (BSS) version of the built-in "big-centered"
style
[style]
font_size = 64
margin_bottom = 32
align = center
literal.font_size = 64
title.font_size = 84
layout.valign = center
or, with some background changes for a "corporate" style:
[layout]
:image: sample-image.png;halign=right;valign=bottom
:quad: C#ffffff;V0,h;C#c0c0ff;Vw,h;C#8080ff;Vw,0;C#c0c0ff;V0,0
:quad: C#c0c0ff;V0,h;V0,h-48;Vw,h-48;Vw,h
[style]
font_name = Times New Roman
layout.viewport = 0,64,w,h-(64+48)