- g,x,y,w,h,ox,oy,a=map(int, line.split())
- result+="glyph %d\n{\n"%g
- result+="\ttexcoords %f %f %f %f;\n"%(float(x)/tw, float(th-y-h)/th, float(x+w)/tw, float(th-y)/th)
- result+="\tsize %.3f %.3f;\n"%(float(w)/fh, float(h)/fh)
- result+="\toffset %.3f %.3f;\n"%(float(ox)/fh, float(oy)/fh)
- result+="\tadvance %.3f;\n"%(float(a)/fh)
- result+="};\n"
+ g, x, y, w, h, ox, oy, a = map(int, line.split())
+ result += "glyph %d\n{\n"%g
+ result += "\ttexcoords %f %f %f %f;\n"%(float(x)/tw, float(th-y-h)/th, float(x+w)/tw, float(th-y)/th)
+ result += "\tsize %.3f %.3f;\n"%(float(w)/fh, float(h)/fh)
+ result += "\toffset %.3f %.3f;\n"%(float(ox)/fh, float(oy)/fh)
+ result += "\tadvance %.3f;\n"%(float(a)/fh)
+ result += "};\n"