1
\$\begingroup\$

For OpenGL text drawing I use Slick2D library. Default Slick2D 0:0 coordinates are at upper-left corner. But in my project I use bottom-left corner for 0:0. Is it real to configure Slick2D with bottom-left corner as starting point?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

I extended AngelCodeFont and Image classes to implement text drawing I need.

In AngelCodeFont I updated yoffset for each char:

def.yoffset = lineHeight - def.height - def.yoffset;

where lineHeight was parsed from common line in .fnt file.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .