RrFontHeight is meaningless with pango, it will be different for every string drawn...
authorMikael Magnusson <mikachu@comhem.se>
Sun, 26 Jun 2005 01:39:53 +0000 (01:39 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 26 Jun 2005 01:39:53 +0000 (01:39 +0000)
commit0417d1226c7a523cd4420195d86dd744f514b2fe
tree43227d742c7317e491493447efd5c5afc297d84a
parent07b340385045e93ed6c534fb8f4b0de92449da1f
RrFontHeight is meaningless with pango, it will be different for every string drawn, so ask pango for the height after we tell it the text to draw. Should make text be centered vertically better when mixing fonts. Still moves a pixel down for some strings for me, but it was several before. If anyone knows more about this please mail or bugzilla etc. Also fix an indenting error.
render/font.c