Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Determining font size values: R2 vs. R3 Message-ID: <9002232214.AA01863@expire.lcs.mit.edu> Date: 23 Feb 90 22:14:36 GMT References: <3630008@hpindda.HP.COM> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 8 TFheight = font->max_bounds.ascent + font->max_bounds.descent; TFwidth = font->max_bounds.rbearing - font->min_bounds.lbearing; Perhaps the problem is that font->max_bounds.width can be greater than TFwidth as you calculate it? Try using max of these two values. Otherwise, a more explicit example of the problem, the actual fonts involved and the values computed, would be helpful.