---- Reported by odin1122 2005-06-10 10:24:18 ---- From: http://pyopengl.sourceforge.net/documentation/manual/glutStrokeWidth. 3GLUT.html We find that: The deprecated glutStrokeWidth and glutStrokeLength routines return an integer rather than a float. Newer GLUT programs should use the newer float-returning routine glutStrokeWidthf and glutStrokeLengthf. Note that these newer float routines do not exist in implementations prior to GLUT 3.8. Also, the glutStrokeLength routine summed integerized character widths so it underestimated the length of strings prior to GLUT 3.8, but the implementation of glutStrokeLength in GLUT 3.8 and beyond sums the character widths for the strings in a float (though glutStrokeLength still returns an integer). This patch fixes glutStrokeLength to sum up using a float (though it still returns an int), and it also adds glutStrokeLengthf which returns the float. ---- Additional Comments From odin1122 2005-06-10 10:25:06 ---- Created an attachment Patch to fix glutStrokeLength and add glutStrokeLengthf ---- Additional Comments From kbr 2005-06-21 23:46:26 ---- Thanks for the suggested patch. I've added glutStrokeWidthf and glutStrokeLengthf and implemented glutStrokeWidth and glutStrokeLength in terms of them. --- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT --- This bug was previously known as _bug_ 165 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=165 Imported an attachment (id=58) The original submitter of attachment 58 [details] is unknown. Reassigning to the person who moved it here: sgothel@jausoft.com.