POV-Ray : Newsgroups : povray.general : How to display text in UNIX (Linux)? Server Time
28 Nov 2024 17:51:56 EST (-0500)
  How to display text in UNIX (Linux)? (Message 1 to 7 of 7)  
From: Marvin
Subject: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 04:15:01
Message: <web.454b07b17a3ca2b5bb7e57280@news.povray.org>
Hello,

I've tried my best, and I was searching through docs, but it is only
explained for Windows.

1. How to display text in UNIX (Linux)?
   1a. Which naming convention is required for fonts?
   1b. How to use non-ttf fonts and is it possible at all?
2. How to display text on Mac OS X?
3. How to make text display universal, despite the fact that fonts have
different locations and aliases on various systems?

Many thanks in forward,
Marvin


Post a reply to this message

From: Meothuru
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 06:50:00
Message: <web.454b2cb25db3633de340b2aa0@news.povray.org>
"Marvin" <mto### [at] grfhr> wrote:
> Hello,
>
> I've tried my best, and I was searching through docs, but it is only
> explained for Windows.
>
> 1. How to display text in UNIX (Linux)?
>    1a. Which naming convention is required for fonts?
>    1b. How to use non-ttf fonts and is it possible at all?
> 2. How to display text on Mac OS X?
> 3. How to make text display universal, despite the fact that fonts have
> different locations and aliases on various systems?
>
> Many thanks in forward,
> Marvin

Displaying the text in a textshell, a Windowmanager(fvwm, Blackbox,
Afterstep etc.) or in a Desktop (KDE, Gnome) ?

By a programm(in wich programming language?) or a script(Shellscript
or script languages like Perl, Python etc.) ?


Post a reply to this message

From: Bill Pragnell
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 12:00:01
Message: <web.454b74045db3633d731f01d10@news.povray.org>
"Marvin" <mto### [at] grfhr> wrote:
> I've tried my best, and I was searching through docs, but it is only
> explained for Windows.
>
> 1. How to display text in UNIX (Linux)?
>    1a. Which naming convention is required for fonts?
>    1b. How to use non-ttf fonts and is it possible at all?
> 2. How to display text on Mac OS X?
> 3. How to make text display universal, despite the fact that fonts have
> different locations and aliases on various systems?

If you're talking about rendering text in povray using .ttf files, it should
be the same for all systems. I use Mac OS X, and I just copied all the font
files I wanted to use from the C:Windows/Fonts folder onto my Mac and
referenced them as "xxx.ttf" as I would under Windows. I don't think the
filename matters, so it would probably work fine even without the ttf
extension. I'm sure others can confirm/refute this... :)

(I never thought to look for the Mac fonts... I don't even know how they're
encoded...)

Bill


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 13:27:42
Message: <454b8a1e$1@news.povray.org>
Bill Pragnell wrote:
> If you're talking about rendering text in povray using .ttf files, it should
> be the same for all systems. I use Mac OS X, and I just copied all the font
> files I wanted to use from the C:Windows/Fonts folder onto my Mac and
> referenced them as "xxx.ttf" as I would under Windows. I don't think the
> filename matters, so it would probably work fine even without the ttf
> extension. I'm sure others can confirm/refute this... :)
> 
> (I never thought to look for the Mac fonts... I don't even know how they're
> encoded...)

<http://www.povray.org/documentation/view/3.6.1/762/>

	Thorsten


Post a reply to this message

From: povray
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 20:29:44
Message: <pan.2006.11.04.01.26.22.437434@localhost>
On Fri, 03 Nov 2006 04:11:13 -0500, Marvin wrote:

> 
> Hello,
> 
> I've tried my best, and I was searching through docs, but it is only
> explained for Windows.
> 
> 1. How to display text in UNIX (Linux)?
>    1a. Which naming convention is required for fonts?
>    1b. How to use non-ttf fonts and is it possible at all?
> 2. How to display text on Mac OS X?
> 3. How to make text display universal, despite the fact that fonts have
> different locations and aliases on various systems?
> 
> Many thanks in forward,
> Marvin

 cat somefile.txt

if it's more than a few lines then

 less somefile.txt

Or did I misunderstand your question entirely?   :o


Post a reply to this message

From: Marvin
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 23:00:01
Message: <web.454c0f245db3633d27ff4b5f0@news.povray.org>
povray <pov### [at] almostbestwebnet> wrote:
> On Fri, 03 Nov 2006 04:11:13 -0500, Marvin wrote:
>
> >
> > Hello,
> >
> > I've tried my best, and I was searching through docs, but it is only
> > explained for Windows.
> >
> > 1. How to display text in UNIX (Linux)?
> >    1a. Which naming convention is required for fonts?
> >    1b. How to use non-ttf fonts and is it possible at all?
> > 2. How to display text on Mac OS X?
> > 3. How to make text display universal, despite the fact that fonts have
> > different locations and aliases on various systems?
> >
> > Many thanks in forward,
> > Marvin
>
>  cat somefile.txt
>
> if it's more than a few lines then
>
>  less somefile.txt
>
> Or did I misunderstand your question entirely?   :o

Yes, but due to my fault. I did not specify that I am puzzled with text from
POV-Ray on Linux and Mac.

It turned out that it works, but I only have to copy .ttf file to current
directory, because +L won't include Library_Path with fonts on my machine.
(I don't have admin access currently on all systems where I render.)

Copying font is not elegant, but it seems to be transparent for all three
systems and working.

Thank you all for answers.

Marvin


Post a reply to this message

From: Warp
Subject: Re: How to display text in UNIX (Linux)?
Date: 3 Nov 2006 23:14:09
Message: <454c1391@news.povray.org>
Marvin <mto### [at] grfhr> wrote:
> Copying font is not elegant

  You can create soft links instead of copying the files as a "mid-elegant"
solution.

-- 
                                                          - Warp


Post a reply to this message

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