POV-Ray : Newsgroups : povray.general : Using the "built in" timrom.ttf font : Re: Using the "built in" timrom.ttf font Server Time
29 Jul 2024 08:20:02 EDT (-0400)
  Re: Using the "built in" timrom.ttf font  
From: David J Bush
Date: 11 May 2012 09:00:00
Message: <web.4fad0c7967dcceee6891e8c0@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 11/05/2012 04:27, David J Bush a écrit :
> > I use povray 3.6 under Debian Linux. I see timrom.ttf in the include directory,
> > but if I simply #include timrom.ttf I get an error, since this is not a text
> > file. But if I try to use the text command as follows
> >
> > text {
> > ttf "timrom.ttf" ...
> >
> > I get
> >
> > Parse Error: Cannot open font file.
> >
> > What did I miss? Thanks.
> >
> > David
> >
> >
>
>
> Please check your debian-installation: they might have moved the
> timrom.ttf out of the expected -L paths in system povray ini file.
> (traditional variation is /usr or /usr/local ... distro repackaging sucks)
>
> Quick fix: in your povray.ini ( $HOME/.povray/3.6/povray.ini IIRC), add
> line:
> -L<path to the directory where timrom.ttf is>
>
>
> I/O restriction might also be on the way, but it is something I never
> use. (I compile my povray myself, so I can disable it)

I appreciate your help!

When I use the verbose option, povray tells me, before it looks at the input
file, that it uses the library path /usr/share/povray/include, which contains
the ttf files and everything else I should need. I tried cyrvetic.ttf with the
same error. I even ran sudo povray to avoid any read restrictions. No change.

The documentation says "any [true type] font will do." How might I go about
installing some other ttf file?

If I have to, I could define my own "font" built from primitives, but talk about
a kludge! Everything else seems to work well. Could this really be a bug in the
Debian distro?


Post a reply to this message

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