kaha Posted September 16 Report Posted September 16 wnd.font with face WND_COURIER does not result in fixed space font. I use this code: disp_AP = wnd.open("Display on", 3000, 100, 550, 535) wnd.font(disp_AP, WND_COURIER, 10) wnd.text(disp_AP, 5, " Hello") Karl
John Dowson Posted September 16 Report Posted September 16 I will take a look in a few days. I had an eye operation today and need a few days for my vision to recover... John
kaha Posted September 16 Author Report Posted September 16 Oh, sorry to hear this, take your time! Karl
John Dowson Posted Thursday at 12:08 PM Report Posted Thursday at 12:08 PM This is due to an array access mismatch. It works if you use: wnd.font(disp_AP, 3, 10) (i.e. 3 instead of WND_COURIER, which is mapped to 2). I have corrected this in the attached version. John FSUIPC7.exe
kaha Posted yesterday at 10:13 AM Author Report Posted yesterday at 10:13 AM This now works. Thank you. Karl
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now