Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!unmvax!pprg.unm.edu!topgun!mustang!nameserver!Ames!wk19!kelaita From: kelaita@wk19..nas.nasa.gov (Paul G. Kelaita) Newsgroups: comp.sys.sgi Subject: Font Manager Bug Message-ID: <1990Sep13.165218.3810@nas.nasa.gov> Date: 13 Sep 90 16:52:18 GMT Sender: news@nas.nasa.gov (News Admin) Organization: NASA Ames Research Center, Moffett Field, CA Lines: 67 Has anyone else experienced the following problem with the font manager on a 3.3 320 VGX? This code puts up a test string twice: first in single matrix mode, then (after clicking LEFTMOUSE) switches to viewing matrix mode. The bug is this: After switching to mmode(MVIEWING), the string is truncated to just the first character (with certain fonts greater than 30 points). The code runs fine on non-VGX, non-3.3 machines. Is this a 3.3 bug, a VGX bug, or both? Thanks, Paul Kelaita /********************************** CUT *******************************/ #include #include #include main() { static char tstring[] = "a b c d e"; fmfonthandle f; int i; foreground(); prefposition( 100, 600, 200, 400 ); winopen("test"); fminit(); for ( i = 1; i <= 2; i++ ) { if ( i == 2 ) { mmode(MVIEWING); } else { mmode(MSINGLE); } ortho2( 0., 10., 0., 10. ); color(BLACK); clear(); color(GREEN); f = fmfindfont("Times-Roman"); f = fmscalefont(f, 32); fmsetfont(f); cmov2(3.,3.); fmprstr(tstring); while( !getbutton( LEFTMOUSE ) ); while( getbutton( LEFTMOUSE ) ); } } /********************************** CUT *******************************/ Paul Kelaita NASA Ames Research Center kelaita@wk19.nas.nasa.gov Mail Stop 258-2 (415) 604-4453 Moffett Field, CA 94035