POV-Ray : Newsgroups : povray.general : where is it? : Re: Kernig [was: where is it?] Server Time
8 Aug 2024 18:20:38 EDT (-0400)
  Re: Kernig [was: where is it?]  
From: David Fontaine
Date: 9 Nov 2000 23:18:08
Message: <3A0B76A7.64FFDDFC@faricy.net>
ingo wrote:

> and it's mutch older than I thought.
>
> It does exactly what I thought, but not what I hoped. Is there a way to
> get the kerning(?) of a text with a macro? Or does that need a patch (is
> it the total_offset in truetype.c)?
>
> I'd like to somehowe get an array with the minimal x-coordinate of each
> letter in a text-object. This for better placing text along an arc or
> curve. With fixed letter distances it look terrible, especialy, the in
> Dutch often used, "ij" combination. I'm trying to make a Pythonscript
> using the FreeType library, but it's still a bit above my powers :(

You can use min_extent and max_extent in MegaPOV, but that still won't give
true kerning in the sense that when letters fit together like puzzle pieces
their space should overlap some. I used this solution for the POV Userdisk
(that's not by any chance what you were talking about?).

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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