etaylor@krebs.bcm.tmc.edu (Eric Taylor) (11/30/89)
I have noticed a problem with using XDrawImageString on the font "variable". Sometimes little "turds" are left on the top or bottom of the CharStruct. I rectified the problem by instead using XFillRectangle and then XDrawString. The problem manifiests itself on a SUN SPARC station 1. Anybody know anything about it? Eric Taylor Baylor College of Medicine
garya@garya.Solbourne.COM (Gary Aitken) (11/30/89)
>I have noticed a problem with using XDrawImageString on the font "variable". >Sometimes little "turds" are left on the top or bottom of the CharStruct. >I rectified the problem by instead using XFillRectangle and then XDrawString. Yeah, it's there forever as nearly as I could tell. The ASCENT/DESCENT font metrics determine what gets drawn with XDrawImageString, and they don't completely cover all characters. You have the correct solution. It seems to me that anyone using a foreign language with diacritical marks is likely to have the problem. I sent mail to the appropriate folks at DEC (at rws's suggestion), and they said no change, no way... -- Gary Aitken Solbourne Computer Inc. ARPA: garya@Solbourne.COM Longmont, CO UUCP: !{boulder,nbires,sun}!stan!garya