Recently, I purchased the font Proxima Nova
for my project and I am encountering issues with vertical alignment. Despite setting margins, line-heights, and padding to match those of Arial
, the results are not consistent as the Proxima Nova
appears misaligned with larger bottom padding than top padding compared to Arial
.
I suspect that the problem lies within the font itself - so my question is: How can this issue be resolved? Would I need to make adjustments to the font or is there a CSS property that can rectify this?
To better illustrate the problem, I have created a page showcasing the disparity:
Edit:
Is there a way to globally "configure" the font to ensure correct paddings without having to modify the entire CSS code whenever switching fonts? Or is it necessary to edit the font files in order to achieve this alignment?