kaha Posted Tuesday at 07:17 AM Report Posted Tuesday at 07:17 AM 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 Tuesday at 03:43 PM Report Posted Tuesday at 03:43 PM 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 Tuesday at 03:48 PM Author Report Posted Tuesday at 03:48 PM Oh, sorry to hear this, take your time! Karl
John Dowson Posted 3 hours ago Report Posted 3 hours ago 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
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