POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0-x.freetype.2 : Re: POV-Ray v3.8.0-x.freetype.2 Server Time
14 Jun 2021 17:25:25 EDT (-0400)
  Re: POV-Ray v3.8.0-x.freetype.2  
From: clipka
Date: 17 Jan 2019 16:57:49
Message: <5c40fa5d$1@news.povray.org>
Am 17.01.2019 um 22:10 schrieb jr:

> mildly confused..  does this mean that the syntax will depend on whether the
> user chooses a 'sys' or 'ttf' font?

(Oops, I forgot the "String_of_Text".
But I suspect you didn't even notice, otherwise you should be more than 
just "mildly" confused...)

Maybe it's easier to grasp if I present the syntax as follows:

     TEXT_OBJECT:
       text {
         FONT_REFERENCE "Text_of_String"
         Thickness, <Offset>
         [OBJECT_MODIFIERS...]
         }

     FONT_REFERENCE:
       FILE_FONT_REFERENCE |
       INTERNAL_FONT_REFERENCE |
       SYSTEM_FONT_REFERENCE
     FILE_FONT_REFERENCE:
       ttf "font_file.ttf/ttc"
     INTERNAL_FONT_REFERENCE:
       internal Font_Number
     SYSTEM_FONT_REFERENCE:
       sys "Font_Name" [bold] [italic]

This new option, SYSTEM_FONT_REFERENCE, is all this particular version 
is about and all that I wanted to present in the post.


> is the 'cmap {}' construct only for ttf's,
> or has it been junked?  in all cases, will scene #version's less than 3.8
> continue to work as before?

All of these other things require more work in the FreeType version, so 
no comment there until I even have a clearer picture myself where I'll 
end up with them.


Post a reply to this message

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