I made a program 'fontselect.txt' to select and display available fonts.
It uses an adapted version of the 'List box' object designed by Henko.
The fonts are stored in the file 'fonts.dat' which I made by the command 'LIST FONTS' and then copy and paste via the editor.
The content is attached to the following post.
I tried to make the program independent of screensize, but I only could test it on iPad-1.
Font select and display
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Font select and display
- Attachments
-
- fontselect.txt
- (5.28 KiB) Downloaded 369 times
Last edited by Dutchman on Thu Oct 03, 2013 3:48 pm, edited 2 times in total.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Font select and display
Here is the file 'fonts.txt'
I could not upload 'fonts.dat', so I changed the name.
Change the name to 'fonts.dat' or change 'Filename$' in the program to 'fonts.txt'
I could not upload 'fonts.dat', so I changed the name.
Change the name to 'fonts.dat' or change 'Filename$' in the program to 'fonts.txt'
- Attachments
-
- fonts.txt
- (2.85 KiB) Downloaded 374 times
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Font select and display
Two notes:
1. This code creates buttons for each string in the list, but not deletes them - after creation they just put on top of each other and you see only last created button. But in iOS 7 buttons are transparent, so you will get a mess with buttons titles.
2. You can easily re-define array during run-time with another size if you need, there is no need to stop program and ask user to change variable.
1. This code creates buttons for each string in the list, but not deletes them - after creation they just put on top of each other and you see only last created button. But in iOS 7 buttons are transparent, so you will get a mess with buttons titles.
2. You can easily re-define array during run-time with another size if you need, there is no need to stop program and ask user to change variable.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Font select and display
Thanks for the remarks.
I will make changes after the 'LIST BOX" object becomes available in version 2.6
I will make changes after the 'LIST BOX" object becomes available in version 2.6
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: Font select and display
?? I run ios7, but do not have this problem with the program.Mr. Kibernetik wrote:Two notes:
1. This code creates buttons for each string in the list, but not deletes them - after creation they just put on top of each other and you see only last created button. But in iOS 7 buttons are transparent, so you will get a mess with buttons titles.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Font select and display
Can you please post screenshot?
On iOS 7 emulator all buttons have no body - just text labels.
On iOS 7 emulator all buttons have no body - just text labels.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Font select and display
Very good, thanks!
Well, upcoming update is compiled for iOS 7, and its interface, and also all UI objects, will look very different on iOS 7.
Well, upcoming update is compiled for iOS 7, and its interface, and also all UI objects, will look very different on iOS 7.
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: Font select and display
That's too bad. Buttons should look like buttons. Same goes for other objects. I don't like re-engeneering programs because someone decides to modify a underlying layer in the system.Mr. Kibernetik wrote:Very good, thanks!
Well, upcoming update is compiled for iOS 7, and its interface, and also all UI objects, will look very different on iOS 7.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Font select and display
Well, all iOS 7 interface (buttons, sliders, lists,...) looks very differently. Of course this affects applications which use these UI objects.Henko wrote:That's too bad. Buttons should look like buttons. Same goes for other objects. I don't like re-engeneering programs because someone decides to modify a underlying layer in the system.
Very interesting that before application was compiled for iOS 7, it still looks old-style even on iOS 7.
By the way, although I don't have iOS 7 device (and my iPad will never be able to upgrade to it), I already got accustomed to iOS 7 look
P.S. Congratulations with 100 posts on the forum!