How to set the font face in a scm

Derek Atkins warlord at MIT.EDU
Tue Feb 26 10:21:36 EST 2008


James McDonald <james at jamesmcdonald.id.au> writes:

> hello-world.scm has the following
>
>   ;; every HTML object has "styles" for markup and data.  the
>       ;; style for an HTML tag such as "body" tells the HTML
>       ;; document how to render the markup and content for tagged
>       ;; elements.  For each tag, you can specify a font-face,
>       ;; font-color, and font-size to render the contents of the
>       ;; element, and any number of attributes to put in the
>       ;; start-tag.  You can pass 'inheritable? #f if you wish the
>       ;; style to apply only to markup in the object itself and not
>       ;; to its components.  You can also override the tag itself if
>       ;; you want to create your own custom markup (see
>       ;; documentation).
>
>
> Saying that you can set the font face. Is this correct? If so how?
>
> I have been trying to play with the 'attribute and other such tags but 
> am not having any success.
>
> Has anyone else successfully managed to edit their scm invoice reports 
> so that when they export they don't need to do  a lot of style changes?

You're hitting bugs in GtkHTML in that it drops attributes it
doesn't understand.  Please repeat after me:  "GtkHTML Sucks
Hairy Monkey Balls and needs to be replaced".  Thank you, and
have a great day!

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list