Pango font metric discrepency



Hello,

I would like to know why there is a difference in the font metrics between simillar fonts in windows and 
linux. For example for arial font of size 34, the ascent, descent and char width has values of 32, 7 and 9 
respectively in windows MFC . But when using gtk pango, the values are  43, 13 and 13 respectively. Why is 
there a discrepency in the metrics of a similar font. Note that I am using same ttf file in both windows and 
linux. 

In windows , I am extracting the metric information using MFC API.
In linux, I am extracting the metric information using pango_font_metrics_get_ascent, 
pango_font_metrics_get_descent functions.

Thanks and regards,
nerdy


                
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2�/min with Yahoo! Messenger with 
Voice.
                        
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]