/[gzz]/gzz/gzz/vob/TextVob.java
ViewVC logotype

Diff of /gzz/gzz/vob/TextVob.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by benja, Sat Sep 28 09:25:40 2002 UTC revision 1.29 by tjl, Sat Sep 28 09:50:06 2002 UTC
# Line 114  String rcsid = "$Id$"; Line 114  String rcsid = "$Id$";
114          if(dbg) pa("Addtolistgl text "+text);          if(dbg) pa("Addtolistgl text "+text);
115          if(ht == null) {          if(ht == null) {
116              float sh = 2.0f/style.getHeight(1);              float sh = 2.0f/style.getHeight(1);
117              float sw = 2.0f/style.getWidth(text, 1);              //  float sw = 2.0f/style.getWidth(text, 1);
118              GLTextStyle gls = (GLTextStyle)style;              GLTextStyle gls = (GLTextStyle)style;
119              ht = GLRen.createHorizText2(              ht = GLRen.createHorizText2(
120                      gls.theFont,                      gls.theFont,
121                      text,                      text,
122                      -1, -1, 0,                      -1, -1, 0,
123                      sw * gls.fontScale);                      sh);
124          }          }
125          if(cl == null) {          if(cl == null) {
126              cl = GLRen.createCallList("Color 0 0 0 1");              cl = GLRen.createCallList("Color 0 0 0 1");

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26