QL Tinkering
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi Qbits, Dilwyn and All,
Here is the LF_bytes file omitted by inadvertance. Should all work ok now...? Sorry, Steve.
By the way, don't forget your magnifying glasees to read the tiny fonts !
Here is the LF_bytes file omitted by inadvertance. Should all work ok now...? Sorry, Steve.
By the way, don't forget your magnifying glasees to read the tiny fonts !
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi Folks,
Here is a screen shot of output, & enlargement. Press CTRL on your PC and roll with the mouse to zoom further....
As stated before, this was just an experiment done out of curiosity... CAPITALS show best ! Regards, Steve.
Here is a screen shot of output, & enlargement. Press CTRL on your PC and roll with the mouse to zoom further....
As stated before, this was just an experiment done out of curiosity... CAPITALS show best ! Regards, Steve.
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi All,
Here is a graphically designed experimental font, for any size of characters.
It would need justification routines for text-based uses though.
Just UNZIP and LRUN to see it operating, here for QPC2, (but also on 128ko).
Next to come, a much prettier version.... Regards, Steve.
Here is a graphically designed experimental font, for any size of characters.
It would need justification routines for text-based uses though.
Just UNZIP and LRUN to see it operating, here for QPC2, (but also on 128ko).
Next to come, a much prettier version.... Regards, Steve.
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi everybody,
Here's a scalable character enlarger that should work with any font you like.
UNZIP, LRESPR chans_code, then LRUN and watch the demo. Regards, Steve.
Here's a scalable character enlarger that should work with any font you like.
UNZIP, LRESPR chans_code, then LRUN and watch the demo. Regards, Steve.
Re: QL Tinkering
Hi,
Dilwyn: QBITS PROC QBPnt(ch%,ci%,cw%,cx%,cy%,Str$) Prints a string of characters set to a cw% char width which can be varied for different strings. As for Proportional spacing A-Z would probably remain the same ‘I’ being the only real contender, however with the lower-case characters these might be more manageable a b c b d e k m n o p q r s u v w x y z cw%=6 f i j l cw%=3 t cw%=5. These are using the default QL Fonts.
Had a look at your Prog and checked out your Font1 and Font2 you have already moved some characters ie f i j l t to reduce the spacing required. I guess not to dissimilar to the way you own Prog is setup QBPPrt is an adaptation of QBPrnt where selected characters can be given a different spacing. Using a simple SELect ON for set characters with a different cw% which I named pw% for proportional spacing.
QLXNarrow_fnt reduces most of the present 6 Pixel character widths to 5.
You have probably seen them before with Retro Game Headings in two colours. With a few lines of code and QLXLband_fnt Bitmaps with only the bottom half of the 0-9 and A-Z Characters you can enjoy stripped Heading.
QBITS_FontEditSE Plus incorporates Previous Font_Info pages on Small, Music and Timer fonts with an added Review Page showing QBITS PROC’s Bold, Character Spacing and Proportional Spacing.
Required Fonts: QLFontA_fnt : QLFontB_fnt :Aliens_fnt : Dino_fnt : Giro_fnt : QLNarrow_fnt
QLXLband_fnt : QLXCompact_fnt : QLXMUSUC_fnt : QLXTIMER_fnt
Additional Font sets: QLBold_fnt : QLRetroA_fnt : QLRetroB_fnt : QLXEmoticons_fnt
See QBITS_FontEditSE_Plus.zip
Steve tried Bold2 - Line 800:2 font1=CHAN_L(1,42) : fails ‘only arrays or strings may be indexed’
Dot_lookup_bas - I have a similar problem with CHAN_L on line 860:1; guess it’s a KEYWORD not in my QPC2 setup.
QBITS
Dilwyn: QBITS PROC QBPnt(ch%,ci%,cw%,cx%,cy%,Str$) Prints a string of characters set to a cw% char width which can be varied for different strings. As for Proportional spacing A-Z would probably remain the same ‘I’ being the only real contender, however with the lower-case characters these might be more manageable a b c b d e k m n o p q r s u v w x y z cw%=6 f i j l cw%=3 t cw%=5. These are using the default QL Fonts.
Had a look at your Prog and checked out your Font1 and Font2 you have already moved some characters ie f i j l t to reduce the spacing required. I guess not to dissimilar to the way you own Prog is setup QBPPrt is an adaptation of QBPrnt where selected characters can be given a different spacing. Using a simple SELect ON for set characters with a different cw% which I named pw% for proportional spacing.
QLXNarrow_fnt reduces most of the present 6 Pixel character widths to 5.
You have probably seen them before with Retro Game Headings in two colours. With a few lines of code and QLXLband_fnt Bitmaps with only the bottom half of the 0-9 and A-Z Characters you can enjoy stripped Heading.
QBITS_FontEditSE Plus incorporates Previous Font_Info pages on Small, Music and Timer fonts with an added Review Page showing QBITS PROC’s Bold, Character Spacing and Proportional Spacing.
Required Fonts: QLFontA_fnt : QLFontB_fnt :Aliens_fnt : Dino_fnt : Giro_fnt : QLNarrow_fnt
QLXLband_fnt : QLXCompact_fnt : QLXMUSUC_fnt : QLXTIMER_fnt
Additional Font sets: QLBold_fnt : QLRetroA_fnt : QLRetroB_fnt : QLXEmoticons_fnt
See QBITS_FontEditSE_Plus.zip
Steve tried Bold2 - Line 800:2 font1=CHAN_L(1,42) : fails ‘only arrays or strings may be indexed’
Dot_lookup_bas - I have a similar problem with CHAN_L on line 860:1; guess it’s a KEYWORD not in my QPC2 setup.
QBITS
- Attachments
-
- QBIts_FontEditSE_Plus_doc.pdf
- (1.92 MiB) Downloaded 66 times
-
- QBITS_FontEditSE_Plus.zip
- (24.54 KiB) Downloaded 68 times
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi Qbits,
CHAN_L is a DIY Toolkit routine by Simon Goodwin.
It was part of the Chans_code which needed to be LRESPRed prior to RUN.
Here it is again : Will try your font routines over the weekend.... Regards, Steve.
____________________
CHAN_L is a DIY Toolkit routine by Simon Goodwin.
It was part of the Chans_code which needed to be LRESPRed prior to RUN.
Here it is again : Will try your font routines over the weekend.... Regards, Steve.
____________________
Re: QL Tinkering
Hi,
Steve - Now I have it working had a play with your Dot_Lookup_bas. As you suggested messing with the sca variable I managed to get various Font sizes the lower ones a bit blurred, but changes to rd helped then showed other quirks as I scaled up. If I have it right your code is reading the Character bitmap and transposing the pixel dots to vector graphics filled circles then used to scale up.
Anyway, thanks to you I got inspired to add a Scalable Font to QBITS FontEditSE Plus. The Screen shots give some idea as to what I’m working towards. All I need now is an algorithm that will round off/ fill in the open corners as you scale up.
QBITS
Steve - Now I have it working had a play with your Dot_Lookup_bas. As you suggested messing with the sca variable I managed to get various Font sizes the lower ones a bit blurred, but changes to rd helped then showed other quirks as I scaled up. If I have it right your code is reading the Character bitmap and transposing the pixel dots to vector graphics filled circles then used to scale up.
Anyway, thanks to you I got inspired to add a Scalable Font to QBITS FontEditSE Plus. The Screen shots give some idea as to what I’m working towards. All I need now is an algorithm that will round off/ fill in the open corners as you scale up.
QBITS

