Unplanned
Last Updated: 08 Mar 2021 13:26 by ADMIN
Hashitha
Created on: 08 Mar 2021 12:48
Category: RichTextBox
Type: Bug Report
1
RichTextBox: A wrong font is applied when Run Fonts is set in document defaults and partially in the local run properties

When "rFonts" is set in docDefaults:

<w:styles>
	<w:docDefaults>
		<w:rPrDefault>
			<w:rPr>
				<w:rFonts w:ascii="Verdana" w:eastAsia="Times New Roman" w:hAnsi="Verdana" w:cs="Verdana"/>
				...
			</w:rPr>
		</w:rPrDefault>

and partially in the local run properties:

<w:r>
	<w:rPr>
		<w:rFonts w:cs="Times New Roman"/>
		...
	</w:rPr>
	<w:t>Text</w:t>
</w:r>

A wrong font is applied.

ExpectedVerdana
Actual: Times New Roman

0 comments