[Plib-users] FW: PUI font
Brought to you by:
sjbaker
From: Clay, B. <bc...@ba...> - 2004-04-01 18:34:35
|
3rd try. The messages never get to the reflector -----Original Message----- From: Clay, Bruce=20 Sent: Wednesday, March 31, 2004 2:44 PM To: 'pli...@li...' Subject: PUI font After a couple of false starts on my part I finally got PUI to work with the Blue Marble Viewer (BMV). It will open many doors to usability. Because of the internal workings of BMV I have to used PUI without GLUT which isn't a big problem. There is however one remaining problem. My first PUI app was a network based controller to control the BMV scene. This one used GLUT and had great contrast. The GUI created for BMV without GLUT doesn't have the same contrast nor apparently the same fonts. I have attached 2 images. The bmv_cntrl.jpg is the with GLUT app and the other jpg is from Blue Marble. It looks like I am restricted to using black text without GLUT because that is the only color that is clear enough. In the bmv_cntrl program I did not specify a font (used the default font. There dosen't seem to be any difference if I specify one with in BMV or not. I tried puSetDefaultFonts(PUFONT_8_BY_13, PUFONT_8_BY_13); and mButtonFont->load(fontName.c_str()); puFont times_medium(mButtonFont, fontSize); puSetDefaultFonts(times_medium, times_medium) ; And puFont times_medium(); puSetDefaultFonts(times_medium, times_medium) ; None of them seem to clear up the problem. The font size and type changes on screen so it does appear to be loading the font just not drawing it clear with any color but black. Any thoughts would be greatly appreciated. Bruce Clay bc...@ba...=20 |