Use method 2.
Don’t bother with glortho for this job, just do this:-
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
Now your coordinates should be x and y, in the range of -1.0f and +1.0f to position vertices on the screen.