This renders either a 'b' element (for 'bold', '900' - '700') or an ANTI-B element (for '600' - '100').
Nesting of b and anti-b elements will be dealt with by a subsequent DOM transformer.
405406407408409410411412413414415
// disturb these renderers. // font-weight ElementOnlyStyleEmulationPropertyRenderer fontWeightRenderer = new ElementOnlyStyleEmulationPropertyRenderer( new DefaultFontWeightEmulationPropertyRenderer()); styleEmulationPropertyRendererSelector.register( StylePropertyDetails.FONT_WEIGHT, fontWeightRenderer); // font-style
270271272273274275276277278279280