.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.DisableCJKFontsCorrection Property

Static property that switches off the vertical metrics correction introduced for CJK font support.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

[DefaultValue(false)]
public static bool DisableCJKFontsCorrection { get; set; }
<DefaultValue(False)>
Public Shared Property DisableCJKFontsCorrection As Boolean

Property Value

Type Description
Boolean

True, to disable CJK font correction; otherwise, false.

Remarks

When upgrading to version 16.1 and higher, you may notice that the paragraph vertical spacing becomes inadequate for certain documents. The DisableCJKFontsCorrection property addresses this issue.

Baseline to baseline distance may be increased up to 30% for certain fonts because of added support for CJK fonts. To disable the newly introduced CJK font metrics correction, set the DisableCJKFontsCorrection property to true.

See Also