POV-Ray : Newsgroups : povray.binaries.images : Other things the text object can do. : Re: Other things the text object can do. Server Time
30 Mar 2025 23:22:11 EDT (-0400)
  Re: Other things the text object can do.  
From: Bald Eagle
Date: 25 Mar 2025 08:20:00
Message: <web.67e29f3a9216b80b6563700825979125@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> OK. Attached a sample image for many of the text{} updates coming in
> release R19 of the yuqk fork. Namely, new text{} features 'caps' and
> 'open' along with fixes for negative thickness specifications. Negative
> thickness becomes an OK thing to do and not something which only partly
> works.

This is really cool, and actually very useful.
I often need to apply text to an image, but have to juggle the color depending
upon what color/brightness the background is.  Now we can have 2 contrasting
colors in a single glyph so that it always shows up reasonably well.

It will be interesting to experiment with things like gradients and other
patterns.

Now that you're neck-deep in the font code, can you ramble on about what you've
discovered / know about?

How difficult would it be to access the fundamental Bezier spline control points
for ttf fonts?

Can you make text render a tight spline rather than a thick outline?  A
"center-line" font?

Are these things dependent on how the font is defined in the file?

- BW


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.