POV-Ray : Newsgroups : povray.binaries.utilities : Centred text utility : Re: Centred text utility Server Time
17 May 2024 19:18:56 EDT (-0400)
  Re: Centred text utility  
From: Jon Berndt
Date: 11 Jun 1998 16:55:28
Message: <01bd957b$4047b840$639728a1@1733773.unitedspacealliance.com>
You can use OWL (Borland/Inprise) to load any font. I have considered such
a programming project before, but I am glad you did it already. If I can
find more specific information when I get home I'll let you know. Or, we
could collaborate? I may take your source code provided in your message and
put it into Borland C++ Builder. That would make it much easier to add
features.

jon

PoD <pod### [at] merlinnetau> wrote in article <357### [at] merlinnetau>...
> I've just done a first draft of a utility to make centred text objects
> for POV-Ray using Windows TrueType functions to get the measurements.
> The problem is I can't figure out how to make an HFONT object in windows
> from a font file or how to find out which file is represented by an
> HFONT object, so this program only does Arial which comes with windows.
> If someone can tell me how to solve these problems, I'll start on a
> version that allows multiple fonts.


Post a reply to this message

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