[cl-typesetting-devel] Placing text very specifically?
Peter Seibel
peter at gigamonkeys.com
Tue Jun 7 14:41:39 UTC 2005
On Jun 7, 2005, at 4:42 AM, Marc Battyani wrote:
> "Peter Seibel" <peter at javamonkey.com> writes:
>
>
>> I'm trying to build a logo by placing two words in very close
>> proximity. I'd like to use cl-typesetting rather than raw cl-pdf in
>> order to get the nice kerning. But I can't figure out how to
>> absolutely position the various bits of text. I'm sure there's an
>> easy way but I figure Marc or someone can explain it to me more
>> quickly than I find it be groveling through the source.
>>
>
> You can either use 2 draw blocks or add some fixed horizontal
> spacing with
> #'hspace (though it will be an expandable spacing) or add a h-
> spacing box:
> The spacing can even be negative.
Hmmm. I tried the two draw blocks but it seemed that if they
overlapped, one would occlude the other. I'll give this approach a
whirl.
> "Peter" (hspace 2) "Seibel" :eol
> "Peter" (hspace -2) "Seibel" :eol
> "Peter" (typeset::add-box (make-instance 'typeset::h-spacing :dx -10
> :max-expansion 0 :max-compression 0 :expansibility
> 0.0 :compressibility
> 0.0)) "Seibel" :eol
-Peter
--
Peter Seibel
Gigamonkeys Consulting
peter at gigamonkeys.com
www.gigamonkeys.com
More information about the cl-typesetting-devel
mailing list