|
|
|
[
Permlink
| « Hide
]
Benjamin Shine - 06/Sep/06 11:38 PM
Let's try to fix this for coal.
See tests in test/style/typography/typography-test.lzx
Using $style to style the following attributes of the <text> element demonstrably works without complication: fgcolor bgcolor text $style with fonts is implemented enough to get the job done, but certain usages of it cause compiler warnings or errors. #gt7 { stylefontstyle: "bold"; } combined with fontstyle="$style{'stylefontstyle'}" yields a compiler error: Unknown style UNDEFINED STYLE stylefontsize: 18; /* nice big text */ combined with fontsize="$style{'stylefontsize'}" yields a compile warning: bad value for attribute "fontsize" but the font is drawn correctly |
||||||||||||||||||||||||||||||||||||||||||||||||||||