POV-Ray : Newsgroups : povray.advanced-users : A bunch of feature requests! : Re: A bunch of feature requests! Server Time
27 May 2024 06:48:20 EDT (-0400)
  Re: A bunch of feature requests!  
From: clipka
Date: 20 Jun 2010 12:36:55
Message: <4c1e43a7$1@news.povray.org>
Am 20.06.2010 18:22, schrieb SharkD:
> On 6/20/2010 11:03 AM, clipka wrote:
>> As for font-size-adjust, this can easily achieved in POV-Ray by relative
>> scaling; as for font-stretch, this can either be achieved by non-uniform
>> scaling (e.g. faux condensed or faux expanded), or by choosing the
>> appropriate font file (condensed or expanded font face, i.e. with
>> individually designed glyphs).
>
> You're mistaken. font-size-adjust tweaks fonts in ways we can't do in
> Povray without knowing font metrics - specifically the font's x height.

That's exactly why I did concede that - quote - "a proper way to /get/ 
font metrics is a prerequisite to implement macros providing 
higher-level text layout capability."

And it's also a great example of why the actual layout functionality 
doesn't belong inside POV-Ray: Hey, I'm a 3D enthusiast, not a font 
expert. All I know is that font-size-adjust uniformly scales the font, 
so to me it's essentially a scaling operation, and I don't bother where 
the factor comes from.

Leave 3D magic to the 3D geeks & POV-Ray developers, and font magic to 
the font geeks & SDL macro programmers.


Post a reply to this message

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