[REBOL] Re: Proportional-spaced fonts with accent marks
From: carl:cybercraft at: 6-May-2002 19:30
Thanks Romano - that's nice. I didn't realise text faces were quite
that dynamic as I'm used to having to set aside space for them in a
layout to stop them being trimed when they're viewed.
On 06-May-02, Romano Paolo Tenca wrote:
> Hi Carl,
>> My biggest worry with this approach is you'll be making an awful
>> lot of faces, (one per word in your book), just to get their
>> length.
> You can always use the same faces:
> layout [
> word1: text no-wrap font-size 16
> word2: text no-wrap font-size 18
> ]
> for n 1 8 1 [
> word1/text: line1/:n
> word2/text: line2/:n
> word-w: max first size-text word1 first size-text word2
> append line-tabs 6 + word-w + last line-tabs
> ]
--
Carl Read