QL Tinkering

Helpful tips and guides, also new users can ask for help here.
User avatar
Cristian
QL Wafer Drive
Posts: 1024
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: QL Tinkering

Post by Cristian »

Cool!


stevepoole
Aurora
Posts: 890
Joined: Mon Nov 24, 2014 2:03 pm

Re: QL Tinkering

Post by stevepoole »

Hi Qbits,

Using fonts instead of graphics-notes, your program will have more acurate timing indeed !

How about adding 5 dotted rests for completeness ?

I await any future developments with great interest.

Superb presentation and neat programming.... Regards, Steve.

___________________


qbits
Gold Card
Posts: 261
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi Steve,

I do like a challenge before breakfast! Hope I've uploaded the correct files...

QLNotes.jpg
QLNoteRests.zip
(391 Bytes) Downloaded 147 times
QBITS

My Latest ....

QL Music  Fonts.jpg
Attachments
QLMusic_fnt.zip
(465 Bytes) Downloaded 132 times


qbits
Gold Card
Posts: 261
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi all,

Devloping my Progs a small Character font set has been one of my aims.
Add the code for loading QLMinChar_fnt and DEFine PROCedure QBPrnt to PRINT to screen using Code shown.
Hope you find this useful for your own developments...

QLLABEL Fonts.jpg


QBITS
Attachments
QLMinChar_fnt.zip
(398 Bytes) Downloaded 130 times


User avatar
Cristian
QL Wafer Drive
Posts: 1024
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: QL Tinkering

Post by Cristian »

Very nice font, thank you!


qbits
Gold Card
Posts: 261
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi All,

I’m glad you liked the Minchar_fnt Font Christian, on reflection I thought some would like a background to my efforts. So I’ve added a bit to my code for a front end screen presentation. Other pages can be added as and when!

The Fonts QLMinLABEL_fnt & QLMusic_fnt show some changes to QLMinChar_fnt and QLNotes_fnt ‘s
The Prog I’ve called QBITS_FONTS_Info_bas and for good measure included a copy of QBITS_FontEditSE_bas and its pdf.

Writing Fonts to screen you can type with direct Keys or use CHR$(n) n being a number between 128 & 191 the extended QL Font range. QBITS FontEditSE displays both Key: and CHR$(n) below the Bit Pattern Editor. I run two QPC2 Emulator displays on my wide Monitor Screen so I can check between them.

QBITS
Attachments
QL FONTS Info.jpg
QBITS_FONT_Info_bas.zip
(1.46 MiB) Downloaded 144 times


User avatar
Cristian
QL Wafer Drive
Posts: 1024
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: QL Tinkering

Post by Cristian »

The front-end... a great idea Qbits! Thank you again.
I wish I had your skills and speed in coding


User avatar
tofro
Font of All Knowledge
Posts: 3130
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL Tinkering

Post by tofro »

QBits:

I am always amazed by your clean and clear user interfaces, regardless what sort of program. The tiny font adds yet another angle to it.

They look really, really professional and have some sort of "typical QL touch" rather than trying to imitate modern GUIs. You should think about taking up GUI design as a profession.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
qbits
Gold Card
Posts: 261
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi all,

QBITS QL FontEditSE - I was never satisfied with the Copy arrangement of the BitMap Editor even more so after Steve brought to my notice the position of the Chevron keys on a AZERTY keyboard. While using the Font Editor of late to generate the _fnt files for QBITS FONTS Info Prog I had something of an epiphany! No not divine more of a sudden realisation, the answer was starring me in the face, well almost. I just had to copy four lines of code, delete three others and add some small changes. So simple to do…

The Update: Cursor keys navigate the Font Chart and selected Font is Outlined in a White box. You Press Spacebar to enter the Bitmap Editor. Here the chevron keys for Copy are now replaced with CTRL Cursor keys, this controls selection of a Chart Font outlined in a Red box. Enter copies this into the Bitmap Editor. All of the code necessary was already in place and this had the added advantage of seeing the Font to Copy without having to remember its ASCII code number.

I then occurred to me why not add a (S)wap option. Press Spacebar to enter the Bitmap Editor use the CTRL Cursor keys to highlight a second Font, Press ‘S’ and the two fonts are swapped and you return to navigating the Font Chart. Simples!

CopySwap.jpg

QBITS FONTS Info - Page One was small Fonts for LABEL’s Page Two for MUSIC Notes Rests Fonts etc for Score sheets, I have added a Third Page this looks at the use of Fonts in Clocks and Timeout displays. For Pages Two and Three I also took advantage of using the LABEL Fonts loaded for Page One. CHAR_USE with different Font set and installed with overlapping WINDOW Channels shows how you can enhance the Screen Presentation.

QBITS FONT Info.jpg

Cristian & tofro thank you for your comments, for speed of turnaround, am I a workaholic, an insomniac, or is it this crazy weather the Full Moons of late, there again it maybe my prescribed medication…. As for my computing skills there limited, it’s basically BASIC Oops! [Sorry for the pun] as for the screen presentations, well the secret is to keep things simple yet busy enough to keep you interest engaged. Hopefully!

I've updated and added a section to the QBITS_ FontEditSE doc with more details about the QBITS_FONTS_Info Pages.
All the Files including _fnts are contained in the zip.

QBITS
Attachments
QL FONTS INFO.zip
(1.67 MiB) Downloaded 143 times


User avatar
Cristian
QL Wafer Drive
Posts: 1024
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: QL Tinkering

Post by Cristian »

So professional and cool Qbits! Your passion is a gift for the QL community 8-)


Post Reply