The underlying font library sets x-height based on x and capital height based on H (source).
x
H
If your font does not contain these symbols, the two will not be set.