Cairo font extents structure has following information
ascent
descent
height
max_x_advance
max_y_advance
How do i calculate baseline from these metrices?
Cairo font extents structure has following information
ascent
descent
height
max_x_advance
max_y_advance
How do i calculate baseline from these metrices?
Copyright © 2021 Jogjafile Inc.
See https://www.cairographics.org/tutorial/#L1understandingtext
What exactly do you mean with "calculate the baseline"? You give cairo a point on the baseline and the ascent and descent are relative to that point.