In a Font Outlines file, what's a chunk?
Simon Willcocks (1499) 513 posts |
I’m trying to decrypt the file format information from the PRMs, and it seems to assume I should just know stuff… I think I get the general idea of scaffolding, an x scaffold is probably a vertical line at a given x, right? |
Clive Semmens (2335) 3276 posts |
Writing from memory (so E&OE) a Chunk is a block of 32 characters. (Possibly 16 or 64, but I think it’s 32.) Will post again later when I’ve checked – I have the information readily available at The Other Machine, |
Clive Semmens (2335) 3276 posts |
Memory served me correctly. That is, 32 characters (or vacancies where there could be characters, but in some fonts might not exist). |
Clive Semmens (2335) 3276 posts |
And about scaffolding: yes, exactly. |
Simon Willcocks (1499) 513 posts |
Thank you so much! I’m still very confused, but that will help when I get a chance to have a good look again, hopefully in a few days. I’ve been really frustrated by the Font Manager for a couple of months now… |
Clive Semmens (2335) 3276 posts |
I’ve never really got to grips with the Font Manager, but the font file format I did at one time understand pretty well. Then fonts got bigger…and I grasped the change enough to update my font editor ( http://clive.semmens.org.uk/RISCOS/XP1FontEd.html ) which complements rather than replacing Acorn’s. The original version of my font editor was pretty robust, and the updated version does most things to most fonts okay, but isn’t quite as robust any longer 8~( and can be made to fall over rather badly doing certain operations on ginormous fonts 8~( …maybe one day… |
Simon Willcocks (1499) 513 posts |
Oh, that’s a nice App! I’ve seen your website before, I think. I remember “Did you write the ARM ARM?” section. I’m not planning to edit any fonts (zero artistic ability), but the concept is beautiful: convert to a format an existing drawing tool can read to do the editing, then read the changes back in. (And bless the people who came up with the idea of app directories that can contain open source and, in this case, very readable BASIC!) You’ve given me much hope! Thanks. |
Clive Semmens (2335) 3276 posts |
Crikey. I don’t think anyone’s ever called my BASIC programs “readable” before! 8~) I sometimes struggle to read them myself… |
Simon Willcocks (1499) 513 posts |
It’s a thousand lines of code, made up of 64 short procedures with shortened but comprehensible names (the variables, too). Each procedure performs one task neatly and fits easily on a page. I don’t think BASIC programs get better than that. |