I am using Pango in an application implementing part of the CSS specification and so far I have been stumped by the font-weight: (bolder|lighter)
attribute.
According to specification,
'bolder' selects the next weight that is assigned to a font that is darker than the inherited one.
'lighter' is similar, but works in the opposite direction: it selects the next lighter keyword with a different font from the inherited one.
I can't seem to find a simple way of getting the weight value that would give me a darker (or lighter) font.