Questions about FZX

The place for codemasters or beginners to talk about programming any language for the Spectrum.
User avatar
Seven.FFF
Manic Miner
Posts: 283
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: Questions about FZX

Post by Seven.FFF » Tue Jul 24, 2018 10:43 pm

Yes, sorry. That’ll teach me to copy my own code without reading it or checking it’s the correct version.
0 x
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
seven-fff.com/blog

User avatar
Alessandro
Manic Miner
Posts: 235
Joined: Wed Nov 15, 2017 11:10 am
Location: Messina, Italy
Contact:

Re: Questions about FZX

Post by Alessandro » Tue Jul 24, 2018 11:24 pm

Seven.FFF wrote:
Tue Jul 24, 2018 10:43 pm
Yes, sorry. That’ll teach me to copy my own code without reading it or checking it’s the correct version.
No probs at all :) you showed me the right direction after all.

Now, there is only question 2 left...
1 x

User avatar
Seven.FFF
Manic Miner
Posts: 283
Joined: Sat Nov 25, 2017 10:50 pm
Location: USA

Re: Questions about FZX

Post by Seven.FFF » Wed Jul 25, 2018 1:42 am

In promotional FZX fonts, I define a few alternate width spaces: -1px, +1px, +2px, etc. Then I try to adjust my words with these spaces so they fit better on the character boundaries.

In this way, you can still use attributes to highlight words, and the variable spacing is not very noticeable.

Sometimes I even change the horizontal spacing for an individual letter, if this will make the character boundaries align.

Defining a blank char (space) in FZX only ever takes three extra bytes, even if it is the largest possible size of 16px wide and 256px high. So having alternate width spaces is a nice easy cheap thing to do.
0 x
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
seven-fff.com/blog

User avatar
Alessandro
Manic Miner
Posts: 235
Joined: Wed Nov 15, 2017 11:10 am
Location: Messina, Italy
Contact:

Re: Questions about FZX

Post by Alessandro » Tue Jul 31, 2018 10:16 am

Any ideas on how to implement FZX in ZX-Basic?
0 x

Post Reply