MKI_CalcFontCapsRatio (Calculation) New in Version 2025.2

www.CAD6.com

C++ Syntax

double

MKI_CalcFontCapsRatio(

 MKI_CONST_FONTDEF_REF f_rFont );

 

Determines and returns the size of the capital character 'H' in relation to the actual font size based on Font.

 

Parameters

Font

[MKI_CONST_FONTDEF_REF] Font definition.

 

Return Value

Returns the determined ratio. Will be clipped to [0.001 .. 1.0]. If anything goes wrong, a default value of 0.72 ist returned.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH