|
 |
hi,
Cousin Ricky <ric### [at] yahoo com> wrote:
> On 2025-12-25 05:58 (-4), jr wrote:
> > unsure if it is "in the spirit", but a "dedicated" font (preferred TTF) default,
> > for "post installation" ?
> I don't know what you mean by "dedicated." In current text{} syntax, a
> font is always specified, so there is no default font.
in context I mean(t):
#declare Defaults_Font = "timrom.ttf";
to allow use in those 'text{}'s.
> > [*] I am looking at it not as the first include in other include files but as an
> > "always load", ideally.
> I was thinking of this sort of construction in the scene description file:
>
> ---%<-----%<-----%<-----%<---[BEGIN CODE]---%<-----%<-----%<-----%<---
> #declare Default_Ambient = rgb 0.05;
won't fly. '#version' has to be first.
> ...
> As for '#version version;', the fundamental problem I have with this
> construct is that it leaves no indication which version of POV-Ray the
> scene file or include file is intended for.
in the 'defaults.inc' example that line comes before the guard, needed to avoid
an error. the version required by the code (for includes) is inside the guard.
for scene files (I guess) there'd be no difference.
regards, jr.
Post a reply to this message
|
 |