[squeak-dev] Rendering a text along an arc
karl ramberg
karlramberg at gmail.com
Tue Jan 1 20:13:56 UTC 2019
If you have true type fonts installed it should be possible to set the
TextMorph to that font.
The rendering is probably some bitmap warp method though.
Cheers,
Karl
On Tue, Jan 1, 2019 at 2:59 AM tim Rowledge <tim at rowledge.org> wrote:
>
>
> > On 2018-12-31, at 4:39 PM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
> >
> > Hi Karl,
> >
> > thanks very much. With your fixes I can indeed get a text to follow
> an arc.
>
> Amongst all the 'fun' of fixing bugs in things like ServerDirectory it's
> so easy to forget how mind-crogglingly cool some of the things we can do
> are. Looking at the code of TextOnCurve I'd say that the dependence upon
> using Warpblt would require using bitmap characters, though it *should* be
> practical to use a TTFont to render a suitable font glyph. Not quite what
> you were asking for but maybe close enough?
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> ..... REALITY.SYS Corrupted - Unable to recover Universe
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190101/2109e105/attachment.html>
More information about the Squeak-dev
mailing list
|