Re: QL Tinkering
Hi,
Steve Ref: DOT_LookUp_bas
I hope you don’t mind but to better understand your coding I’ve reordered and revamped it a little.
Mainly addressing its Presentation etc. I think it now shows off better the potentials of your coding.
LRUN Hit any key from Intro page you get The Quick Brown Fox page Hit any key again you get the ASCI codes.
Keep hit any key takes you through Scaling Up of the ASCII code.
You mention a LEGO pattern this is connected to the Rd value ie Boldness if you like !
DOT_LookUp2_bas is my revamp! ZIp also contains latest QBIT_FontEditSE_bas
When you have time if you can give a onceover check I would be most greatful.
Some info in my previous post.
QBITS
Steve Ref: DOT_LookUp_bas
I hope you don’t mind but to better understand your coding I’ve reordered and revamped it a little.
Mainly addressing its Presentation etc. I think it now shows off better the potentials of your coding.
LRUN Hit any key from Intro page you get The Quick Brown Fox page Hit any key again you get the ASCI codes.
Keep hit any key takes you through Scaling Up of the ASCII code.
You mention a LEGO pattern this is connected to the Rd value ie Boldness if you like !
DOT_LookUp2_bas is my revamp! ZIp also contains latest QBIT_FontEditSE_bas
When you have time if you can give a onceover check I would be most greatful.
Some info in my previous post.
QBITS
- Attachments
-
- Progs to Download.zip
- (20.88 KiB) Downloaded 70 times
-
- Aurora
- Posts: 885
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Tinkering
Hi Qbits and tinkerers,
Thanks for your message. Do by all means modify the code as you wish.
It would be interesting to see how Dilwyn calculates character justification.... to try to adapt it to these graphically scaled-up fonts.
Will study your modifications tomorrow afternoon, when I have some spare time.
Well tinkered ! Regards, Steve.
______________________________
Thanks for your message. Do by all means modify the code as you wish.
It would be interesting to see how Dilwyn calculates character justification.... to try to adapt it to these graphically scaled-up fonts.
Will study your modifications tomorrow afternoon, when I have some spare time.
Well tinkered ! Regards, Steve.
______________________________
Re: QL Tinkering
Nothing clever about it. In the demo programs in the PROP package, a procedure called Setup_Proportional (called once only, before first use of the proportional font), just looks where the right hand edge of each character starts and records this as the number of bits wide for that character in the variable wide%, which is placed into the array prop%() - this is used to set CHAR_INC for each character width when printing. The minimum character width is set as 2 pixels for characters like spaces.stevepoole wrote: Mon Nov 11, 2024 7:08 pm It would be interesting to see how Dilwyn calculates character justification.... to try to adapt it to these graphically scaled-up fonts.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com