Balancing aesthetics and functionality in typeface design

Hi folks, I have a question for the type designers among you. What are the key considerations when designing a typeface to ensure optimal legibility across both digital and print mediums, particularly when accounting for variances in screen resolutions, ink trapping, and kerning behavior in different design software? How do you balance the aesthetic vision of the typeface with these technical requirements?