edexter
11-10-2007, 12:30 PM
http://dexrow.blogspot.com/2007/10/wingraph-extended.html
This is a small library to make wingraph more like the old crt unit... I would like to convert this to other graphics libraries that use x,y in pixels to convert them to x,y in charecters. To do this I would need text that has all the letters of the same height length (In wingraph the smaller type faces have fixed sizes where all the charecters are the same size) and would need to be able to return the size of the typeface that is currently being used. This is devoloped for use in roguelikes but may have other uses as well.
This is a small library to make wingraph more like the old crt unit... I would like to convert this to other graphics libraries that use x,y in pixels to convert them to x,y in charecters. To do this I would need text that has all the letters of the same height length (In wingraph the smaller type faces have fixed sizes where all the charecters are the same size) and would need to be able to return the size of the typeface that is currently being used. This is devoloped for use in roguelikes but may have other uses as well.