Back to Devexpress

RichEditControlCompatibility.DisableCJKFontsCorrection Property

officefileapi-devexpress-dot-xtrarichedit-dot-richeditcontrolcompatibility-74b58002.md

latest1.8 KB
Original Source

RichEditControlCompatibility.DisableCJKFontsCorrection Property

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

RichEditControlCompatibility Class

RichEditControlCompatibility Members

DevExpress.XtraRichEdit Namespace