/[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.33 by benja, Sun Sep 29 14:53:45 2002 UTC revision 1.34 by benja, Sun Sep 29 16:21:12 2002 UTC
# Line 113  String rcsid = "$Id$"; Line 113  String rcsid = "$Id$";
113                                  int coordsys2) {                                  int coordsys2) {
114          if(dbg) pa("Addtolistgl text "+text);          if(dbg) pa("Addtolistgl text "+text);
115          if(ht == null) {          if(ht == null) {
             float sh = scale;  
             //  float sw = 2.0f/style.getWidth(text, 1);  
116              GLTextStyle gls = (GLTextStyle)style;              GLTextStyle gls = (GLTextStyle)style;
117              ht = GLRen.createHorizText2(              ht = GLRen.createHorizText2(
118                      gls.theFont,                      gls.theFont,
119                      text,                      text, gls.theFont.getHeight(), gls.theFont.getYOffs(),
120                      -1, sh*style.getAscent(1)-1, 0,                      scale * gls.fontScale, 0);
                     sh, 0);  
121          }          }
122          if(cl == null) {          if(cl == null) {
123              cl = GLRen.createCallList("Color 0 0 0 1");              cl = GLRen.createCallList("Color 0 0 0 1");

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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